ipv6: allow nonlocal_bind for ipv6 addresses

view story

http://ubuntu.5.x6.nabble.com – Hi, We've encountered a problem when migrating services that uses vrrpd (for example) to IPv6 (dualstack), a nonlocal_bind problem to be exact, for IPv4 there's a sysctl-setting that allows us to bind to addresses that are not configured on the host directly. I'm aware that there's freebind and ip_transparent options to setsockopt() but changing all the services's code would have been a larger task than implementing the nonlocal_bind option for IPv6 in the kenrel. The patch is done for kernel 3.5, so for 3.2 (Ubuntu 12.04 LTS) the patch from Maciej ┼╗enczykowski has to be applied first; https: (HowTos)