Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Feb 2012 10:18:00 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        erdgeist@erdgeist.org
Cc:        freebsd-rc@FreeBSD.org
Subject:   Re: Proposal ipv6_addrs_common
Message-ID:  <20120206.101800.1389796154758679137.hrs@allbsd.org>
In-Reply-To: <4F2F209F.90309@erdgeist.org>
References:  <4F28B9D7.4010602@erdgeist.org> <4F2F209F.90309@erdgeist.org>

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

Dirk Engling <erdgeist@erdgeist.org> wrote
  in <4F2F209F.90309@erdgeist.org>:

er> On 01.02.12 05:04, Dirk Engling wrote:
er>
er> > The attached network6.subr is a shell script demonstrating the
er> > ipv6_addrs_common function inside, for playing around one can use some
er> > of the values the supplied get_if_var dummy function returns.
er>
er> Following up my shell script I patched my /etc/network.subr to properly
er> work with the ipv6_addrs_IF variables while also removing some bugs in
er> the interface configuration code. ipv4_addrs_common also has been
er> patched to handle ranges in all octets.
er>
er> The patch at
er>
er> http://erdgeist.org/arts/software/network.subr_9.0.diff
er>
er> has been tested on my FreeBSD 9.0, fixing some bugs introduced in the
er> rewrite of ifalias_up/ifalias_down for 9.0, as well.
er>
er> I also have back ported the code to work under FreeBSD 8.2, the patch
er> against my 8.2-RELEASE's /etc/network.subr can be found here:
er>
er> http://erdgeist.org/arts/software/network.subr_8.2.diff

 I also looked into an ipv6 counterpart of the ipv4_addrs_common, and
 your patch looks good, but I am a bit concerned about adding another
 independent knob to configure IPv6 addresses to rc.conf.  I feel this
 range specification can be integrated into ifconfig_IF_aliasN and it
 will be simpler than adding another knob.  What do you think about
 it?

-- Hiroki

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

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

iEYEABECAAYFAk8vKkgACgkQTyzT2CeTzy0/XACeKixaxXGyN19ev72N2Yi3TsDC
newAoJKI9Q+LeeY7HxOitle9mDi4iS+A
=0JYX
-----END PGP SIGNATURE-----

----Security_Multipart(Mon_Feb__6_10_18_00_2012_289)----



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