bin/117773: 'w -n' still dispalys names for IPv6 connections
Pete French
petefrench at ticketswitch.com
Sat Dec 8 05:30:02 PST 2007
The following reply was made to PR bin/117773; it has been noted by GNATS.
From: Pete French <petefrench at ticketswitch.com>
To: bob at norcalttora.com, bug-followup at FreeBSD.org
Cc:
Subject: Re: bin/117773: 'w -n' still dispalys names for IPv6 connections
Date: Sat, 08 Dec 2007 13:29:48 +0000
> I tried reproducing this bug hoping to be able to fix it but had
> a little bit of trouble reproducing it. From what I can see on
> RELENG_7 and RELENG_6 the -n flag will work the same way for IPv4
> and IPv6. In the case that -n is set w(1) just reads from /var/run/utmp
> and basically dumps the address that's written there.
Sorry for not getting back to you before now! Had lost this email
in a pile of about 400 others. Thanks for starting to look at the issue
for me. I suspect you are right, and that something is back resolving the
hostnames before writing them into the utmp file. 'last' has the same
erreft - downs the hostnames if the resolve.
> I'm wondering if you can share part of your utmp file to verify
> that the hostname is being written in to that file rather than the
> IPv6 address?
Sure - heres todays from a 6.2-STABLE machine with the same problem
http://toybox.twisted.org.uk/~pete/utmp.gz
The login from dilbert.ticketswitch.com should be
comming from 2002:57e0:1d4e:1:20e:cff:fedc:c380
cheers,
-pete.
More information about the freebsd-bugs
mailing list