summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/unix
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2019-12-06 14:40:10 -0800
committergVisor bot <gvisor-bot@google.com>2019-12-06 14:41:30 -0800
commitab3f7bc39392aaa7e7961ae6d82d94f2cae18adb (patch)
treefafe95e760ae1f9bde25a64d972185cde0ba7c46 /pkg/sentry/socket/unix
parent663fe840f79ac3d8e2ce1a1f1409d84cf2a9d37e (diff)
Do IPv6 Stateless Address Auto-Configuration (SLAAC)
This change allows the netstack to do SLAAC as outlined by RFC 4862 section 5.5. Note, this change will not break existing uses of netstack as the default configuration for the stack options is set in such a way that SLAAC will not be performed. See `stack.Options` and `stack.NDPConfigurations` for more details. This change reuses 1 option and introduces a new one that is required to take advantage of SLAAC, all available under NDPConfigurations: - HandleRAs: Whether or not NDP RAs are processes - AutoGenGlobalAddresses: Whether or not SLAAC is performed. Also note, this change does not deprecate SLAAC generated addresses after the preferred lifetime. That will come in a later change (b/143713887). Currently, only the valid lifetime is honoured. Tests: Unittest to make sure that SLAAC generates and adds addresses only when configured to do so. Tests also makes sure that conflicts with static addresses do not modify the static address. PiperOrigin-RevId: 284265317
Diffstat (limited to 'pkg/sentry/socket/unix')
0 files changed, 0 insertions, 0 deletions