Re: [tcpdump-workers] pcap_next/pcap_dispatch on VMware vmnet device

2009-03-09 Thread Chris Morgan
On Mon, Mar 9, 2009 at 7:51 PM, Guy Harris wrote: > > On Mar 9, 2009, at 4:10 PM, Chris Morgan wrote: > >> Opening a live capture as root (using sudo), on a vmware bridge device >> on Linux 2.6.27, using a timeout of 1000ms. I'm seeing pcap_next() and >> pcap_dispatch() getting stuck reading, no t

Re: [tcpdump-workers] pcap_next/pcap_dispatch on VMware vmnet device not timing out

2009-03-09 Thread Guy Harris
On Mar 9, 2009, at 4:10 PM, Chris Morgan wrote: Opening a live capture as root (using sudo), on a vmware bridge device on Linux 2.6.27, using a timeout of 1000ms. I'm seeing pcap_next() and pcap_dispatch() getting stuck reading, no timeouts are occurring. Is there a robust and efficient way of

[tcpdump-workers] pcap_next/pcap_dispatch on VMware vmnet device not timing out

2009-03-09 Thread Chris Morgan
Opening a live capture as root (using sudo), on a vmware bridge device on Linux 2.6.27, using a timeout of 1000ms. I'm seeing pcap_next() and pcap_dispatch() getting stuck reading, no timeouts are occurring. Is there a robust and efficient way of reading packets that won't block forever like this?