ip6-nd: stop sending RA by default 53/35553/4
authorAlexander Chernavin <achernavin@netgate.com>
Sat, 5 Mar 2022 15:51:54 +0000 (15:51 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Thu, 24 Mar 2022 14:26:28 +0000 (14:26 +0000)
commite99f762346ae018ce5b76b729a12f0cd091aec43
tree582719b5fb9cb11adf1f1d12d65f78dac110c9e7
parentfbc633f5542be4b0b85963f7dcba9ab143c61d62
ip6-nd: stop sending RA by default

Type: improvement

Currently, RA message sending is enabled by default - both periodic and
in response to RS message. However, RFC 4861 section 6.2.1 says the
following:

  Note that AdvSendAdvertisements MUST be FALSE by default so that a
  node will not accidentally start acting as a router unless it is
  explicitly configured by system management to send Router
  Advertisements.

With this change, RA message sending is disabled by default and
"test_ip6.TestIPv6.test_rs" updated appropriately.

Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Change-Id: I2a8865199cb665c59268504aefe2976e5ee96dc2
src/vnet/ip6-nd/ip6_ra.c
test/test_ip6.py