From owner-freebsd-net@FreeBSD.ORG Tue May 17 17:04:39 2011 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B19F3106564A for ; Tue, 17 May 2011 17:04:39 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 67A5A8FC12 for ; Tue, 17 May 2011 17:04:39 +0000 (UTC) Received: by iyj12 with SMTP id 12so818500iyj.13 for ; Tue, 17 May 2011 10:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-openpgp-key-id:x-openpgp-key-fingerprint :x-openpgp-key-url; bh=exm+2qoUeLuB+rJsUk9ZDdN4tr/4X9eEHVbAvKXU+H0=; b=oMk6Lb144AR8egR9xlNsFCaIpGJw36eNWksJonlGQEBXBvgAtn8xOVI9x4bvt9B+DZ T2VlEZf53NQz1Lf0paD8Xu796OdxqKYmY64r1wLfO06IynuQfRSnRcT3OUWz+iAIFb5w KdJSRVV7LSgk6kjg9rxMyDDiFoPFQd3V38VCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-openpgp-key-id :x-openpgp-key-fingerprint:x-openpgp-key-url; b=QyxI6RkWB8ReDGbWbpj+0XQDEv3v/8yiG3uhnsrPQFeoxJXvZEDhSZThmhSotMz+bD KEPSROzR3wefQQGzaoXVBckngKeACX5r0F4sNEz3LTHeoxr4kAf74a61+AqpBfyLREdQ iSmNfgvuwPIZRN5BpN0qdO/O1mwOsYvDN9OFs= Received: by 10.42.220.134 with SMTP id hy6mr952346icb.386.1305651878641; Tue, 17 May 2011 10:04:38 -0700 (PDT) Received: from DataIX.net (adsl-99-190-81-196.dsl.klmzmi.sbcglobal.net [99.190.81.196]) by mx.google.com with ESMTPS id 14sm308219ibc.25.2011.05.17.10.04.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 May 2011 10:04:37 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p4HH4YOK096083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 May 2011 13:04:34 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p4HH4Xb9096082; Tue, 17 May 2011 13:04:33 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Tue, 17 May 2011 13:04:33 -0400 From: Jason Hellenthal To: Michael Tuexen Message-ID: <20110517170433.GB92657@DataIX.net> References: <3FEFBA56-63FC-403A-960E-627FD347AA06@fh-muenster.de> <20110517162034.GA92657@DataIX.net> <43344BAA-EC28-47A7-99AA-076C39464EC4@fh-muenster.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Content-Disposition: inline In-Reply-To: <43344BAA-EC28-47A7-99AA-076C39464EC4@fh-muenster.de> X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E X-OpenPGP-Key-URL: http://bit.ly/0x89D8547E Cc: net@freebsd.org Subject: Re: netstat fix X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2011 17:04:39 -0000 --tsOsTdHNUZQcU9Ye Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael, On Tue, May 17, 2011 at 06:27:01PM +0200, Michael Tuexen wrote: > On May 17, 2011, at 6:20 PM, Jason Hellenthal wrote: >=20 > >=20 > > Michael, > >=20 > > On Sun, May 08, 2011 at 07:23:37PM +0200, Michael Tuexen wrote: > >> Dear all, > >>=20 > >> fwip0 1500 00:30:05:b3:50:0b:40:e4:0a:02:ff:fe:00:00:00= :00 0 0 0 0 0 0 0 0 > >>=20 > >=20 > > I agree with your patch but on another note. You probably know better > > than I, Is it common for fwip* to have a MAC(hardware address) that long > > ? > I have no idea if it is common. But also other addresses (like IPv6) > are truncated in the output by netstat... >=20 Yeah that can be expected of IPv6. There is just not enough room in the world of screen space to display those properly or in some globally exceptable way unless we want to start changing netstat to display addreesses line by line. Ive been looking around a bit "EUI-64" ... never mind ;) http://en.wikipedia.org/wiki/EUI-64 Relavent section: In addition, the EUI-64 numbering system encompasses both MAC-48 and EUI-48 identifiers by a simple translation mechanism. To convert a MAC-48 into an EUI-64, copy the OUI, append the two octets FF-FF, and then copy the organization-specified part. To convert an EUI-48 into an EUI-64, the same process is used, but the sequence inserted is "FF-FE". In both cases, the process can be trivially reversed when necessary. Organizations issuing EUI-64s are cautioned against issuing identifiers that could be confused with these forms. The IEEE policy is to discourage new uses of 48-bit identifiers in favor of the EUI-64 system. IPv6one of the most prominent standards that uses EUI-64treats MAC-48 as EUI-48 instead (as it is chosen from the same address pool). This results in extending MAC addresses (such as IEEE 802 MAC address) to EUI-64 using FF-FE rather than FF-FF. --=20 Regards, (jhell) Jason Hellenthal --tsOsTdHNUZQcU9Ye Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) Comment: http://bit.ly/0x89D8547E iQEcBAEBAgAGBQJN0qqhAAoJEJBXh4mJ2FR+qjkH/jD0hXdb7fJ+z4f6jB/+2Jbu fIYt8ZG6PYfc7phoOVUQUGwYL6ZhAzaE9zxPUSRAn/58ZiOpS76t3VzA8epu9Mgh P2xRawF9JC0zsd/94+zdbbPsQewQMtNSmEBbvNdhmIGljfgb1pH6CwsJf3fQ2we0 dlOrjnWODU0TBbJXTAwLdKTZ4qu2l5Z1uQUs3W2OwT71mOCeqb5vgVxErSxOEzUA fmW+wU3cx4GLVoLOXZXvUxPso9jm74Vrw41jE8MvknZuE16QPMCuvlMZKIERYYOY GmGDu6J65D83uRtDGaolDWP1B+v2BeTYpa1PyqAuaVhBrCUrAnMK6011x3jgC7s= =Sfgu -----END PGP SIGNATURE----- --tsOsTdHNUZQcU9Ye--