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  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:	Sun, 23 Sep 2007 12:39:36 +0800
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	olel@....pl (Krzysztof Oledzki)
Cc:	netdev@...r.kernel.org
Subject: Re: incorrect cksum with tcp/udp on lo with 2.6.20/2.6.21/2.6.22

Krzysztof Oledzki <olel@....pl> wrote:
> 
> It seems that after some not very recent changes udp and tcp packes 
> carring data send by a loopback have incorrect cksum:

This correct.  The loopback interfaces has the no checksum flag
set so we only provide a partial checksum on output (i.e., the
pseudoheader without the payload).

We even export this to user-space via a flag.  So you should fix
tcpdump to read this flag and ignore the checksum.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
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