tcpdump mailing list archives

Re: Problems with two threads capturing on


From: Johan Mazel <johan.mazel () gmail com>
Date: Sun, 22 Feb 2009 20:41:00 +0100


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.


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.

Thanks for the answer.

Johan Mazel
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: