From owner-freebsd-current Mon Apr 12 9:23:48 1999 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 5AFBD14CA7 for ; Mon, 12 Apr 1999 09:23:44 -0700 (PDT) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.8.8/8.8.8) with SMTP id MAA19412; Mon, 12 Apr 1999 12:19:30 -0400 (EDT) (envelope-from robert@cyrus.watson.org) Date: Mon, 12 Apr 1999 12:19:30 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: Brian Somers Cc: Rahul Dhesi , freebsd-current@FreeBSD.org Subject: Re: showing full host names in output from who/finger/last In-Reply-To: <199904120738.IAA02356@keep.lan.Awfulhak.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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