/usr/sbin/bihourly is in arpwatch 2.1a15-1.1.
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 24 25 26 27 28 29 | #!/bin/sh
# @(#) $Header: bihourly,v 1.1 96/11/07 17:39:23 leres Exp $ (LBL)
#
# bihourly arpwatch job
#
PATH=$PATH:/usr/local/sbin
export PATH
#
cd /var/lib/arpwatch
#
list=`cat list`
cname=`cat cname`
errs=`tempfile -p arpbh -s .tmp`
#
alist=""
for r in $list; do \
arpfetch $r $cname > $r 2> $errs
if test -s $errs; then
echo "arpfetch $r failed:"
sed -e 's/^/ /' $errs
continue
fi
alist="$alist $r"
done
#
rm -f $errs
arpsnmp $alist
#
exit 0
|