Date: Fri, 28 Mar 2008 23:40:03 GMT From: Bruce Cran <bruce@cran.org.uk> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/97499: one of sshd_config(5) options does not work Message-ID: <200803282340.m2SNe3Vu033829@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/97499; it has been noted by GNATS. From: Bruce Cran <bruce@cran.org.uk> To: bug-followup@FreeBSD.org, arnoldlee_chn@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803282340.m2SNe3Vu033829>