From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 14 07:17:46 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C109C16A4CE; Mon, 14 Feb 2005 07:17:46 +0000 (GMT) Received: from onion.ish.org (onion.ish.org [219.118.161.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 366CF43D41; Mon, 14 Feb 2005 07:17:46 +0000 (GMT) (envelope-from ishizuka@ish.org) Received: from localhost (ishizuka@localhost [IPv6:::1]) j1E7Hi3O085499; Mon, 14 Feb 2005 16:17:44 +0900 (JST) (envelope-from ishizuka@ish.org) Date: Mon, 14 Feb 2005 16:17:44 +0900 (JST) Message-Id: <20050214.161744.74673594.ishizuka@ish.org> To: drosih@rpi.edu From: Masachika ISHIZUKA In-Reply-To: References: <420F8564.5060200@FreeBSD.org> <20050214061622.GA70826@cirb503493.alcatel.com.au> X-PGP-Fingerprint20: 276D 697A C2CB 1580 C683 8F18 DA98 1A4A 50D2 C4CB X-PGP-Fingerprint16: C6 DE 46 24 D7 9F 22 EB 79 E2 90 AB 1B 9A 35 2E X-PGP-Public-Key: http://www.ish.org/pgp-public-key.txt X-URL: http://www.ish.org/ X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: PeterJeremy@optushome.com.au cc: hackers@freebsd.org cc: sem@freebsd.org Subject: Re: bin/76089: The "-n" option in /usr/bin/w is broken X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 07:17:46 -0000 >>> IMHO to be more robust, we should make utmp to hold an IP address >>> instead of a hostname and change all applications that use it. As >>> bonus it will fix a delay on login when resolving does not work. >>> And last(1) will show more useful IP address instead of changable >>> hostname. > [snip] > > Actually, it would be nice to log both. That's what I have done > for some printer-related statistics (not sure if I did that in > FreeBSD, but I do that for production use at RPI). Hi, this is ishizuka@ish.org. Please you should think IPv6 address that may be 39 bytes. I connected to sshd from a remote computer but w -n displayed IPv4 address. It was not good for me. -- ishizuka@ish.org