in reply to tcpdump: setting a conditional timeout

You could build your capturer with POE and POE::Component::Pcap, and then you can have precise control over timeouts, rates, and states, and even decode the packets on the fly.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: tcpdump: setting a conditional timeout

Replies are listed 'Best First'.
Re^2: tcpdump: setting a conditional timeout
by Fletch (Bishop) on Nov 19, 2004 at 19:32 UTC

    Be forewarned that POCO::Pcap is going to give you back the raw unparsed contents of the captured packets, not neatly parsed data like tcpdump does. You'll need to pull captured traffic apart using NetPacket::TCP and friends.