[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:37:40 AEST 2017


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

Maciej Piechotka <uzytkownik2 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Broken parsing of           |Broken parsing of
                   |link-local addresses        |link-local addresses when
                   |                            |interface contains
                   |                            |upper-case letter

--- Comment #3 from Maciej Piechotka <uzytkownik2 at gmail.com> ---
(In reply to Damien Miller from comment #2)
> (In reply to Maciej Piechotka from comment #0)
> > I'm trying to connect through veth to link-local address. However
> > ssh tries to resolve it:
> > 
> > % ssh 'fe80::1' -v -v -v -S none
> 
> This link-local address is missing its interface scope
> 

Yes, I was just showing as completeness that IPv6 is working.

> > OpenSSH_7.5p1-hpn14v12lpk, OpenSSL 1.0.2l  25 May 2017
> 
> This isn't what we ship - it contains vendor patches. Please try to
> reproduce your problems with unpatched OpenSSH, or report the
> problems to your vendor.
> 
> > % ssh 'fe80::1%xe-<NAME>' -v -v -v -S none
> 
> I don't know what this syntax is for specifying the interface scope,
> but plain interface names work fine:
> 

xe-<NAME> is the name of interface. Edit: I can connect without upper
case letter in interface name.

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

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