GNOME Bugzilla – Bug 604809
Assumes binding an IPv6 socket also binds IPv4
Last modified: 2011-04-11 17:00:55 UTC
The kernel default for net.ipv6.bindv6only changed to 1 for Debian, in order to match other operating systems’ behavior. This means binding an IPv6 socket will no longer bind an IPv4 one as well. Note that this is already a bug for *BSD. The result is that vino will only listen on IPv6 addresses when IPv6 support is enabled. More details: http://lists.debian.org/msgid-search/20091024182431.GB13333@bongo.bofh.it Original bug report: http://bugs.debian.org/561440
Created attachment 152484 [details] [review] Use two sockets, one for IPv4 and another one for IPv6 Patch from Thorsten Glaser <tg@mirbsd.de> * debian/patches/01_ipv6-fix.patch: New, use two listening sockets (one for IPv4, one for IPv6) and disable use of ipv4-mapped IPv6 addresses. (Closes: #561440)
I can confirm that the patch works. With it, I can connect to vino over IPv4 again.
Comment on attachment 152484 [details] [review] Use two sockets, one for IPv4 and another one for IPv6 Pushed to gnome-2-32, gnome-3-0 and master as commits 633cac196ddb41485bf3428d5ca00c7860d48831, 44e5395ed02f60e0892172a1b1b9ab0060ee620c and 37ae3fbf82513f8e79e0345164dafc02364090cc.