tcpdump mailing list archives

Re: Problems with two threads capturing on


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

2009/2/22 Guy Harris <guy () alum mit edu>


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" they both report packets being captured (in which case there's
probably either a problem with your program or with libpcap), or "yes" only
the one caputring on wlan0 reports packets (in which case it's probably a
problem with the way either the Linux wireless framework or your wireless
driver works)?


I meant: yes they both capture packets at the same time.

But, I already tried something similar since I tried a few times to do the
same with processes and they were working (both processes (on eth0 and
wlan0) were capturing packets).

Thnaks for the answers.

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


Current thread: