[Bug 2060150] Re: openssh sets PAM_RHOST to UNKNOWN causing slow logins
Nick Rosbrook
2060150 at bugs.launchpad.net
Fri Apr 5 20:56:40 UTC 2024
I was preparing a bug fix upload, so I have picked this up as well.
** Changed in: openssh (Ubuntu)
Assignee: (unassigned) => Nick Rosbrook (enr0n)
** Changed in: openssh (Ubuntu)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/2060150
Title:
openssh sets PAM_RHOST to UNKNOWN causing slow logins
Status in openssh package in Ubuntu:
In Progress
Bug description:
When using sshd's -i option with stdio that is not a AF_INET/AF_INET6
socket, auth_get_canonical_hostname() returns "UNKNOWN" which is then
set as the value of PAM_RHOST, causing pam to try to do a reverse DNS
query of "UNKNOWN", which times out multiple times, causing a
substantial slowdown when logging in.
upstream PR: https://github.com/openssh/openssh-portable/pull/388
upstream email: https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-April/041289.html
Fedora backport: https://src.fedoraproject.org/rpms/openssh/pull-request/71
Debian backport: https://salsa.debian.org/ssh-team/openssh/-/merge_requests/25
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2060150/+subscriptions
More information about the foundations-bugs
mailing list