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

2009-04-07 Thread Shaked, Nitzan
ubject: Re: [tcpdump-workers] Bug in libpcap: savefile.c / get_selectable_fd() On Mar 19, 2009, at 5:56 AM, Shaked, Nitzan wrote: > What's next? Realistically speaking, should I hold my breath for those > changes? (Should I implement them and submit a patch?) Yes. I can't guarantee

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

2009-03-22 Thread Shaked, Nitzan
So just to be clear: should I, or shouldn't I, implement the solution I suggest below and submit a patch? -Original Message- From: Shaked, Nitzan Sent: Thursday, March 19, 2009 2:57 PM To: tcpdump-workers@lists.tcpdump.org Subject: RE: [tcpdump-workers] Bug in libpcap: savef

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

2009-03-19 Thread Shaked, Nitzan
org [mailto:tcpdump-workers-ow...@lists.tcpdump.org] On Behalf Of Guy Harris Sent: Thursday, March 19, 2009 12:34 PM To: tcpdump-workers@lists.tcpdump.org Subject: Re: [tcpdump-workers] Bug in libpcap: savefile.c / get_selectable_fd() On Mar 19, 2009, at 2:39 AM, Shaked, Nitzan wrote: > 2) I believe the curren

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

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

2009-03-17 Thread Shaked, Nitzan
Hello all I hope this mailing list is active, and that this is the right place to post to. In any case, I believe I have discovered a bug: get_selectable_fd() does not work well when used with pcap_open_offline(). The symptom is that if you use, as was the poet's intention, get_selectable_fd()