[c-nsp] Getting ARP table from SNMP
Laurent Geyer
lgeyer at 085zehn.com
Tue Oct 17 12:04:14 EDT 2006
On 10/17/06, Joe Freeman <joe at netbyjoe.com> wrote:
>
> I'd be interested in seeing your code. I've been thinking about doing
> exactly this for awhile. I'd also thought about scraping the mac/port table
> from my switches so I could track specific mac addresses/ip addresses around
> the network.
>
> Joe
I got a bunch of requests to see what I got so here it goes:
http://laurent.085zehn.com/db_arpwatch/
Not much of a coder but I've tried to keep it somewhat clean and modular,
hope the comments are sufficient. I'm using MySQL to store all of my info
and you can find the schema for the tables you will need in the linked
directory.
The VLAN functions/stuff isn't necessary for this work but it was something
that I wanted to include for another script that I'm writing to find hosts
on my network. Feel free to rip it out.
I'm not finished with the CAM snarf stuff but if somebody wants to take a
look I can post that as well.
Cheers,
Laurent
More information about the cisco-nsp
mailing list