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:	Thu,  9 Oct 2014 17:04:22 +0200
From:	michele.dionisio@...il.com
To:	netdev@...r.kernel.org, yoshfuji@...ux-ipv6.org
Cc:	Michele Dionisio <michele.dionisio@...il.com>
Subject: [PATCH] ipv6: honour non local bind

From: Michele Dionisio <michele.dionisio@...il.com>


Hi all,

I see that net.ipv4.ip_nonlocal_bind = 1 does not works on ipv6 if you try to bind on not local ip.
An easy test to see the issue using python is:

set  net.ipv4.ip_nonlocal_bind = 1 and in python shell try to execute

import socket
s = socket.socket(family=socket.AF_INET6)
s.bind(('2a01:84a0:1001:A001:0000:0:0015:8', 1234))

you receive an error. In ipv4 it works.

The patch attached solve the issue

Michele Dionisio (1):
  ipv6: make ipv6 bind honour non local bind as IPV4

 net/ipv6/af_inet6.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.1.1

--
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