Page MenuHomeFreeBSD

Fix TCP MD5 computation for TCP over UDP
ClosedPublic

Authored by tuexen on Jun 18 2023, 2:00 PM.
Tags
None
Referenced Files
F102690755: D40596.diff
Fri, Nov 15, 10:12 PM
Unknown Object (File)
Oct 2 2024, 3:40 PM
Unknown Object (File)
Oct 2 2024, 9:21 AM
Unknown Object (File)
Oct 1 2024, 9:30 PM
Unknown Object (File)
Sep 27 2024, 9:23 PM
Unknown Object (File)
Sep 27 2024, 3:37 PM
Unknown Object (File)
Sep 19 2024, 1:25 PM
Unknown Object (File)
Aug 30 2024, 2:09 PM
Subscribers

Details

Summary

The UDP header needs to be skipped similar to IPv6 extension headers.

Test Plan

Run the corresponding packetdrill tests from the setsockopt group.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Have you checked if OpenBGPd can establish a MD5 authenticated session via TCP over UDP? Do other stacks support MD5 on TCP over UDP? (just curious).

This revision is now accepted and ready to land.Jun 19 2023, 8:41 AM

Have you checked if OpenBGPd can establish a MD5 authenticated session via TCP over UDP? Do other stacks support MD5 on TCP over UDP? (just curious).

I only tested with packetdrill. Not sure. if OpenBGPd support TCP over UDP. I have tested with the default, RACK and BBR stack. Not sure if other OSes support TCP over UDP. But this allows to build a TCP stack in userland...