Re: [tcpdump-workers] [Patch/Workaround?] pcap-usb-linux.c

2008-12-23 Thread Guy Harris
On Oct 30, 2008, at 10:25 AM, Tyson Key wrote: Hi Jean-Louis, just applied the patches and it compiles and installs successfully. Still looks like certain packets are being truncated (mostly URB_ISOCHRONOUS ones from what I can tell). Try it with an unpatched top-of-tree libpcap, as well a

Re: [tcpdump-workers] [Patch/Workaround?] pcap-usb-linux.c

2008-10-30 Thread Tyson Key
Hi Jean-Louis, I'm currently using the patched version of tcpdump/libpcap to capture traffic, and Wireshark to dissect/view it. I do intend to do capturing with Wireshark though, when I've got round to recompiling it against the new libpcap. Thanks. On Thu, Oct 30, 2008 at 6:18 PM, Jean-Louis <[EM

Re: [tcpdump-workers] [Patch/Workaround?] pcap-usb-linux.c

2008-10-30 Thread Jean-Louis
Jean-Louis ha scritto: Tyson Key ha scritto: Hi Jean-Louis, just applied the patches and it compiles and installs successfully. Still looks like certain packets are being truncated (mostly URB_ISOCHRONOUS ones from what I can tell). Thanks. now also the mmap mode have snaplen limitation...

Re: [tcpdump-workers] [Patch/Workaround?] pcap-usb-linux.c

2008-10-30 Thread Jean-Louis
Tyson Key ha scritto: Hi Jean-Louis, just applied the patches and it compiles and installs successfully. Still looks like certain packets are being truncated (mostly URB_ISOCHRONOUS ones from what I can tell). Thanks. now also the mmap mode have snaplen limitation... try to capture traffic wi

Re: [tcpdump-workers] [Patch/Workaround?] pcap-usb-linux.c

2008-10-30 Thread Tyson Key
Hi Jean-Louis, just applied the patches and it compiles and installs successfully. Still looks like certain packets are being truncated (mostly URB_ISOCHRONOUS ones from what I can tell). Thanks. On Thu, Oct 30, 2008 at 4:33 PM, Jean-Louis <[EMAIL PROTECTED]> wrote: > Tyson Key ha scritto: > >> H

Re: [tcpdump-workers] [Patch/Workaround?] pcap-usb-linux.c

2008-10-30 Thread Jean-Louis
Tyson Key ha scritto: Hi Jean-Louis, does libpcap compile with the supplied patch for you? It applied cleanly here, although I can't complete the ./configure phase (the error produced is below): ./pcap-usb-linux.c: In function 'usb_read_linux_mmap': ./pcap-usb-linux.c:708: error: 'clen' undeclare

Re: [tcpdump-workers] [Patch/Workaround?] pcap-usb-linux.c

2008-10-30 Thread Tyson Key
Hi Jean-Louis, does libpcap compile with the supplied patch for you? It applied cleanly here, although I can't complete the ./configure phase (the error produced is below): ./pcap-usb-linux.c: In function 'usb_read_linux_mmap': ./pcap-usb-linux.c:708: error: 'clen' undeclared (first use in this fun

Re: [tcpdump-workers] [Patch/Workaround?] pcap-usb-linux.c

2008-10-30 Thread Jean-Louis
Jean-Louis ha scritto: Jean-Louis ha scritto: today I have found some bug on pcap-usb-linux.c now i can try to tell you which are in accordance with usbmon.txt in "mmap mode" the data is at &mmap_area[vec[i]] + 64; rather than &mmap_area[vec[i]] + 48; with mmap ther'is 16Byte filled with