packet forward

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

 



hi,
   I want to forward an ICMP packet(using netfilter hooks)that I receive
from ping.For this Iam following these steps:

	1.Change the destination IP of the packet in the IP header.

	2.Recalculate the checksum of the IP header and fill it.

	3.change the /proc/sys/net/ipv4/ip_forward to 1

Are these steps complete and correct?Please correct me if Iam wrong.

Thanks in advance.
regards-
krishna.

-
: 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