Have a look at Net::PCap and Net::PCapUtils, two modules that are very good for sniffing packets, as they rely on the libpcap library. That library also has (very limited) packet injection capabilities, so you might actually find this enough for your needs.
If you have a BSD-based operating system, you might also find the other modules by Stephanie Wehner, Net::Divert and Net::ProxyMod helpfull, as they make modifying, injecting and sniffing packets very easy.
In reply to Re: How to use raw socket by perl?
by Corion
in thread How to use raw socket by perl?
by A_Banknote
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |