tcpdump mailing list archives

Having hard time creating my capture device


From: "Audet, Jean-Michel" <Jean-Michel.Audet () ca Kontron com>
Date: Wed, 22 Aug 2007 14:20:49 -0400

Hi, 

            I am currently implementing an I2c capture device within
libpcap using the aardvark i2c sniffer.  I have downloaded the
"unstable" version that include support for BlueTooth and USB.  This 2
device is my examples in order to complete my work. 

 

I have modified the configuration.in, makefile.in, created my
pcap-i2c-aardvark-linux files and add the required functions.   Now, I
am able within wireshark to get my device listed (with the function
pcap_platform_findevs).    When I select the interface menu, my device
is listed and I get calls to my function i2c_aardvark_stats_linux each
second which is good.   

 

My problem is when I am starting the capture.  My function close is
called then the find device loop starts, all the device (including
Ethernet, lo, ...) are re-open than close and is stuck in a loop.  Than
I got a message from Wireshark that the process just died. 

 

I notice that the capture interface with lo or ethX is not working also.

 

I have the unstable version... Is it the problem?  Are you aware of any
current problems?

 

Thanks for your help... I am trying to figure out what happen since more
than a day now!

 

Jean-Michel Audet

Kontron 

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


Current thread: