Re: Kernel 2.6.13 breaks libpcap (and tcpdump).

2005-09-04 Thread Patrick McHardy
Patrick McHardy wrote: Herbert Xu wrote: We aren't handling the reading of specific fields like the IP protocol field correctly. This patch should make it work again. I can't spot the problem, could you give me a hint? Never mind, I got it, we never fall through to the second switch state

Re: Kernel 2.6.13 breaks libpcap (and tcpdump).

2005-09-04 Thread Patrick McHardy
Herbert Xu wrote: We aren't handling the reading of specific fields like the IP protocol field correctly. This patch should make it work again. I can't spot the problem, could you give me a hint? I tried to move this logic into the new load_pointer function but it all came out messy so I sim

Re: Kernel 2.6.13 breaks libpcap (and tcpdump).

2005-09-04 Thread Herbert Xu
Andrew Morton <[EMAIL PROTECTED]> wrote: > >> Filter incoming data, looking for ICMP messages: >> >> tcpdump -f "ip proto \icmp" >> >> Well, that catches nothing. We aren't handling the reading of specific fields like the IP protocol field correctly. This patch should make it work again.

Re: Kernel 2.6.13 breaks libpcap (and tcpdump).

2005-09-02 Thread Andrew Morton
John McGowan <[EMAIL PROTECTED]> wrote: > > Kernel 2.6.13. Breaks libpcap. > > Fedora Core 2, gcc 3.3.3, Pentium III (933MHz) > > I had written about my dismay that traceproto and tcptraceroute > no longer worked and suspected that libnet was broken. > > It seems that it is libpcap that is broke

Kernel 2.6.13 breaks libpcap (and tcpdump).

2005-09-02 Thread John McGowan
Kernel 2.6.13. Breaks libpcap. Fedora Core 2, gcc 3.3.3, Pentium III (933MHz) I had written about my dismay that traceproto and tcptraceroute no longer worked and suspected that libnet was broken. It seems that it is libpcap that is broken by kernel 2.6.13 and tcpdump itself no longer works. Wel