Programmatic use of ARP

那年仲夏 提交于 2019-12-08 21:19:25

Part of what you want to do requires some raw socket programming.

http://mixter.void.ru/rawip.html

The source for the linux arp command will give the rest of what you need. Here's a link:

http://www.comp.nus.edu.sg/~cs4236/readings/out/html/arp_8c-source.html

I recommend looking into arping which is doing a somewhat identical job. It takes IPs and MACs and tries to receive additional informationen. Or justs pings them.

http://freshmeat.net/projects/arping/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!