[Bug 405] New: getaddrinfo delays

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Sep 28 03:34:19 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=405

           Summary: getaddrinfo delays
           Product: Portable OpenSSH
           Version: -current
          Platform: Alpha
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: dgp at nist.gov


This report is for version 3.4p1, which I don't find above.
(Is this still the place to report bugs in OpenSSH?)

Ever since I updated to 3.4p1, I've noticed very slow
connections using the ssh client.  I finally got annoyed
enough to look into it and found that the getaddrinfo()
call in ssh_connect() is taking ~10 seconds to complete.

I read some notes that blamed this on poor IPv6 name
resolution in the GNU C library, version 2.1.2.  I have
version 2.1.3, but I still followed the advice and
re-configured OpenSSH with --with-ipv4-default and
re-installed.  No change.  Then I went into config.h
and explicitly added

#define BROKEN_GETADDRINFO 1

No change.  I hacked in some extra debug() calls to
verify that I am indeed passing hints.ai_family = AF_INET
into the getaddrinfo() call, but I still see 10 second
delays.  Is this really a glibc problem?  Or a system
mis-configuration?  What can I do about it?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list