massagevendor - Man Page
convert the ethernet vendor codes master list to arpwatch format
Synopsis
massagevendor | [-CdhvZ ] [--vendor ] [csv] |
Description
massagevendor is a program that converts a text file containing ethernet vendor codes into a format suitable for use by arpwatch(8) and arpsnmp(8). The input csv is a master CSV (comma-separated-value) file containing vendor codes. The output is sent to stdout.
All ethernet devices have a unique identifier which includes a vendor code specifying the manufacturer of the device. In normal operation arpwatch(8) and arpsnmp(8) use the file ethercodes.dat to report this vendor code. massagevendor is used to generate the ethercodes.dat file from CSV files containing these vendor codes.
Locations where an ethernet vendor codes master text file can be obtained are given below.
The -C
flag (default) uses compact padded ethernet addresses in ethercodes.dat, e.g. 0:8:e1:1:2:d6; this is the default.
The -d
flag is used to enable debugging.
The -v
flag is used to enable verbose messages.
The -Z
flag uses zero padded ethernet addresses in ethercodes.dat, e.g. 00:08:e1:01:02:d6.
The -h
flag shows a help message and exits.
The --version
option shows the program version number and exits.
Files
- /var/lib/arpwatch
default location of the ethernet vendor list
- ethercodes.dat
file containing the list of ethernet vendor codes
See Also
Notes
The ethernet vendor codes as assigned by the IEEE can be found at:
https://standards-oui.ieee.org/oui/oui.csv
Authors
Craig Leres of the Lawrence 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
This manual page was contributed by Hugo Graumann and updated by Benjamin Beasley.
Bugs
Please send bug reports to ⟨arpwatch@ee.lbl.gov⟩.