After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 604809 - Assumes binding an IPv6 socket also binds IPv4
Assumes binding an IPv6 socket also binds IPv4
Status: RESOLVED FIXED
Product: vino
Classification: Applications
Component: Server
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Vino Maintainer(s)
Vino Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-12-17 08:52 UTC by Josselin Mouette
Modified: 2011-04-11 17:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use two sockets, one for IPv4 and another one for IPv6 (1.93 KB, patch)
2010-01-28 13:08 UTC, Emilio Pozuelo Monfort
committed Details | Review

Description Josselin Mouette 2009-12-17 08:52:06 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
Comment 1 Emilio Pozuelo Monfort 2010-01-28 13:08:40 UTC
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)
Comment 2 Josh Triplett 2010-02-01 20:08:09 UTC
I can confirm that the patch works.  With it, I can connect to vino over IPv4 again.
Comment 3 David King 2011-04-11 17:00:40 UTC
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.