- [Improvement]: updated dependencies, test with Go 1.22.
- [New API] PR:
ndp.PREF64
implements the PREF64 option as defined in RFC 8781. Thanks @jmbaur for the contribution.
- [Improvement]: updated dependencies, test with Go 1.20.
- [Improvement]: switch from
math/rand
tocrypto/rand
for Nonce generation.
First stable release, no API changes since v0.10.0.
- [API Change]
commit:
ndp.CaptivePortal
andndp.MTU
are now structs to allow for better extensibility.ndp.NewCaptivePortal
now does argument validation and returns an error for various cases.ndp.Unrestricted
is available to specify "no captive portal". - [New API]
commit:
ndp.Nonce
implements the NDP Nonce option as described in RFC 3971. Though this library does not implement Secure Neighbor Discovery (SEND) as of today, this option can also be used for Enhanced Duplicate Address Detection (DAD).
This is the first release of package ndp
that only supports Go 1.18+ due to
the use of net/netip
. Users on older versions of Go must use v0.8.0.
- [Improvement]: cut over from
net.IP
tonetip.Addr
throughout - [API Change]: drop
ndp.TestConns
; this API was awkward and didn't test actual ICMPv6 functionality. Users are encouraged to either run privileged ICMPv6 tests or to swap out*ndp.Conn
via an interface. - [Improvement]: drop a lot of awkward test functionality related to unprivileged UDP connections to mock out ICMPv6 connections
First release of package ndp
based on the APIs that have been stable for years
with net.IP
.
This is the first and last release of package ndp
which supports Go 1.17 or
older. Future versions will require Go 1.18 and net/netip
.