IP Defragmentation

2007-03-07 Thread Kanhu Rauta
Hi list, I am using kernel 2.6.20.1. I have written a module,which will register a function at local_in hook, i have found a strange behavior with the packets getting in my callback function i.e [let say i am sending 1500 bytes to this machine from the network] ping -s 1500 1>in case of fragme

Problem With LOCAL IN HOOK

2007-03-06 Thread Kanhu Rauta
Hi list, I am writing a simple loadable module which will a register a function in NF_IP_LOCAL_IN hook .But observed different behavior in 2.4 and 2.6 kernel. a> in 2.4 kernel, my function gets the assembled packet (in case of fragmentation). static struct nf_hook_ops test_forwarder = { { NULL