[Bug 2763] Broken parsing of link-local addresses when interface contains upper-case letter

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Aug 24 11:43:52 AEST 2017


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

--- Comment #4 from Maciej Piechotka <uzytkownik2 at gmail.com> ---
> > [djm at argon ~]$ ssh fe80::744b:fff:d37:8a4a%em1
> > The authenticity of host 'fe80::744b:fff:d37:8a4a%em1
> > (fe80::744b:fff:d37:8a4a%em1)' can't be established.
> > 
> > Perhaps your libc getaddrinfo(3) doesn't know about your interface
> > naming scheme?
> 
> It works with ping so I find it unlikely. Is ssh tries to normalize
> address by converting all upper case letters to lower case.

I confirmed by gdb that getaddrinfo is called with lower case which is
called by resolve_host. I think the guilty line is (I used git master):

1021:     lowercase(host);

-- 
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