Hi,
I would like to know if Net::Pcap::open_live($dev, $snaplen, $promisc, $to_ms, \$err))
method can take 'any' as value for $dev argument. My intention
> is to catch packets that come on all network interfaces of a computer >(atleast I want from eth0 and lo, loopback interface). I have also tried >$promisc = 1. It doesn't seem to catch packets on all interface. I would > appreciate your ideas.
Thanks,
Balaji
two possible issues -
One, you must be root on most systems to see raw packets or to evenplace the interface into promiscuous mode.
Two, you can only look at one interface at a time.
But, yes, the $dev param can be set to any correct interface. As far as the detail of packets - how do you set the verbose-ness of the interface?
-Bill- __Sx__________________________________________ http://youve-reached-the.endoftheinternet.org/
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>