Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2007 14:08:44 -0700
From:      "Mike Sweetser - Adhost" <mikesw@adhost.com>
To:        "Michael K. Smith - Adhost" <mksmith@adhost.com>, <freebsd-questions@freebsd.org>
Subject:   RE: IPv6 Display - Multiple Applications
Message-ID:  <17838240D9A5544AAA5FF95F8D5203160297F614@ad-exh01.adhost.lan>
In-Reply-To: <17838240D9A5544AAA5FF95F8D5203160297F5FD@ad-exh01.adhost.lan>
References:  <17838240D9A5544AAA5FF95F8D5203160297F5FD@ad-exh01.adhost.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Have you tried using -W on netstat?  "In certain displays, avoid
truncating addresses even if this causes some fields to overflow."  I
tested it on my own IPv6 server after establishing a connection and
reproduced your behavior with the truncated IPv6 addresses; however,
once I added the -W flag, it displayed the entire address.

Unfortunately, I do not see a similar flag available for the who
command...maybe a patch is in order?

--------------------------
Mike Sweetser | Systems Administrator

Adhost Internet
140 Fourth Avenue North, Suite 360, Seattle, Washington 98109 USA
P 206.404.9023    T 888.234.6781 (ADHOST-1)    F 206.404.9050
E mikesw@adhost.com    W adhost.com

Our brand new Adhost West data center is open - contact us for a tour at
1-888-234-6781 (ADHOST-1)

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Michael K.
Smith - Adhost
Sent: Tuesday, October 16, 2007 1:37 PM
To: freebsd-questions@freebsd.org
Subject: IPv6 Display - Multiple Applications

Hello All:

I'm curious if there is any timeline for the correct display of IPv6
addresses in various displays.  In particular, I'm interested in being
able to see a full address in 'who' and 'netstat' so I can track
connections to the server.  Presently, the display shows:

[mksmith@slinky ~]$ who
mksmith          ttyp0    Oct 16 13:26 (2001:468:1420:f:)

[mksmith@slinky ~]$ netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address          Foreign Address
(state)
tcp6       0     52  www6.ssh               2001:468:1420:f:.52619
ESTABLISHED
t

The full address includes another 64 bits or the whole host portion.  Is
this a bug, something in progress, or by design?

Regards,

Mike

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



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