MAN page from Trustix arpwatch-2.1a11-6tr.i586.rpm
ARPWATCH
Section: Maintenance Commands (8)
Updated: 8 October 2000
Index NAME
arpwatch - keep track of ethernet/ip address pairings
SYNOPSIS
arpwatch[
-dN] [
-fdatafile] [
-iinterface]
[
-nnet[/
width]] [
-rfile]
DESCRIPTION
Arpwatchkeeps track for ethernet/ip address pairings. It syslogs activityand reports certain changes via email.
Arpwatchuses
pcap(3)to listen for arp packets on a local ethernet interface.
The-dflag is used enable debugging. This also inhibits forking into thebackground and emailing the reports. Instead, they are sent tostderr.
The-fflag is used to set the ethernet/ip address database filename.The default isarp.dat.
The-iflag is used to override the default interface.
The-nflag specifies additional local networks. This can be useful toavoid "bogon" warnings when there is more than one network runningon the same wire. If the optionalwidthis not specified, the default netmask for the network's class is used.
The-Nflag disables reporting any bogons.
The-rflag is used to specify a savefile(perhaps created bytcpdump(1)orpcapture(1))to read from insteadof reading from the network. In this case,arpwatchdoes not fork.
Note that an emptyarp.datfile must be created before the first time you runarpwatch.
REPORT MESSAGES
Here's a quick list of the report messages generated by
arpwatch(1)(and
arpsnmp(1)):
- new activity
- This ethernet/ip address pair has been used for the first time sixmonths or more.
- new station
- The ethernet address has not been seen before.
- flip flop
- The ethernet address has changed from the most recently seen address tothe second most recently seen address.(If either the old or new ethernet address is a DECnet address and itis less than 24 hours, the email version of the report is suppressed.)
- changed ethernet address
- The host switched to a new ethernet address.
SYSLOG MESSAGES
Here are some of the syslog messages;note that messages that are reported are also sysloged.
- ethernet broadcast
- The mac ethernet address of the host is a broadcast address.
- ip broadcast
- The ip address of the host is a broadcast address.
- bogon
- The source ip address is not local to the local subnet.
- ethernet broadcast
- The source mac or arp ethernet address was all ones or all zeros.
- ethernet mismatch
- The source mac ethernet address didn't match the address insidethe arp packet.
- reused old ethernet address
- The ethernet address has changed from the most recently seen address tothe third (or greater) least recently seen address.(This is similar to a flip flop.)
- suppressed DECnet flip flop
- A "flip flop" report was suppressed because one of the twoaddresses was a DECnet address.
FILES
/usr/operator/arpwatch - default directoryarp.dat - ethernet/ip address databaseethercodes.dat - vendor ethernet block list
SEE ALSO
arpsnmp(8),
arp(8),
bpf(4),
tcpdump(1),
pcapture(1),
pcap(3)
AUTHORS
Craig Leres of theLawrence Berkeley National Laboratory Network Research Group,University of California, Berkeley, CA.
The current version is available via anonymous ftp:
- ftp://ftp.ee.lbl.gov/arpwatch.tar.gz
BUGS
Please send bug reports to arpwatchAATTee.lbl.gov.
Attempts are made to suppress DECnet flip flops but theyaren't always successful.
Most error messages are posted using syslog.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- REPORT MESSAGES
- SYSLOG MESSAGES
- FILES
- SEE ALSO
- AUTHORS
- BUGS
This document was created byman2html,using the manual pages.