I 'm using Check Point firewall based on a Linux distibution. I would like to collect only the arp table into netdb.
I modified the linuxscraper.pl with "arp -an" rather than "/user/bin/arp -a".
I have the following output :
netdb#/opt/netdb/netdbscraper/linuxscraper.pl -debug 5 -d my-checkpoint.fr,devtype=linux,arp,nomac -conf /etc/netdb.conf -om /tmp/mac.txt
...
Debug: ARP Entry: 10.10.225.15,00:00:0C:07:AC:0B,0,eth3-03.511,,my-checkpoint
Debug: ARP Entry: 10.10.225.1,00:10:DB:FF:21:50,0,eth3-03.511,,my-checkpoint
Debug: ARP Entry: 10.10.0.1,00:1C:7F:40:9B:F1,0,eth3-12,,my-checkpoint
linuxscraper.pl(28961): Writing Data to Disk on my-checkpoint.fr
But nothing in the /tmp/mac.txt
Do you have an idea to correctly import the arp table ?
Thank you.
Regards
Ju
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I 'm using Check Point firewall based on a Linux distibution. I would like to collect only the arp table into netdb.
I modified the linuxscraper.pl with "arp -an" rather than "/user/bin/arp -a".
I have the following output :
netdb#/opt/netdb/netdbscraper/linuxscraper.pl -debug 5 -d my-checkpoint.fr,devtype=linux,arp,nomac -conf /etc/netdb.conf -om /tmp/mac.txt
...
Debug: ARP Entry: 10.10.225.15,00:00:0C:07:AC:0B,0,eth3-03.511,,my-checkpoint
Debug: ARP Entry: 10.10.225.1,00:10:DB:FF:21:50,0,eth3-03.511,,my-checkpoint
Debug: ARP Entry: 10.10.0.1,00:1C:7F:40:9B:F1,0,eth3-12,,my-checkpoint
linuxscraper.pl(28961): Writing Data to Disk on my-checkpoint.fr
But nothing in the /tmp/mac.txt
Do you have an idea to correctly import the arp table ?
Thank you.
Regards
Ju
Hello Jonathan,
I 'm using Check Point firewall based on a Linux distibution. I would like to collect only the arp table into netdb.
I modified the linuxscraper.pl with "arp -an" rather than "/user/bin/arp -a".
I have the following output :
netdb#/opt/netdb/netdbscraper/linuxscraper.pl -debug 5 -d my-checkpoint.fr,devtype=linux,arp,nomac -conf /etc/netdb.conf -om /tmp/mac.txt
...
Debug: ARP Entry: 10.10.225.15,00:00:0C:07:AC:0B,0,eth3-03.511,,my-checkpoint
Debug: ARP Entry: 10.10.225.1,00:10:DB:FF:21:50,0,eth3-03.511,,my-checkpoint
Debug: ARP Entry: 10.10.0.1,00:1C:7F:40:9B:F1,0,eth3-12,,my-checkpoint
linuxscraper.pl(28961): Writing Data to Disk on my-checkpoint.fr
But nothing in the /tmp/mac.txt
Do you have an idea to correctly import the arp table ?
Thank you.
Regards
Ju
Hey,
You need to output arp instead of mac, so -oa /tmp/arp.txt. Add this to the end of your devicelist.csv:
my-checkpoint,nomac,arp,devtype=linux
I think that will do it.
Jonathan
Hello Jonathan.
It works perfectly ... Thank you !!
regards
Ju
Great to hear, it's nice knowing the program is flexible enough to pull off these sorts of tasks without much trouble.