[tcpdump-workers] Multiple interface capture and thread safety status in libpcap

2012-05-10 Thread Wiener Schnitzel
Hi all, I need to perform packet sniffing on several interfaces at the same time. My natural approach would be to open a pcap_t object for each interface and place a "select" - considering Linux -call to deal with packet dispatching. My only constraint is that I have to treat the received pac

Re: [tcpdump-workers] Multiple interface capture and thread safety

2012-05-10 Thread Wiener Schnitzel
On 10.05.2012 16:59, ri...@happyleptic.org wrote: -[ Thu, May 10, 2012 at 04:43:50PM +0200, Wiener Schnitzel ] I need to perform packet sniffing on several interfaces at the same time. My natural approach would be to open a pcap_t object for each interface and place a "select" - c

Re: [tcpdump-workers] Multiple interface capture and thread safety

2012-05-11 Thread Wiener Schnitzel
On 11.05.2012 09:02, Guy Harris wrote: On May 10, 2012, at 7:43 AM, Wiener Schnitzel wrote: I need to perform packet sniffing on several interfaces at the same time. Are you processing packets from each interface independently, so that a packet on interface A is not looked at when processing