[Bug 2636] Fix X11 forwarding, when ::1 is not configured

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Nov 11 11:09:45 AEDT 2016


https://bugzilla.mindrot.org/show_bug.cgi?id=2636

--- Comment #5 from Darren Tucker <dtucker at zip.com.au> ---
(In reply to Tomas Kuthan from comment #4)
[...]
> If we choose not to fix it this way, we should at least set
> hints.ai_family = options.address_family, so that users can make X11
> forwarding work w/o IPv6 interface by setting AddressFamily=inet.
> 
> Would you accept a patch for that?

I thought that happened already.   sshd calls

  channel_set_af(options.address_family);

fairly early, which stores it in channel.c's "static int IPv4or6",
which gets passed to getaddrinfo via hints.ai_family.  Does that not
work?

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list