aboutgitcodebugslistschat
path: root/test
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-01-16 11:59:22 +1100
committerStefano Brivio <sbrivio@redhat.com>2026-01-18 12:47:58 +0100
commita0af19f858d119da4a9deff1ea6d488545e99c5c (patch)
treeb3043aa22434c883cc8c8cad6d70dbe8bceaf71b /test
parent03a9c4b2eb3f1708e9ef5e4241cbda6a08aefc94 (diff)
downloadpasst-a0af19f858d119da4a9deff1ea6d488545e99c5c.tar
passt-a0af19f858d119da4a9deff1ea6d488545e99c5c.tar.gz
passt-a0af19f858d119da4a9deff1ea6d488545e99c5c.tar.bz2
passt-a0af19f858d119da4a9deff1ea6d488545e99c5c.tar.lz
passt-a0af19f858d119da4a9deff1ea6d488545e99c5c.tar.xz
passt-a0af19f858d119da4a9deff1ea6d488545e99c5c.tar.zst
passt-a0af19f858d119da4a9deff1ea6d488545e99c5c.zip
fwd: Generate auto-forward exclusions from socket fd tables
When auto-forwarding based on port scans, we must exclude our own listening ports, to avoid circular forwards. Currently we use the (previous value of the) forwarding bitmaps for the reverse direction to determine that. Instead, generate it from the tables of listening sockets that we now maintain. For now this seems like a lot more work to get to the same place. However, it does mean we're basing our exclusions directly on the relevant information: which of the scanned listens belong to us. More importantly, it's a step towards removing the bitmaps entirely. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions