Date: Mon, 12 Apr 1999 12:19:30 -0400 (EDT) From: Robert Watson <robert@cyrus.watson.org> To: Brian Somers <brian@Awfulhak.org> Cc: Rahul Dhesi <dhesi@rahul.net>, freebsd-current@FreeBSD.org Subject: Re: showing full host names in output from who/finger/last Message-ID: <Pine.BSF.3.96.990412121642.11402I-100000@fledge.watson.org> In-Reply-To: <199904120738.IAA02356@keep.lan.Awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 Apr 1999, Brian Somers wrote: > [.....] > > I got sick of seing "invalid hostname" in my wtmps a while ago on my 2.x > > machines. That is an exceptionally useless piece of behavior, if you ask > > me. Sshd writes out IPs and I find that to be much more consistent (and > > useful). > > Sshd gets it wrong though. It gets the full hostname and then a > freebsd patch changes that to an IP if the name is >UT_HOSTSIZE. I don't use the FreeBSD patched version, as I use the version with the KerberosIV patches (unfortunately the FreeBSD port doesn't do that, but I don't have time just now to make it do that :-). It seems to put the IP address into the wtmp correctly. But anyhow; my preference is still to either a) using only IP addresses, or b) using two fields, one for each. Given that connections logically come from IP addresses, performing a transformation based on an unreliable insecure mechanism like DNS seems like a bad idea. It's convenient to look at (hence a look at option b). Robert N Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: 03 01 DD 8E 15 67 48 73 25 6D 10 FC EC 68 C1 1C Carnegie Mellon University http://www.cmu.edu/ TIS Labs at Network Associates, Inc. http://www.tis.com/ Safeport Network Services http://www.safeport.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990412121642.11402I-100000>