[Bug 2251] New: Wrong error-description on connect via domain

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jul 2 11:06:43 EST 2014


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

            Bug ID: 2251
           Summary: Wrong error-description on connect via domain
           Product: Portable OpenSSH
           Version: 6.6p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: cyrond at gmail.com

Since some versions the error-decription on closed port is wrong when
using domains to connect (with a non-standard port - if it matters).

$ ssh -p 1337 a.b.c.net
ssh: connect to host a.b.c.net port 1337: Network is unreachable

$ nslookup dag.wk.freifunk.net
Server:        8.8.8.8
Address:    8.8.8.8#53

Non-authoritative answer:
Name:    a.b.c.net
Address: 123.123.123.123

$ ssh -p 1337 123.123.123.123 
ssh: connect to host 123.123.123.123 port 1337: Connection refused

Version:
OpenSSH_6.6.1p1, OpenSSL 1.0.1h 5 Jun 2014
System:
Arch Linux
Version: Rolling release state today 2:00 AM CEST

Expected behavoir is connecting via domain and ip does produce the same
errormessage: "Connection refused" because the port is closed.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list