How Pinged me???
-
Hello, I´m a novice portuguese programmer and I trying do build one application that traces/shows the computers that pinged me, for good or bad reasons i dont care!. I want to put it in a log application. I just want do know how pinged me, know his/her ip, location,start and end of comunication, etc,etc. And i having dificulty on finding documentation on doing that. Can anyone can help me on this task? Thank you X|
-
Hello, I´m a novice portuguese programmer and I trying do build one application that traces/shows the computers that pinged me, for good or bad reasons i dont care!. I want to put it in a log application. I just want do know how pinged me, know his/her ip, location,start and end of comunication, etc,etc. And i having dificulty on finding documentation on doing that. Can anyone can help me on this task? Thank you X|
If you want to get traffic on your interface you have to put it into the promiscuous mode which is what you do when you're trying to create a sniffer.. Check this links, I've listed several articles that show you how to do this: http://www.codeproject.com/script/Forums/View.aspx?fid=1649&select=2448926&fr=26#xx2448926xx[^] After you have a sniffer, you just have to filter the data.. ICMP and stuff like that. But that should be quite easy.