disabling ip spoofing support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





hi

i m writing a small kernel module for a college project.wat i want to do
is that if the source address of the packet matches a particular ip and
the port is telnet i change the source address in the packet to my
address.i intercept the packet from net_rx_action in net/core/dev.c make
changes to the source address and checksum and then let the packet go up
the stack.But the packet is dropped all the time.Because i guess of a
check in the linux kernel that prevents packets with source address of the
host machine to go up the stack. this is to prevent ip spoofing. now i
want to bypass it. how do i do it?

thanks in advance

vaibhav
4th yr student
IIT Bombay

-- 



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux