I was wanting to write a program that would catch ARP cache poisons attempts. I was looking into ways to do this in python, I was just wondering what would be the best tactic and library to use? So far I was looking into command and subprocess library and parsing the text from tracert ( get IP of router ), and arp -n routers IP, and checking if it changes every minute or so but I think there is an easier way. Also this proggie will be open source so I will publish the code if you want. I know there are existing programs like this but one most are not open source, and this program will encompass more later, and two I want to learn the intricacies of programs like this.