Menu

Support Linux arp tables

Help
2014-02-05
2014-02-06
  • CaledonSteve

    CaledonSteve - 2014-02-05

    Many of our internal gateways are Linux servers running IPTables rather than Cisco routers or ASA. Would you be able to include a scraper tp pull the arp tables from
    Linux?

     
  • Jonathan Yantis

    Jonathan Yantis - 2014-02-06

    Hey,

    I'm guessing the ssh code could log in, run arp -a and import the data fairly easily. I'll see if that's the case tomorrow if things are not too busy.

    Also as far as your Brocade issue, I'm going to see if I can get the guy who wrote the foundry scraper to respond since I'm not familiar with either platform.

    Jonathan

     
  • CaledonSteve

    CaledonSteve - 2014-02-06

    Thank you. I already received a reply regarding the Brocade/Foundry data.

     
  • Jonathan Yantis

    Jonathan Yantis - 2014-02-06

    No problem, Andrew is a busy student but he'll work with you when he can to get the Brocade scraper fixed up.

    As far as the linux scraper it was pretty simple. Depending on your distro, you may have to adjust the $arpcmd at the top of the scraper but I think this is what you need.

    https://sourceforge.net/p/netdbtracking/code/HEAD/tree/trunk/netdbscraper/linuxscraper.pl

    Put it in your /opt/netdb/netdbscraper/ directory, make sure you chmod +x it and add your linux servers to your devicelist.csv file like this:

    iptablesbox.domain.com,arp,devtype=linux

    Let me know how it goes. If there's a problem, run it like this:

    ./linuxscraper.pl -d iptablesbox.domain.com,arp -debug 5 -oa /tmp/arp.txt

    If it goes well I'll add this back to the mainline code.

    Jonathan

     
  • CaledonSteve

    CaledonSteve - 2014-02-06

    Thanks. That worked!

     
  • Jonathan Yantis

    Jonathan Yantis - 2014-02-06

    Great to hear, hope it helps. If you run in to any issues let me know and I'll tweak things.

    Jonathan

     

Log in to post a comment.