Re: Reg. Net::Pcap

2004-03-01 Thread WC -Sx- Jones
Balaji Thoguluva wrote: Hi Bill, I appreciate your ideas. I am the root of the system. As you say, it is not possible to catch packets simultaneously on more than one interface or all interfaces. But there are tools like tcpdump. tcpdump with -i option of 'any' can catch packets on all

Re: Reg. Net::Pcap

2004-03-01 Thread Balaji Thoguluva
Hi Bill, I appreciate your ideas. I am the root of the system. As you say, it is not possible to catch packets simultaneously on more than one interface or all interfaces. But there are tools like tcpdump. tcpdump with -i option of 'any' can catch packets on all interfaces. Even the

Re: Reg. Net::Pcap

2004-03-01 Thread WC -Sx- Jones
Balaji Thoguluva wrote: 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, loopba

Reg. Net::Pcap

2004-03-01 Thread Balaji Thoguluva
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

Reg. Net::Pcap open_live method

2004-02-28 Thread Balaji Thoguluva
Hi, I would like to know if Net::PCap::open_live() method can take 'any' as value for $dev argument. My intention is to catch packets that come on all network interfaces of a computer (especially on eth0 and lo, loopback interface). The prototype of open_live is Net::Pcap::open_live($dev,

Reg. Net::Pcap

2004-02-21 Thread Balaji Thoguluva
Hi, I would like to know if there is a way to get packets from already saved tcpdump output file (tcpdump -w DumpFile.dmp) using Net::Pcap library and thus parse each packet. I know that there is a function Net::Pcap::open_offline() that takes a savefile as input. But the savefile