Re: ARP table notification
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]
Re: ARP table notification
Ran Milstein wrote: Actually what I mean is not a user space program that handles the ARP table changes it self - I meant to ask if there is a way of getting notification from Linux ARP table in the kernel. man 7 rtnetlink: Rtnetlink allows the kernel's routing tables to be read and altered. It is used within the kernel to communicate between various subsystems 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]
RE: ARP table notification
Actually what I mean is not a user space program that handles the ARP table changes it self - I meant to ask if there is a way of getting notification from Linux ARP table in the kernel. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Aviram Jenik Sent: Sunday, August 10, 2003 10:17 AM To: Ran Milstein; Linux-Il Subject: Re: ARP table notification 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). -- It was only a one liner. A semi-illiterate chipmunk could've written it. -- MBY about his 2.5.73 kernel patch in tpam_queues.c - Aviram = 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] = 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]
ARP table notification
Hi, How can I get notification about a change in the ARP table ? is there a way to register for a specific change ? thanks, Ran. thanks, Ran. attachment: winmail.dat