1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc/network_layer/ipv6/nib
Martine Lenders 7cba2fb63d gnrc_ipv6_nib: don't auto-configure IPv6 w/o SLAAC on non-6LN interface
When the NIB is compiled for 6LN mode (but not a 6LBR), the Stateless
Address Autoconfiguration (SLAAC) functionality is disabled, as it is
typically not required; see `sys/include/net/gnrc/ipv6/nib/conf.h`, ll.
46 and 55. However, if a non-6LN interface is also compiled in (still
without making the node a border router) an auto-configured address will
be assigned in accordance with [RFC 6775] to the interface, just
assuming the interface is a 6LN interface. As it then only performs
duplicate address detection RFC-6775-style then, the address then never
becomes valid, as the duplicate address detection according to [RFC
4862] (part of the SLAAC functionality) is never performed.

As auto-configuring an address without SLAAC doesn't make sense, this
fix makes the interface skip it completely, but provides a warning to
the user, so they know what to do.

[RFC 6775]: https://tools.ietf.org/html/rfc6775#section-5.2
[RFC 4862]: https://tools.ietf.org/html/rfc4862#section-5.4
2019-10-21 00:17:12 +02:00
..
_nib-6ln.c gnrc_ipv6_nib: use gnrc_netif_get_eui64() for ARO build and check 2019-01-29 21:52:53 +01:00
_nib-6ln.h gnrc_ipv6_nib: fallback to SLAAC if ARO is ignored by upstream 2018-08-09 10:56:36 +02:00
_nib-6lr.c gnrc: nib: DEBUG fix 2018-01-15 14:37:05 +01:00
_nib-6lr.h gnrc_netif: assume flag settings on compile time 2017-12-19 12:04:36 +01:00
_nib-arsm.c Merge pull request #10369 from miri64/gnrc_ipv6_nib/fix/arsm-16-bit 2019-02-12 17:54:52 +01:00
_nib-arsm.h gnrc_ipv6_nib: expose non-randomized part of NS-backoff calculation 2019-02-12 17:01:14 +01:00
_nib-internal.c gnrc_ipv6_nib: add clarification to comment in cache-out 2019-02-12 12:06:45 +01:00
_nib-internal.h sys: add missig <string.h> includes 2018-09-20 23:47:40 +02:00
_nib-router.c gnrc_ipv6_nib_router: add support to send RDNSSO 2018-07-05 11:09:34 +02:00
_nib-router.h gnrc_ipv6_nib: assure netif != NULL in route info callback 2019-06-20 16:18:23 +02:00
_nib-slaac.c gnrc_ipv6_nib: don't auto-configure IPv6 w/o SLAAC on non-6LN interface 2019-10-21 00:17:12 +02:00
_nib-slaac.h gnrc: nib: fix DOXYGE -> DOXYGEN 2019-02-06 13:01:40 +01:00
Makefile gnrc_ipv6_nib: initial import of internal NIB functions 2017-06-09 21:52:37 +02:00
nib_abr.c gnrc_ipv6_nib: provide ABR iteration and print function 2019-09-11 23:51:20 +02:00
nib_ft.c gnrc_ipv6_nib: make user added default route the primary one 2017-11-19 23:36:20 +01:00
nib_nc.c gnrc_ipv6_nib: Allow l2addr == NULL for gnrc_ipv6_nib_nc_set() 2017-11-29 17:26:45 +01:00
nib_pl.c gnrc_ipv6_nib_pl: return early if PL entry wasn't allocated 2018-11-09 15:40:46 +01:00
nib.c Merge pull request #11299 from llueder/ndp_cpp_compliant 2019-09-26 22:34:45 +02:00