This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Libpcap won’t capture multiple interfaces simultaneously.

0

Hello.

I have an application which uses libpcap and captures the traffic on multiple interfaces. I do have three interfaces eth0, eth1 and wlan0 . When my interface eth1 is down, libpcap works on eth0 as expected. But with eth1 on , it never works. If I enable eth0 and eth1 both then capture on eth1 works and on eth0 interface it wont works.

Any idea, on how to overcome this problem ?

Best yash

asked 18 Jan '13, 01:43

yash's gravatar image

yash
2334
accept rate: 0%

edited 18 Jan '13, 02:10

grahamb's gravatar image

grahamb ♦
19.8k330206

Not really a Wireshark question. You may be better off asking on the mailing list for libpcap here.

(18 Jan '13, 01:49) grahamb ♦

One Answer:

0

As noted, this isn't really a Wireshark question, it's a libpcap question.

The mailing list for libpcap questions is tcpdump-workers; as per grahamb's comment, information on the tcpdump.org mailing lists can be found here. (It's not a tcpdump question, either, but tcpdump-workers is, the name notwithstanding, a list for both tcpdump and libpcap.)

answered 01 Mar '13, 15:39

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%