Maurizio,
> You don't have to patch the kernel but only to compile, install
> and configure the 'noarp' module, to use your loopback interface
> filtering its arp reply.
If it had been working on the first shot, I would have said :
congratulations. A new method for the ARP issue without kernel
compilation, that's great. Unfortunately, noarp does not get compiled.
I'm using RH7.3 with kernel 2.4.18 and get the following errors :
8<---------------------------------------------------------------------
[root@lilas noarp-1.0.0]# make
gcc -O2 -g0 -Wall -Wstrict-prototypes -Wcast-align -c -I
/usr/src/linux/include noarp.c
In file included from /usr/src/linux/include/linux/config.h:4,
from /usr/src/linux/include/linux/linkage.h:4,
from /usr/src/linux/include/linux/kernel.h:11,
from noarp.c:36:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included
in userspace
In file included from /usr/src/linux/include/linux/skbuff.h:19,
from /usr/src/linux/include/linux/netfilter.h:7,
from noarp.c:39:
/usr/src/linux/include/linux/sched.h:571:25: asm/current.h: No such file
or directory
In file included from /usr/src/linux/include/linux/mm.h:23,
from /usr/src/linux/include/linux/skbuff.h:26,
from /usr/src/linux/include/linux/netfilter.h:7,
from noarp.c:39:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or
directory
In file included from /usr/src/linux/include/linux/highmem.h:5,
from /usr/src/linux/include/linux/skbuff.h:27,
from /usr/src/linux/include/linux/netfilter.h:7,
from noarp.c:39:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
In file included from /usr/src/linux/include/linux/netdevice.h:451,
from /usr/src/linux/include/linux/if_arp.h:26,
from noarp.c:44:
/usr/src/linux/include/linux/interrupt.h:45:25: asm/hardirq.h: No such
file or directory
/usr/src/linux/include/linux/interrupt.h:46:25: asm/softirq.h: No such
file or directory
noarp.c:49:25: asm/uaccess.h: No such file or directory
make: *** [noarp.o] Error 1
8<---------------------------------------------------------------------
BTW, is /lib/modules/`uname -r`/kernel/net/ipv4/ the "right" place to
copy the module to ?
Regards,
--
Sébastien Bonnet
Centre de contacts - Experian France
|