Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 13:37:51 +0200 (CEST)
From:      Walter Belgers <walter@giga.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/88077: w -n problems with IPv6 addresses and localhost
Message-ID:  <20051027113751.71BE45C23@giga.nl>
Resent-Message-ID: <200510271140.j9RBeEn2099313@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051027113751.71BE45C23>