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] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 9 Jul 2008 15:10:20 +0000
From:	Kristof Provost <Kristof@...segv.be>
To:	Kevin Spiteri <kspiteri@...e.org>
Cc:	netdev@...r.kernel.org
Subject: Re: TCP checksum error on local device

On 2008-07-09 16:34:32 (+0200), Kevin Spiteri <kspiteri@...e.org> wrote:
> When I send TCP data from localhost to localhost (either on 127.0.0.1
> or on the public IP of the machine), the TCP checksum is wrong.
> 
I suspect this is intended and expected behaviour. The checksum is quite
useless as the packet never travels over the network and can't be
corrupted. 

The transmit code in net/ipv4/ip_output.c seems to mark packets for the
loopback interface with CHECKSUM_UNNECESSARY.

I guess the connection over loopback still carries the data like you'd
expect right?

Kristof

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ