strange netstat -ian output

Hajimu UMEMOTO ume at freebsd.org
Thu Jan 20 15:58:14 UTC 2011


Hi,

>>>>> On Thu, 20 Jan 2011 15:38:13 +0000 (UTC)
>>>>> "Bjoern A. Zeeb" <bzeeb-lists at lists.zabbadoz.net> 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 at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-net mailing list