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
F97063699: D40596.diff
Fri, Sep 27, 3:37 PM
Unknown Object (File)
Thu, Sep 19, 1:25 PM
Unknown Object (File)
Fri, Aug 30, 2:09 PM
Unknown Object (File)
Fri, Aug 30, 2:09 PM
Unknown Object (File)
Fri, Aug 30, 2:09 PM
Unknown Object (File)
Fri, Aug 30, 1:58 PM
Unknown Object (File)
Aug 14 2024, 3:46 PM
Unknown Object (File)
Aug 14 2024, 3:46 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 Skipped
Unit
Tests Skipped

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...