diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-11-19 15:26:34 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-11-21 04:17:22 +0100 |
| commit | be1583f6ea608ed4f7b1409e7ed35237c79a14df (patch) | |
| tree | 8deb281ee0a28bed73758c28fb5707c59624ae78 /test/lib/git: | |
| parent | fd3fc8d33d6c4344c59a60af16b074515b3da739 (diff) | |
| download | passt-be1583f6ea608ed4f7b1409e7ed35237c79a14df.tar passt-be1583f6ea608ed4f7b1409e7ed35237c79a14df.tar.gz passt-be1583f6ea608ed4f7b1409e7ed35237c79a14df.tar.bz2 passt-be1583f6ea608ed4f7b1409e7ed35237c79a14df.tar.lz passt-be1583f6ea608ed4f7b1409e7ed35237c79a14df.tar.xz passt-be1583f6ea608ed4f7b1409e7ed35237c79a14df.tar.zst passt-be1583f6ea608ed4f7b1409e7ed35237c79a14df.zip | |
fwd: Don't explicitly exclude reverse-direction TCP ports for UDP
In auto-forwarding mode, we forward UDP ports for which there isn't (yet)
a listening UDP port on the other side, but where there is a listening
TCP socket for the same port number. This is useful for certain protocols
such as iperf3.
Correspondinly, when excluding ports from forwarding, we also exclude TCP
ports from the other direction. That sounds like it makes sense, but is
unnecessary: for the purposes of exclusion, we don't care why we have a
listening UDP socket for that port, just whether we have one. That is
already incorporated into the UDP bitmap alone.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/git:')
0 files changed, 0 insertions, 0 deletions
