Page MenuHomeFreeBSD

ndp: implement delayed anycast and proxy NA
Needs ReviewPublic

Authored by pouria on Fri, Feb 6, 8:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 12, 2:56 AM
Unknown Object (File)
Wed, Feb 11, 1:59 PM
Unknown Object (File)
Tue, Feb 10, 1:11 AM
Unknown Object (File)
Mon, Feb 9, 6:53 PM
Unknown Object (File)
Mon, Feb 9, 6:42 PM
Unknown Object (File)
Mon, Feb 9, 5:42 PM
Subscribers

Details

Reviewers
glebius
zlei
madpilot
bz
markj
Group Reviewers
network
Summary

the following items are implemented:

  • proxy advertisement delay rule (RFC4861 7.2.8, last paragraph, SHOULD)
  • anycast advertisement delay rule (RFC4861 7.2.7, SHOULD)
Test Plan

set an anycast address on host A

ifconfig vtnet0 inet6 3fff::1 anycast

ping it from host B

ping -c2 3fff::1

your first response must have a random delay between 0 and 1 seconds.
repeat this process by removing the ndp cache from host B and you must see a
different response time.

ndp -d 3fff::1
ping -c2 3fff::1

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 70611
Build 67494: arc lint + arc unit