diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-07-18 15:26:31 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-07-19 18:32:47 +0200 |
commit | e2ea10e246a4e4cd81f6fe53b323a4d2f57e464c (patch) | |
tree | 1b6f3b5b6df73316af98afb9d303de2fb336e743 /tcp_conn.h | |
parent | 52d45f1737ef802b09039aa31b5c137593f3cc2e (diff) | |
download | passt-e2ea10e246a4e4cd81f6fe53b323a4d2f57e464c.tar passt-e2ea10e246a4e4cd81f6fe53b323a4d2f57e464c.tar.gz passt-e2ea10e246a4e4cd81f6fe53b323a4d2f57e464c.tar.bz2 passt-e2ea10e246a4e4cd81f6fe53b323a4d2f57e464c.tar.lz passt-e2ea10e246a4e4cd81f6fe53b323a4d2f57e464c.tar.xz passt-e2ea10e246a4e4cd81f6fe53b323a4d2f57e464c.tar.zst passt-e2ea10e246a4e4cd81f6fe53b323a4d2f57e464c.zip |
tcp: Manage outbound address via flow table
For now when we forward a connection to the host we leave the host side
forwarding address and port blank since we don't necessarily know what
source address and port will be used by the kernel. When the outbound
address option is active, though, we do know the address at least, so we
can record it in the flowside.
Having done that, use it as the primary source of truth, binding the
outgoing socket based on the information in there. This allows the
possibility of more complex rules for what outbound address and/or port
we use in future.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_conn.h')
0 files changed, 0 insertions, 0 deletions