Aviram Jenik wrote:
On Sunday 10 August 2003 09:42, Ran Milstein wrote:

Hi,
How can I get notification about a change in the ARP table ? is there a way
to register for a specific change ?


Search for "arpwatch" (comes with Redhat by default).



arpwatch is a daemon that uses pcap on the local Ethernet ports to listen for ARP packets and proccess them itself. It doesn't provide information on the internal ARP tables the kernel maintiains which Ran is intersted in.


You can get what you want by using netlink. "man 7 rtnetlink" and search for RTM_NEWNEIGH for the details.

And yes, it's supported in 2.2 :-)

Gilad



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to