lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 07 May 2011 15:38:36 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Alexander Clouter <alex@...riz.org.uk>,
	"Wu, Xia" <xia.wu@...el.com>
Cc:	linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org
Subject: Re: How to disable TCP checksum calculation?

Le samedi 07 mai 2011 à 08:28 +0100, Alexander Clouter a écrit :


> Wu, Xia <xia.wu@...el.com> wrote:
> >
> > I'm studying TCP transporting efficiency. Now I want to disable TCP 
> > checksum calculation, but I cannot find the right way to disable it. 
> > Who can give me a help on how to disable TCP checksum on Linux?
> > 
> Look at using TCP checksum offloading to see the effects:
> 
> http://en.wikipedia.org/wiki/TCP_Offload_Engine
> 
> ----
> berk:/home/alex# ethtool -k eth0
> Offload parameters for eth0:
...


Not sure what We meant here. TCP standard requires checksums to be set,
you cannot 'disable it'. Only possible thing in linux stack is to
offload tcp checksum computation to network card, if hardware permits
it.

By the way, the loopback interface (lo) pretends to support this
feature, so we dont compute tcp checksums for loopback.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ