Page MenuHomeFreeBSD

Correctly handle the padding for IPv6-AH, as specified by RFC4302
AbandonedPublic

Authored by cem on Jun 4 2018, 4:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 7, 3:35 AM
Unknown Object (File)
Mar 8 2024, 8:17 PM
Unknown Object (File)
Dec 22 2023, 10:44 PM
Unknown Object (File)
Nov 4 2023, 5:01 AM
Unknown Object (File)
Oct 3 2023, 5:02 AM
Unknown Object (File)
Jun 28 2023, 8:40 PM
Unknown Object (File)
Jun 22 2023, 5:59 PM
Unknown Object (File)
May 6 2023, 9:39 PM
Subscribers

Details

Reviewers
ae
Summary

The RFC specifies that under IPv6 the complete AH header must be 64 bit
aligned, and under IPv4, 32 bit aligned. Prior to this change, we (along
with other BSDs and MacOS) had violated this requirement.

This makes it possible to set up IPv6-AH between Linux and BSD, and also
probably between Windows and BSD.

Pulled directly from Maxime Villard's xform_ah.c 1.105 change, aka
b939fe2483972eb43d71bf990cfb7f26dece7839 on NetBSD/src GH.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16997
Build 16865: arc lint + arc unit