1 Index: arpwatch/arpsnmp.8
2 diff -u arpwatch/arpsnmp.8:1.1.1.1 arpwatch/arpsnmp.8:1.1.1.1.2.1
3 --- arpwatch/arpsnmp.8:1.1.1.1 Tue Apr 17 13:31:36 2001
4 +++ arpwatch/arpsnmp.8 Thu Aug 12 22:16:18 2004
28 reads information from a file (usually generated by
35 flag is used enable debugging. This also inhibits mailing the reports.
36 Instead, they are sent to
43 flag is used to set the ethernet/ip address database filename.
51 Index: arpwatch/arpsnmp.c
52 diff -u arpwatch/arpsnmp.c:1.1.1.2 arpwatch/arpsnmp.c:1.1.1.1.2.2
53 --- arpwatch/arpsnmp.c:1.1.1.2 Tue Aug 10 10:53:34 2004
54 +++ arpwatch/arpsnmp.c Tue Aug 10 11:14:13 2004
64 if ((cp = strrchr(argv[0], '/')) != NULL)
70 - while ((op = getopt(argc, argv, "df:")) != EOF)
71 + while ((op = getopt(argc, argv, options)) != EOF)
78 extern char version[];
85 (void)fprintf(stderr, "Version %s\n", version);
87 - "usage: %s [-d] [-f datafile] file [...]\n", prog);
88 + "usage: %s %s", prog, usage);
91 Index: arpwatch/arpwatch.8
92 diff -u arpwatch/arpwatch.8:1.1.1.1 arpwatch/arpwatch.8:1.1.1.1.2.2
93 --- arpwatch/arpwatch.8:1.1.1.1 Tue Apr 17 13:31:36 2001
94 +++ arpwatch/arpwatch.8 Thu Aug 12 22:31:09 2004
144 to listen for arp packets on a local ethernet interface.
150 flag is used enable debugging. This also inhibits forking into the
151 background and emailing the reports. Instead, they are sent to
158 flag is used to set the ethernet/ip address database filename.
166 flag is used to override the default interface.
173 on the same wire. If the optional
175 is not specified, the default netmask for the network's class is used.
181 flag disables reporting any bogons.
188 of reading from the network. In this case,
196 file must be created before the first time you run
201 .SH "REPORT MESSAGES"
202 Here's a quick list of the report messages generated by
203 Index: arpwatch/arpwatch.c
204 diff -u arpwatch/arpwatch.c:1.1.1.1 arpwatch/arpwatch.c:1.1.1.1.2.5
205 --- arpwatch/arpwatch.c:1.1.1.1 Tue Apr 17 13:31:36 2001
206 +++ arpwatch/arpwatch.c Sat Aug 14 02:33:07 2004
208 register char *interface, *rfilename;
209 struct bpf_program code;
210 char errbuf[PCAP_ERRBUF_SIZE];
238 - while ((op = getopt(argc, argv, "df:i:n:Nr:")) != EOF)
239 + while ((op = getopt(argc, argv, options)) != EOF)
256 extern char version[];
267 + "[-n net[/width]] "
276 (void)fprintf(stderr, "Version %s\n", version);
277 - (void)fprintf(stderr, "usage: %s [-dN] [-f datafile] [-i interface]"
278 - " [-n net[/width]] [-r file]\n", prog);
279 + (void)fprintf(stderr, "usage: %s %s", prog, usage);
282 Index: arpwatch/util.c
283 diff -u arpwatch/util.c:1.1.1.2 arpwatch/util.c:1.1.1.1.2.2
284 --- arpwatch/util.c:1.1.1.2 Tue Aug 10 10:53:34 2004
285 +++ arpwatch/util.c Fri Aug 13 00:06:49 2004
289 int initializing = 1; /* true if initializing */
293 /* syslog() helper routine */
295 Index: arpwatch/util.h
296 diff -u arpwatch/util.h:1.1.1.1 arpwatch/util.h:1.1.1.1.2.1
297 --- arpwatch/util.h:1.1.1.1 Tue Apr 17 13:31:37 2001
298 +++ arpwatch/util.h Fri Aug 13 00:06:49 2004
302 extern int initializing;