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]
Date:	Tue, 01 Apr 2014 17:30:31 +0800
From:	zhuyj <zyjzyj2000@...il.com>
To:	Paul Gortmaker <paul.gortmaker@...driver.com>
CC:	zhuyj <zyjzyj2000@...il.com>, linux-kernel@...r.kernel.org,
	netdev@...r.kernel.org
Subject: ipv6:remove ipv6 global address after the interface is down

Hi, Paul

With kernel 2.6.34.x, the following problem will appear.

  TargetA ------------------------- TargetB
3000::1/64 3000::2/64

  TargetA
    - bring the interface down by doing an "ifconfig eth1 down"
    - bring the interface back up by doing an "ifconfig eth1 up"

TargetB
    - ping6 3000::1
       ping6 succeeds the first time
    - after bringing the interface on TargetA down and then back up, 
ping6 to the interface fails.

With the latest mainline kernel(3.4+), this problem is resolved. When 
eth1 is down, ipv6 address and route item are removed.
But with kernel 2.6.34.x, when eth1 is down, ipv6 address remains while 
route item is removed.

So when eth1 is up and assign the previous ipv6 address, with 2.6.34.x, 
some errors will appear. But with latest mainline kernel, it can work well.

So I made a patch to fix this problem in kernel 2.6.34.x. Please merge 
this to kernel2.6.34.x.

Thanks a lot.
Zhu Yanjun

View attachment "0001-ipv6-remove-ipv6-global-address-after-the-interface.patch" of type "text/x-patch" (3209 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ