https://bugzilla.mindrot.org/show_bug.cgi?id=2143
Andrey Borzenkov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Andrey Borzenkov <[email protected]> --- Created attachment 2335 --> https://bugzilla.mindrot.org/attachment.cgi?id=2335&action=edit Suggested patch to fix X11 forwarding with IPv6 disabled The problem is that getaddrinfo() without hints flags returns both IPv4 and IPv6 localhost addresses. There are two possible fixes: 1. add AI_ADDRCONFIG. This will work around this bug if IPv6 is globally disabled, because no interface will have IPv6 address, but still fails in corner case when some interface does have IPv6 but localhost not. 2. Simply ignore this error. That is what generic forwarding does anyway. Attached patch implements #2. It tries to limit cases when we ignore error to exactly IPv6 and address not available, but may be we can simplify it and simply follow generic forwarding example. -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
