bin/97499: one of sshd_config(5) options does not work
Bruce Cran
bruce at cran.org.uk
Fri Mar 28 16:40:04 PDT 2008
The following reply was made to PR bin/97499; it has been noted by GNATS.
From: Bruce Cran <bruce at cran.org.uk>
To: bug-followup at FreeBSD.org, arnoldlee_chn at yahoo.com
Cc:
Subject: Re: bin/97499: one of sshd_config(5) options does not work
Date: Fri, 28 Mar 2008 23:37:54 +0000
FreeBSD uses a local patch which calls realhostname_sa in construct_utmp
(loginrec.c line 691) which is done regardless of the UseDNS or -u0
settings. The default OpenSSH behaviour is to call
get_remote_name_or_ip in session.c, passing in the utmp_len and use_dns
values; construct_utmp then just copies the string into the utmp
structure instead of doing a DNS lookup itself. Rev 1.2 of loginrec.c
changed this in FreeBSD to avoid overflowing the utmp record.
--
Bruce
More information about the freebsd-bugs
mailing list