Page MenuHomeFreeBSD

LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT)
Needs ReviewPublic

Authored by damjan.jov_gmail.com on Tue, Sep 17, 6:44 PM.
Referenced Files
Unknown Object (File)
Sat, Sep 21, 10:07 PM
Unknown Object (File)
Fri, Sep 20, 2:02 AM
Unknown Object (File)
Thu, Sep 19, 5:40 PM
Unknown Object (File)
Wed, Sep 18, 7:01 PM
Unknown Object (File)
Wed, Sep 18, 12:40 PM

Details

Reviewers
thj
Summary

Make libalias's NAT use endpoint-independent mapping ("full cone NAT") for UDP, conforming to RFC 4787 requirements 1 and 3. All UDP packets sent out from a particular internal address:port leave via the same NAT address:port, regardless of their destination.

Also add some libalias tests, and fix other tests that broke.

Closes: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219918

Test Plan

Tests are included in the patch.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped