What Libs should i use to write a packet sniffer in perl

Posted by Mouseroot on Stack Overflow See other posts from Stack Overflow or by Mouseroot
Published on 2010-04-30T19:23:23Z Indexed on 2010/04/30 19:27 UTC
Read the original article Hit count: 277

Filed under:
|
|

I basicly want to write a small packet sniffer in perl im using ubuntu 9 im basically looking to sniff all packets on my nic and return data such as source and destination address as well as the data i looked into Net::Write::Layer2 but i could never get it to run as it says it cannot find the required libs and i cannot find the dependents adn that lib is for writeing data and not accepting it ive read that i should use libpcap but no good examples are available i basicly just need to know what lib i should use and ill find a example/tutorial on using said lib Thanks in Advance

© Stack Overflow or respective owner

Related posts about perl

Related posts about packet-sniffers