Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2009 08:35:34 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        rpaulo@FreeBSD.org
Cc:        ume@FreeBSD.org, hrs@FreeBSD.org, bz@FreeBSD.org, jinmei@isc.org, rwatson@FreeBSD.org, net@FreeBSD.org
Subject:   Re: RFC: convert net.inet6.ip6.{accept_rtadv,auto_linklocal} to per-interface flags
Message-ID:  <20090628.083534.177750036.hrs@allbsd.org>
In-Reply-To: <A80E65C6-F7BE-47A9-91F7-42F2E4D33ABD@freebsd.org>
References:  <20090626.170006.244306978.hrs@allbsd.org> <A80E65C6-F7BE-47A9-91F7-42F2E4D33ABD@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Sun_Jun_28_08_35_34_2009_561)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Rui Paulo <rpaulo@FreeBSD.org> wrote
  in <A80E65C6-F7BE-47A9-91F7-42F2E4D33ABD@freebsd.org>:

rp> On 26 Jun 2009, at 09:00, Hiroki Sato wrote:
rp> > So, I want to add the following changes:
rp> >
rp> > 1. Use per-interface ND6 flag "ifdisabled" as a flag for if it is
rp> >    IPv6-enabled or not.  Set it by default.
rp>
rp> This looks okay, but "ifdisabled" seems to mean "disable the
rp> interface" instead of the actual meaning: "disable ipv6 neighbor
rp> discovery / disable ipv6 link local". Bikeshed apart, what about:
rp> # ifconfig fxp0 -nd6  (to disable ND6)
rp> # ifconfig fxp0 nd6 (to enable it)

 This is actually "ifconfig fxp0 *inet6* ifdisabled".  The reason why
 I used this name is ndp(8) uses "disabled" and the flag constant is
 named as ND6_IFF_IFDISABLED.

 The "ifconfig fxp0 inet6 -nd6" is technically correct, but it sounds
 rather cryptic from viewpoint that we use it as a flag to disable
 IPv6.  It means disabling NDP as well as marking all of the AF_INET6
 addresses on that interface as IN6_IFF_TENTATIVE.

 Hm, actually I do not stick to the name "ifdisabled".  Is "nd6"
 better?

-- Hiroki

----Security_Multipart(Sun_Jun_28_08_35_34_2009_561)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAkpGrMYACgkQTyzT2CeTzy1XAQCffG6CpCWqMnRXoN0qkvMzeAOL
QvAAoJi5h94Zwj/58EdZs/27NxwR435R
=riKr
-----END PGP SIGNATURE-----

----Security_Multipart(Sun_Jun_28_08_35_34_2009_561)----



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