disabling udp checksum from user level

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

 



HI,
I am trying  IPSec in transport mode and doing SNAT and DNAT in between.
It is working if I disable the udp checksum on both receiver and sender.
now because in real scenario I will be having control only on one
machine so I want
1. To disable the checksum to be calculated when it sends the packet
out (I have achieved        this by using SO_NO_CHECK socket option)
and
2. To ignore it for incoming packets (I dont have any idea how to do
that may be with iptables, sysctl or any socket options).
Please provide some help in this regard.

-- 
Thanks
Pankaj Jain
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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