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
| ||
|
Date: Fri, 10 Oct 2014 09:23:28 +0200 From: Michele Dionisio <michele.dionisio@...il.com> To: Lukas Tribus <luky-37@...mail.com> Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "yoshfuji@...ux-ipv6.org" <yoshfuji@...ux-ipv6.org> Subject: Re: [PATCH] ipv6: honour non local bind I have tested the socket option and it is perfectly working but a lot of software does not use it and the option is linux specific. Now I have read the previous patch and all the email related. I see the reason to reject the previous patch, but this one does not add any new parameter that has to be mantained. It can be usefull to use the ipv4 parameter also because it is already used if ipv6 is IPV6_ADDR_MAPPED regards, and many thank's for you time to answer me. 2014-10-09 19:07 GMT+02:00 Lukas Tribus <luky-37@...mail.com>: > Hi Michele, > > >> 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 > > > This has been proposed in the past and refused: > http://marc.info/?t=132369669000005&r=1&w=2 > > You will have to set the available socket options from the application. > > > > Regards, > > Lukas > > > -- 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