[pso] [Tema5][Lin]Inet vs IP
Alexandru Stefan
alexandru.stefan at cti.pub.ro
Tue May 17 18:06:20 EEST 2011
Salut,
In timp ce scriam la tema am dat peste urmatoarea problema: ma gandeam sa
inregistrez hook-ul la nivelul NF_IP_LOCAL, dar am dat peste urmatoarea
problema
la compilare:
"
root at spook:/home/student/tema5# make
make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-headers-2.6.35.10-so-so2'
CC [M] /home/student/tema5/ipfirewall.o
/home/student/tema5/ipfirewall.c:49: error: ‘NF_IP_LOCAL_IN’ undeclared here
(not
in a function)
/home/student/tema5/ipfirewall.c:57: error: ‘NF_IP_LOCAL_OUT’ undeclared here
(not in a function)
make[2]: *** [/home/student/tema5/ipfirewall.o] Error 1
make[1]: *** [_module_/home/student/tema5] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35.10-so-so2'
make: *** [kbuild] Error 2
"
Sapand un pic, am descoperit ca problema ar trebui sa fie la nivelul makefile-
ului.
Ideea e ca nu am inteles de ce si in laborator s-a folosit un hook la nivelul
INET in loc de IP.
Mersi!
Alex Stefan
More information about the pso
mailing list