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-next>] [day] [month] [year] [list]
Message-ID: <20081125042752.GA4085@x200.localdomain>
Date:	Tue, 25 Nov 2008 07:28:57 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	netdev@...r.kernel.org
Subject: more info on ipsec-related invalid trusize

http://bugzilla.kernel.org/show_bug.cgi?id=10996
http://marc.info/?l=linux-netdev&m=122641698504902&w=2

SKB BUG: Invalid truesize (344) len=134, sizeof(sk_buff)=216

This correlates with ping6 the box to death with the following IPsec
configuration and entering/leaving tcpdumping on the other end.

Numbers are always the same.

It _looks_like_ IPv4 ping is fine, but I haven't experimented much.


#!/usr/sbin/setkey -f
flush;
spdflush;

add 192.168.0.1 192.168.0.42 ah 15700 -A hmac-md5 "1234567890123456";
add 192.168.0.1 192.168.0.42 esp 15701 -E 3des-cbc "123456789012123456789012";

add 192.168.0.42 192.168.0.1 ah 24500 -A hmac-md5 "1234567890123456";
add 192.168.0.42 192.168.0.1 esp 24501 -E 3des-cbc "123456789012123456789012";

spdadd 192.168.0.42 192.168.0.1 any -P out ipsec
	esp/transport//require
	ah/transport//require;

spdadd 192.168.0.1 192.168.0.42 any -P in ipsec
	esp/transport//require
	ah/transport//require;

# ipv6
add -6 fe80::218:f3ff:fea2:9f90 fe80::21b:38ff:feaf:2249 ah 4242 -A hmac-md5 "1234567890123457";
add -6 fe80::218:f3ff:fea2:9f90 fe80::21b:38ff:feaf:2249 esp 4243 -E 3des-cbc "123456789012123456789012";

add -6 fe80::21b:38ff:feaf:2249 fe80::218:f3ff:fea2:9f90 ah 4244 -A hmac-md5 "1234567890123457";
add -6 fe80::21b:38ff:feaf:2249 fe80::218:f3ff:fea2:9f90 esp 4245 -E 3des-cbc "123456789012123456789012";

spdadd fe80::21b:38ff:feaf:2249 fe80::218:f3ff:fea2:9f90 any -P out ipsec
	esp/transport//require
	ah/transport//require;

spdadd fe80::218:f3ff:fea2:9f90 fe80::21b:38ff:feaf:2249 any -P in ipsec
	esp/transport//require
	ah/transport//require;
--
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