bin/88077: w -n problems with IPv6 addresses and localhost

Walter Belgers walter at giga.nl
Thu Oct 27 04:40:15 PDT 2005


>Number:         88077
>Category:       bin
>Synopsis:       w -n problems with IPv6 addresses and localhost
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 27 11:40:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Walter Belgers
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD giga.nl 5.4-STABLE FreeBSD 5.4-STABLE #5: Wed Oct 19 15:31:09 CEST 2005 walter at giga.nl:/usr/obj/usr/src/sys/GIGA i386
>Description:
The command 'w -n' (show current users and do not translate IP numers
into hostnames) does not show IPv6 IP addresses. For localhost,
additional weirdness is involved. This goes for 5.4 but also 4.11 (in a
different way).

FreeBSD 4.11-STABLE

Login from	w shows		w -n shows	which is 
---------------+---------------+---------------+---------
IPv4 address	IPv4 hostname	IPv4 address	correct
IPv6 address	IPv6 hostname	IPv6 hostname	incorrect
127.0.0.1	localhost	127.0.0.1	correct
::1		localhost	127.0.0.1	incorrect

FreeBSD 5.4-STABLE

Login from	w shows		w -n shows	which is 
---------------+---------------+---------------+---------
IPv4 address	IPv4 hostname	IPv4 address	correct
IPv6 address	IPv6 hostname	IPv6 hostname	incorrect
127.0.0.1	localhost	localhost	incorrect
::1		localhost	localhost	incorrect

>How-To-Repeat:
w -n
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list