-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsniffdet.conf.5
220 lines (215 loc) · 4.5 KB
/
sniffdet.conf.5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
.\" libsniffdet - A library for network sniffers detection
.\" Copyright (c) 2002
.\" Ademar de Souza Reis Jr. <[email protected]>
.\" Milton Soares Filho <[email protected]>
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.TH SNIFFDET 1 2002-11-28 "sniffdet manpage" "Remote Sniffer Detection Tool"
.SH NAME
sniffdet.conf - sniffdet configuration file
.PP
.SH DESCRIPTION
.PP
sniffdet.conf allows you to configure the way sniffdet performs its tests.
It's located in /etc by default and has various sections, all described
below.
.PP
.SH SYNTAX
.PP
The syntax is very simple. Each section has a name and is delimited by
brackets "{}". Inside the section, simple attributions are made to
variables.
.PP
Comments are started with "#" and can be located anywhere in the file.
Everything after a "#" is ignored by the parser until a line break.
.PP
Blank lines are ignored.
.PP
.SH EXAMPLE
.PP
An example of a configuration file follows (it's filled with some default
values from the current implementation of libsniffdet, but should not be
used in production enviroments. We strongly recommend that you create your
own config file to avoid identification of the tests by the sniffers.
.PP
Please notice the example below is not a complete config file. Every
test has almost the same variables, so we're not repeating all of
them here.
.PP
# snifdet example configuration file
.br
# http://sniffdet.sourceforge.net
.br
#
.br
# see sniffdet.conf (5) manpage
.br
.br
# global configuration
.br
global {
.br
verbose = 0;
.br
# this is one or a combination of FILE, STDOUT, STDERR, SYSLOG
.br
logtype = FILE;
.br
# want a log by default?
.br
logfile = "sniffdet.log";
.br
#plugins_dir = "/usr/lib/sniffdet/plugins";
.br
plugin = "stdout.so";
.br
# UID to use after dropping root privileges
.br
UID = 280;
.br
# GID to use after dropping root privileges
.br
GID = 280;
.br
iface = "eth0";
.br
fake_hwaddr = {0xff, 0x00, 0x00, 0x00, 0x00, 0x00};
.br
fake_ipaddr = "192.168.1.100";
.br
}
.br
.br
# icmp test variables
.br
icmptest {
.br
# interface per test not supported yet
.br
#iface = "eth0";
.br
timeout = 20; # secs
.br
tries = 10;
.br
interval = 1000 # msecs
.br
fake_hwaddr = {0xff, 0x00, 0x00, 0x00, 0x00, 0x00};
.br
}
.br
.br
# arp test variables
.br
arptest {
.br
# interface per test not supported yet
.br
#iface = "eth0";
.br
timeout = 20; # secs
.br
tries = 10;
.br
interval = 1000 # msecs
.br
fake_hwaddr = {0xff, 0x00, 0x00, 0x00, 0x00, 0x00};
.br
}
.br
.br
# dns test variables
.br
dnstest {
.br
# interface per test not supported yet
.br
#iface = "eth0";
.br
timeout = 20; # secs
.br
tries = 10;
.br
interval = 1000 # msecs
.br
fake_ipaddr = "10.0.0.10"
.br
fake_hwaddr = {0x46, 0x0f, 0xA4, 0x33, 0x11, 0xD1};
.br
sport = 22;
.br
dport = 22;
.br
# payload support not implemented in parser yet...
.br
#payload = "login: foobar";
.br
}
.br
.br
# latency test variables
.br
latencytest {
.br
# interface per test not supported yet
.br
#iface = "eth0";
.br
timeout = 300; # secs
.br
interval = 1500; # msecs
.br
# tcpflags supported: SYN, FIN, RST, ACK, PUSH and URG
.br
tcpflags = SYN;
.br
# payload support not implemented in parser yet...
.br
#payload = "";
.br
}
.br
# plugins specific options
.br
plugins {
.br
xmlplugin_filename = "xmloutput.xml"
.br
}
.br
# EOF
.PP
.br
.SH COPYRIGHT
Copyright (c) 2002-2003
Ademar de Souza Reis Jr. <[email protected]>
Milton Soares Filho <[email protected]>
.SH BUGS
- the parser is stupid and very senstive to syntax errors
- payload parser not implemented yet
.br
- multi-line support not implemented
.SH SEE ALSO
.BR sniffdet (1)
.BR libsniffdet (3)
.PP
.BR http://sniffdet.sourceforge.net