when I run "make KERNEL_DIR=/usr/src/linux" it gets the right extensions:
Extensions found: IPv4:CLUSTERIP IPv4:layer7 IPv4:recent IPv6:ah IPv6:esp
IPv6:f
rag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
when I run "make KERNEL_DIR=/usr" it gets only IPv4:recent
I think for this reason I don't have layer7's module compiled.
I need help, step by step on how to fix the "error including kernel header
in userspace; use the glibc headers instead! make"
Hope some one can help.
Thanks
Rosario
----- Original Message -----
From: "Rosario Pingaro" <rpingar@xxxxxxxxxxx>
To: <netfilter@xxxxxxxxxxxxxxxxxxx>
Sent: Saturday, August 13, 2005 12:59 PM
Subject: compilation problem rhat el4
I would like to have the l7-filter funtionality on my redhat el4.
So I downloada the latest iptable-1.3.3 and the last patch from l7-filter
But trying to compile the patched files I get this error:
#error including kernel header in userspace; use the glibc headers instead!
make: *** [extensions/libipt_layer7_sh.o] Error 1
I found several posts about it without any useful solution.
In fact if I use "KERNEL_DIR=/usr" I get the header from userspace so
everything is compiled but not the layer7 module "libipt_layer7.so".
I checked if everything into the kernel (about packet filtering and layer7)
is activated, and there, everythings seems fine.
Just to note that "libipt_layer7.h" is not present on my system.
Where is my problem?
Thanks
Rosario