Hi, I don't think the packet is injected into PRE_ROUTE when you send packet to local loopback. check loopback.c to be sure , it does differently. I hope your registering of module is fine though.
-Prasad On 7/11/07, Rajendra Stalekar <[EMAIL PROTECTED]> wrote:
Hi, The problem in hand is I have a registered a Netfilter hook function wherein I am using loopback address and I am checking with my saddr i.e. If (sb->nh.iph->saddr == *(unsigned int *)drop_ip) wherein my drop_ip is the loopback address , I find that my saddr is not able to capture the loopback address 127.0.0.1 whenever I am sending a message on a IP messenger which is a utility meant to converse within the network. I checked the logs. What could be the problem. This utility is windows based, but I don't think this would make any difference. This is just a module which I have made and done insmod hook1.ko, where my code lies. I am herewith attaching the code that I have written. Regards, Rajendra Stalekar(extn 2016) Location:- Akruti Mobile no:- +91 9860501143
