lkml.org 
[lkml]   [1999]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem with tcpdump-3.4a6 & kernel-2.2.3
On Fri, Mar 26, 1999 at 04:01:52PM +0100, Simon Elbaz wrote:
> Hi,
> I have problems with the kernel-2.2.3.
>
> obelix:~# tcpdump -i eth0
> tcpdump: SO_ATTACH_FILTER: No such file or directory(2)
>
> whereas it seems to be operational under kernel-2.1.131.
> I have checked that my kernel allows socket filtering by enabling the
> option and recompiling it. But nothing has changed :-( !

You probably have the wrong includes for compiling libpcap. The libpcap
has to be compiled with the sock_fprog declaration from the
/usr/include/linux/filter.h of a 2.2.3 kernel. The sock_fprog declaration
in the lbl includes that are part of the libpcap distribution are
not binary compatible.


-Andi

--
This is like TV. I don't like TV.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.106 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site