RE: can perl program do this?

2008-07-31 Thread Thomas Bätzler
Richard Lee <[EMAIL PROTECTED]> asked: [Full quote deleted. Please quote only the relevant parts of the mail you're replying to. Thank you!] > but I am interested in grepping out the pcap file so I cannot > simply just do grep Please use some common sense. You can't use Net::Pcap on host X to p

Re: can perl program do this?

2008-07-31 Thread Richard Lee
Rob Coops wrote: Ah, I see... I think you have been misled by the name of the Net::Pcap lib, the lib is meant to produce the file you are trying to poke around in. I would do the follwoing. * Use Net::SSH or similair to connect to the remote machine. * On the remote machine use gre

Re: can perl program do this?

2008-07-31 Thread Rob Coops
Ah, I see... I think you have been misled by the name of the Net::Pcap lib, the lib is meant to produce the file you are trying to poke around in. I would do the follwoing. - Use Net::SSH or similair to connect to the remote machine. - On the remote machine use grep or similair to pull ou

Re: can perl program do this?

2008-07-31 Thread Richard Lee
Rob Coops wrote: If you can make Net::Pcap connect to a remote server things will work fine, I am not sure about using Net::Pcap to do this as I never used it and from the description it seems to be a packet capture lib not so much a communication one, but as I said if you can make it reach out

Re: can perl program do this?

2008-07-31 Thread Rob Coops
If you can make Net::Pcap connect to a remote server things will work fine, I am not sure about using Net::Pcap to do this as I never used it and from the description it seems to be a packet capture lib not so much a communication one, but as I said if you can make it reach out and talk to the othe