Re: [tcpdump-workers] Problems with two threads capturing on

2009-02-22 Thread Johan Mazel
> > On Feb 20, 2009, at 1:46 AM, Johan Mazel wrote: > > I'm trying to use libpcap to capture packets on two interfaces (eth0 and >> wlan0). >> > > Linux, I presume? > You guess right: Ubuntu 8.10 and libpcap 0.9.8-5. :) > My problem is that packets are only captured in the wlan0 thread. >> >

Re: [tcpdump-workers] Problems with two threads capturing on

2009-02-22 Thread Guy Harris
On Feb 22, 2009, at 11:41 AM, Johan Mazel wrote: What happens if you run one instance of tcpdump capturing on wlan0 and another instance capturing on eth0? Do they both report packets being captured, or does just the one capturing on wlan0 report packets? Yes, I just checked. "Yes" the

Re: [tcpdump-workers] Problems with two threads capturing on

2009-02-22 Thread Johan Mazel
2009/2/22 Guy Harris > > On Feb 22, 2009, at 11:41 AM, Johan Mazel wrote: > > What happens if you run one instance of tcpdump capturing on wlan0 and >>> another instance capturing on eth0? Do they both report packets being >>> captured, or does just the one capturing on wlan0 report packets? >>

Re: [tcpdump-workers] Problems with two threads capturing on

2009-02-24 Thread Johan Mazel
I reran some test and apparently, the problem have disapeared. Thanks again for all the help. Johan 2009/2/22 Johan Mazel > 2009/2/22 Guy Harris > >> >> On Feb 22, 2009, at 11:41 AM, Johan Mazel wrote: >> >> What happens if you run one instance of tcpdump capturing on wlan0 and another in

[tcpdump-workers] Problems with two threads capturing on different interfaces

2009-02-20 Thread Johan Mazel
Hi I'm trying to use libpcap to capture packets on two interfaces (eth0 and wlan0). My problem is that packets are only captured in the wlan0 thread. Both threads are launched but I don't understand why the only active thread is the one on wlan0. I try to not launch the thread on wlan0 to check we

Re: [tcpdump-workers] Problems with two threads capturing on different interfaces

2009-02-20 Thread Guy Harris
On Feb 20, 2009, at 1:46 AM, Johan Mazel wrote: I'm trying to use libpcap to capture packets on two interfaces (eth0 and wlan0). Linux, I presume? My problem is that packets are only captured in the wlan0 thread. What happens if you run one instance of tcpdump capturing on wlan0 and a