Page MenuHomeFreeBSD

tcp: Rack not being very friendly with V6:4 socket and having a connection from V4
ClosedPublic

Authored by rrs on Jun 24 2021, 6:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 9, 1:47 PM
Unknown Object (File)
Aug 13 2026, 8:15 PM
Unknown Object (File)
Aug 12 2026, 12:22 PM
Unknown Object (File)
Aug 11 2026, 11:06 PM
Unknown Object (File)
Aug 11 2026, 7:43 AM
Unknown Object (File)
Aug 10 2026, 8:09 PM
Unknown Object (File)
Aug 10 2026, 8:09 PM
Unknown Object (File)
Aug 10 2026, 4:51 PM

Details

Summary

There were two bugs that prevented V4 sockets from connecting to
a rack server running a V4/V6 socket. As well as a bug that stops the
mapped v4 in V6 address from working.

This fix addresses each bug.

Test Plan

make sure that a simple server and client running the different permutations works i.e.

V4-6 socket on server
client server
V6 ->
V4 ->
V4MappedV6 ->

Diff Detail

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