[Bug 1457] X11 Forwarding doesn't work anymore on a solaris 10 host where ipv6 has not been enabled

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun Apr 6 09:51:55 EST 2008


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





--- Comment #3 from Yann Rouillard <yann at pleiades.fr.eu.org>  2008-04-06 09:51:53 ---
Made some test under Linux/Ubuntu and the same problem exists.

getaddrinfo also returns the ipv6 loopback address ::1 even if inet6 is
not configured on the interface.

But the thing is that it's not a standard setup under linux, usually,
either you have ipv6 enabled and ipv6 on all interfaces, or ipv6 is
disabled. To reproduce the bug, I had to load the ipv6 module and then
manually disable the inet6 loopback address.

You usually don't meet the solaris-like case where ipv6 is in fact
enabled but no interface is configured with ipv6 support.


So I suppose that theoretically, you should not assume that addresses
informations returned by getaddrinfo are valid ones, but I didn't yet
read POSIX to check.


BTW, I maintain the blastwave openssh package [1] and I would like to
apply the attached patch on the stable package. May I request your
opinion about it ?


[1] http://www.blastwave.org/

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list