From owner-freebsd-net@FreeBSD.ORG Thu Jan 20 15:58:14 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1C57106566C for ; Thu, 20 Jan 2011 15:58:14 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from mail.mahoroba.org (ent.mahoroba.org [IPv6:2001:2f0:104:8010::1]) by mx1.freebsd.org (Postfix) with ESMTP id 35C688FC08 for ; Thu, 20 Jan 2011 15:58:14 +0000 (UTC) Received: from yuga.mahoroba.org (ume@yuga.mahoroba.org [IPv6:2001:2f0:104:8010:21b:d3ff:fe38:5381]) (user=ume mech=DIGEST-MD5 bits=0) by mail.mahoroba.org (8.14.4/8.14.4) with ESMTP/inet6 id p0KFw4Cu028636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Jan 2011 00:58:04 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Fri, 21 Jan 2011 00:58:04 +0900 Message-ID: From: Hajimu UMEMOTO To: "Bjoern A. Zeeb" In-Reply-To: <20110120153637.W3489@maildrop.int.zabbadoz.net> References: <20110119024431.GC39356@cicely7.cicely.de> <20110120153637.W3489@maildrop.int.zabbadoz.net> User-Agent: xcite1.60> Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-2022-JP-2?B?R29qGyQoRCtXGyhC?=) APEL/10.8 Emacs/23.2 (i386-portbld-freebsd8.1) MULE/6.0 (HANACHIRUSATO) X-Operating-System: FreeBSD 8.2-PRERELEASE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (mail.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Fri, 21 Jan 2011 00:58:04 +0900 (JST) X-Virus-Scanned: clamav-milter 0.96.5 at asuka.mahoroba.org X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on asuka.mahoroba.org Cc: freebsd-net@freebsd.org, Bernd Walter , ticso@cicely.de Subject: Re: strange netstat -ian output 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: Thu, 20 Jan 2011 15:58:14 -0000 Hi, >>>>> On Thu, 20 Jan 2011 15:38:13 +0000 (UTC) >>>>> "Bjoern A. Zeeb" said: > Yes, it is the internal scope address representation of the KAME IPv6 > stack. It is hided in the output of 'netstat -rn'. But, it seems not > for `netstat -ani'. There is no reason to not hide it for `netstat > -ani', IMHO. So, I've just committed to hide it: > > http://svn.freebsd.org/viewvc/base?view=revision&revision=217642 bzeeb> Thanks; there's also a PR somewhere about it from today or yesterday. Oops, I didn't notice the PR. Thank you for letting me it. I've just closed it. bzeeb> The real problem of course is that those things are still queried by bzeeb> kvm(3) rather than by a real interface in which case I think the bzeeb> kernel shouldn't export the addresses with the scope embedded. We bzeeb> should make sure that with libnetstat or whatever, this will not come bzeeb> back. Yes, I think so, too. The addresses with the scope embedded is annoyance. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/