/usr/sbin/massagevendor is in arpwatch 2.1a15-1.2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/bin/sh
# @(#) $Id: massagevendor,v 1.3 2004/01/28 19:32:24 leres Exp $ (LBL)
#
# - Massage:
#
# http://standards.ieee.org/regauth/oui/oui.txt
#
# into ethercodes.dat format.
#
# - Deal with duplicates in oui.txt (concatenate company names)
#
export AWKPATH="$AWKPATH:/usr/lib/arpwatch"
(sed -n \
-e 's/^\([0-9A-F][0-9A-F]\)-\([0-9A-F][0-9A-F]\)-\([0-9A-F][0-9A-F]\) *(hex)[ ]*\(..*\)/\1\2\3 \4/p' \
$* | \
awk -f euppertolower.awk | \
sed -n \
-e 's/^\([0-9A-Za-z][0-9A-Za-z]\)\([0-9A-Za-z][0-9A-Za-z]\)\([0-9A-Za-z][0-9A-Za-z]\)[ ]\(.*\)$/\1:\2:\3 \4/' \
-e 's/^0//' -e 's/:0\([0-9A-Za-z]\)/:\1/g' -e p | \
sort | \
awk -f duplicates.awk ) | \
awk -f p.awk | \
sort
|