Sorry,i missed some steps in the following procedure:-
After,the above failure i have tried the another way to use "nth", add nth
as a Module as follows:-
[step missed] first store the " ipt_nth.h" to the "netfilter_ipv4"
directory.
then, i wrote a Makefile
----------------------------------------------------------------
obj-m += ipt_nth.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
-----------------------------------------------------------------------
then execute
#make
#insmod ./ipt_nth.ko
[step missed] make clean iptables.
[step missed] make and make install iptables.
Thanks
Vikrant