in reply to How to use raw socket by perl?
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to use raw socket by perl?
by JanneVee (Friar) on Sep 10, 2004 at 14:27 UTC | |
Re^2: How to use raw socket by perl?
by A_Banknote (Initiate) on Sep 11, 2004 at 02:31 UTC |