arpwatch

Mark Hattam mark at dxradio.demon.co.uk
Fri Sep 26 01:11:40 PDT 2008


>On Sep 25, 2008, at 19:46, Mark Hattam wrote:
>
>>I did a
>>
>>sudo port install arpwatch
>>
>>and it installed arpwatch into /opt/local/sbin ... just the
>>executable, no directory.
>
>On my system, it installs these binaries:
>
>   ${prefix}/sbin/arpsnmp
>   ${prefix}/sbin/arpwatch
>
>Not sure why you're getting a single binary called "sbin".
>
>Could you show us the output of "port contents arpwatch"?

Sorry, I wasn't clear enough

it does install arpsnmp and arpwatch in /sbin/

Powerbook:/opt/local/sbin $ ls -la
total 1072
drwxr-xr-x   12 root      admin        408 Sep 26 08:20 .
drwxr-xr-x   12 root      admin        408 Jul 31 23:10 ..
-rw-r--r--    1 root      admin          0 Dec 17  2007 .turd_MacPorts
-rw-r--r--    1 root      admin        117 Sep 26 08:20 arp.dat
-rw-r--r--    1 root      admin        117 Sep 26 08:16 arp.dat-
-r-xr-xr-x    2 root      admin      29732 Sep 25 00:17 arpsnmp
-r-xr-xr-x    2 root      admin      34944 Sep 25 00:17 arpwatch
-rw-r--r--    1 markhatt  markhatt  342651 Sep 26 01:28 ethercodes.dat
-rwxr-xr-x    2 root      admin      15312 Aug  1 13:12 pwcheck
-rwxr-xr-x    2 root      admin      63504 Aug  1 13:12 saslauthd
-rwxr-xr-x    2 root      admin      23764 Aug  1 13:12 sasldblistusers2
-rwxr-xr-x    2 root      admin      19640 Aug  1 13:12 saslpasswd2

I put ethercodes.dat there as well as creating arp.dat



>
>>and without making a default (empty) arp.dat and without the ethercodes.dat
>>
>>It also didn't seem to complain about not installing libpcap which
>>seems to be a pre-requisite according to all the online documentation
>>about arpwatch. But arpwatch does seem to work regardless.
>
>arpwatch does not declare dependencies on any other software. I do 
>not know if this is correct.
>
>>It would also be helpful to put in how to generate a up-to-date
>>ethercodes.dat file, not least as I had to work out how to achieve
>>this
>>sh massagevendor /opt/local/sbin/oui.txt >/opt/local/sbin/ethercodes.dat
>>having downloaded the oui.txt from
>>http://standards.ieee.org/regauth/oui/oui.txt
>>
>>(or even generate an up to date ethercodes.dat file as part of the
>>port install)
>
>I don't see any tickets filed for arpwatch, so you should probably file some.



More information about the macports-users mailing list