svn commit: r259094 - head/etc/rc.d

Hiroki Sato hrs at FreeBSD.org
Mon Dec 9 08:51:50 UTC 2013


Hi Peter,

Peter Wemm <peter at FreeBSD.org> wrote
  in <201312080555.rB85tu8W016979 at svn.freebsd.org>:

pe> Author: peter
pe> Date: Sun Dec  8 05:55:55 2013
pe> New Revision: 259094
pe> URL: http://svnweb.freebsd.org/changeset/base/259094
pe>
pe> Log:
pe>   Rev 256256 had an undocumented side effect of breaking existing behavior
pe>   for ipv6 jails.
pe>
pe>   Among the harmful side effects included putting a route to an entire /64
pe>   onto an interface even if you were in a smaller network - eg: /80.
pe>   This broke the freebsd.org cluster hosted at ISC which has /80 networks.
pe>
pe> Modified:
pe>   head/etc/rc.d/jail

 The reason why it was changed is that I think an IPv6 GUA with no
 prefix length information should always be interpret as a /64 because
 the other tools like ifconfig do so.  IPv6 is designed to always use
 a correct prefix length and avoid using a /128 for aliases.  Is there
 a problem with specifying a /80 address to ip6.addr if a box is on a
 /80 network?

 I know many people are using 2001:db8::1/80 + 2001:db8::2/128 on the
 same interface similar to 192.168.0.1/24 + 192.168.0.2/32.  It
 certainly works, but the both should be /80....

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20131209/4ff42324/attachment.sig>


More information about the svn-src-head mailing list