SERVER-137341ClosedFixed

Fix audit proxy endpoint assertions that assume distinct TCP source ports

h2. Problem The shared audit test helper assumes that a proxied connection always has different remote and directRemote source ports. This is not guaranteed: the client\-to\-proxy and proxy\-to\-server TCP connections have different destination ports, so they may legally use the same ephemeral source port. This causes intermittent failures in audit\_remote\_local\_intermediate.js even when the audit fields are correct. See BF\-45214. h2. Evidence \* BFG\-3468973: July 27, 2026, mongodb\-mongo\

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc10259.0.9
Components
Server components related to this issue
Networking
Labels
Tags and classification

No labels assigned.