NetworkManager/src/dhcp-manager
Tore Anderson eb460b70da dhcp: use /128 as prefix length for IPv6 IA_NA assignments (bgo #656610) (debian #661885)
DHCPv6 IA_NA assignments do not contain a prefix length, they are for a
single address (/128) only. However, the ISC DHCPv6 client incorrectly
assumes IA_NA assignments come with a implicit prefix length of /64, and
passes this incorrect information on to NetworkManager, which adds this
prefix as a on-link route. This will cause communication failures in
certain networks, for example NBMA networks, and in organisations using
longer prefix lengths than /64 for their LANs. For more discussion
regarding this problem, see RFC 5942 section 5.

This patch makes NM ignore the false prefix length attribute provided by
the ISC DHCPv6 client, instead setting it to a /128 (single address) in
all cases. Note that this does not preclude an on-link prefix from being
added by NM if it is being advertised in the correct way, i.e., by
including a Prefix Information Option with the L flag set in an ICMPv6
Router Advertisement.

For what it's worth I've also sent a patch to ISC to change the hard-
coded implicit prefix length value from /64 to /128 in [ISC-Bugs #29468].
2012-05-31 15:47:55 -05:00
..
tests build: fix srcdir != builddir for new generated headers 2012-02-22 16:27:28 -06:00
Makefile.am core: unblock signals for child processes we spawn out of NM (rh #739836) 2012-05-21 15:00:51 +02:00
nm-dhcp-client.c dhcp: use /128 as prefix length for IPv6 IA_NA assignments (bgo #656610) (debian #661885) 2012-05-31 15:47:55 -05:00
nm-dhcp-client.h dhcp: add DHCP lease release capability 2011-01-05 16:23:00 -06:00
nm-dhcp-dhclient-utils.c trivial: spacing fix 2012-03-05 13:19:47 +01:00
nm-dhcp-dhclient-utils.h dhclient: split out dhclient config merging and add testcases 2010-12-17 23:09:20 -06:00
nm-dhcp-dhclient.c dhcp: don't leak dhclient config file contents when merging 2012-05-23 12:58:05 -05:00
nm-dhcp-dhclient.h dhcp: make client selection more forgiving 2010-03-23 14:22:10 -07:00
nm-dhcp-dhcpcd.c core: unblock signals for child processes we spawn out of NM (rh #739836) 2012-05-21 15:00:51 +02:00
nm-dhcp-dhcpcd.h dhcp: make client selection more forgiving 2010-03-23 14:22:10 -07:00
nm-dhcp-manager.c Use glib-mkenums to generate enum types 2012-02-15 11:42:15 -05:00
nm-dhcp-manager.h Fix names of error enum values 2012-03-12 15:29:52 -04:00