Re: [tcpdump-workers] libpcap's usbmon interfaces vs. usb ethernet devices

2009-03-19 Thread Guy Harris
On Mar 19, 2009, at 4:01 AM, Romain Francoise wrote: Subject: [PATCH] Change USB device prefix to 'usbmon' Ethernet USB devices (supported by the usbnet driver in Linux) are by default named 'usbX', which is also what libpcap uses for its usbmon pseudo-interfaces. To avoid this namespace conf

Re: [tcpdump-workers] Bug in libpcap: savefile.c / get_selectable_fd()

2009-03-19 Thread Shaked, Nitzan
Cool. I appreciate the comments, and agree to pretty much most of them. What's next? Realistically speaking, should I hold my breath for those changes? (Should I implement them and submit a patch?) One comment: while strictly speaking what you write below about the changes having to be done even

Re: [tcpdump-workers] Should we wait for release or start

2009-03-19 Thread Peter Volkov
В Чтв, 19/03/2009 в 12:53 +0300, Peter Volkov пишет: > [1] http://news.gmane.org/gmane.network.tcpdump.devel Of course that's wrong link. Correct is: http://article.gmane.org/gmane.network.tcpdump.devel/3474 -- Peter. signature.asc Description: Эта часть сообщения подписана цифровой подпи

[tcpdump-workers] libpcap's usbmon interfaces vs. usb ethernet devices

2009-03-19 Thread Romain Francoise
[I sent the following yesterday but it didn't reach the list so I'm resending with a different from address.] Hi, There's an unfortunate namespace conflict between the usbnet driver in Linux and libpcap's usbmon pseudo-interfaces: both use usbX names, which leads to surprising results when trying

Re: [tcpdump-workers] Bug in libpcap: savefile.c / get_selectable_fd()

2009-03-19 Thread Guy Harris
On Mar 19, 2009, at 2:39 AM, Shaked, Nitzan wrote: 2) I believe the current code doesn't have the notion of "non- blocking", which it doesn't have the notion of "I read only part of what was request, maybe half a packet, or half a header", ...and it would even need that if you got rid of buf

[tcpdump-workers] Should we wait for release or start backporting patches... or what?

2009-03-19 Thread Peter Volkov
Hi. There was quite a number of bugs fixed both in libpcap and tcpdump since last release. There was even announcement that new 4.0.1 and 1.0.1 will be released very shortly [1] but as I see no release happened since that time. So my question is should we wait for next release (when does it happen?

Re: [tcpdump-workers] Bug in libpcap: savefile.c / get_selectable_fd()

2009-03-19 Thread Shaked, Nitzan
Hello again Thanks for the reply. With your permission, I'd like to keep this up a little bit (I am actually quoting not in the original order, to cover the "easy" part first): > If that means that you can't tell the difference between "end of file > on the pipe", "no more packets available righ