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.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux