From owner-freebsd-net@FreeBSD.ORG Thu Jan 20 16:15:00 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 A7026106566C for ; Thu, 20 Jan 2011 16:15:00 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 15F9D8FC12 for ; Thu, 20 Jan 2011 16:14:59 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id p0KGEvHi058401 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 Jan 2011 17:14:58 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.4/8.14.4) with ESMTP id p0KGEj26066621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Jan 2011 17:14:45 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id p0KGEjSZ009238; Thu, 20 Jan 2011 17:14:45 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id p0KGEjx6009237; Thu, 20 Jan 2011 17:14:45 +0100 (CET) (envelope-from ticso) Date: Thu, 20 Jan 2011 17:14:45 +0100 From: Bernd Walter To: Hajimu UMEMOTO Message-ID: <20110120161445.GX39356@cicely7.cicely.de> References: <20110119024431.GC39356@cicely7.cicely.de> <20110120153637.W3489@maildrop.int.zabbadoz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: "Bjoern A. Zeeb" , Bernd Walter , ticso@cicely.de, freebsd-net@freebsd.org Subject: Re: strange netstat -ian output X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de 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 16:15:00 -0000 On Fri, Jan 21, 2011 at 12:58:04AM +0900, Hajimu UMEMOTO wrote: > 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. Petr Lampa - who opened the PR - explained me provately about the embedded scope. However I still think this collides with RFC3306 addresses. The other point discussed with Petr Lampa is about the ff02::2:xxxx:xxxx addresses. However the addresses are different than defined in RFC4620, where they have the format ff02::2:ffxx:xxxx. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.