hi
I have mailed my problem earlier but nobody replied so i am sending it
again hoping some response this time.
I trying to configure iptables with kernel but because of some problem i
am not able to do so.
Some information that i want to give are:-
Operating system - Cent OS4 #My operating system on
which i am trying to do
Current kernel version- 2.6.9-11.EL #Result after running "uname
-r" command
Current iptables version - iptables v1.3.2 #Result after running
"iptables -V" command
-------------------------------------------------------------------
I have used the following command
--------------------------------------------------------------------
cd /usr/src/kernels
ls
2.6.9-11.EL-hugemem-i686 2.6.9-11.EL-smp-i686
2.6.9-11.EL-i686 2.6.9-5.0.3.EL-i686
cd ..
wget http://iptables.org/downloads.html#iptables-1.3.2
bzip2 -cd iptables-1.3.2.tar.bz2 | tar xvf -
cd iptables-1.3.2/
make KERNEL_DIR=/usr/src/kernels/2.6.9-11.EL-i686/
#Problem occured after running this command
Extensions found: IPv4:recent cc -O2 -Wall -Wunused
-I/usr/src/kernels/2.6.9-11.EL-i686//include-Iinclude/
-DIPTABLES_VERSION=\"1.3.2\" -fPIC -o extensions/libipt_ah_sh.o -c
extensions/libipt_ah.c In file included from
/usr/src/kernels/2.6.9-11.EL-i686//include/linux/netfilter_ipv4.h:8,from
/usr/src/kernels/2.6.9-11.EL-i686//include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ah.c:8:
/usr/src/kernels/2.6.9-11.EL-i686//include/linux/config.h:6:2: #error
including kernel header in userspace; use the glibc headers instead!
make: *** [extensions/libipt_ah_sh.o] Error 1
-------------------------------------------------------------------------------------
With regards
Vikrant