packet drop

Varun Sharma vsdssd at gmail.com
Thu May 15 00:26:18 EDT 2014


Hi All,

I am sending packet between two back to back connected machine.when I
use same network (192.168.7.x) packet reach upto NF_IP_LOCAL_IN
(IPTABLES INPUT) hook.It is accepted.

But when I spoof ip address network(192.168.8.x) it pass
NF_IP_PRE_ROUTING hook but dropped before NF_IP_LOCAL_IN hook.

case 1:

192.168.7.12 --> 192.168.7.19         Accepted.

case 2:

 192.168.8.25 --> 192.168.7.19       Dropped.

I didn't get why it dropped ? How network change effect on routing
inside kernel tcp/ip stack ?

Regards
Varun



More information about the Kernelnewbies mailing list