[ovs-dev] [PATCH v5] conntrack: document all-zero IP SNAT behavior and add a test case

Paolo Valerio pvalerio at redhat.com
Tue Jun 22 16:51:55 UTC 2021

Eelco Chaudron <echaudro at redhat.com> writes:

> Currently, conntrack in the kernel has an undocumented feature referred
> to as all-zero IP address SNAT. Basically, when a source port
> collision is detected during the commit, the source port will be
> translated to an ephemeral port. If there is no collision, no SNAT is
> performed.
> This patchset documents this behavior and adds a self-test to verify
> it's not changing. In addition, a datapath feature flag is added for
> the all-zero IP SNAT case. This will help applications on top of OVS,
> like OVN, to determine this feature can be used.
> Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
> Acked-by: Aaron Conole <aconole at redhat.com>
> Acked-by: Dumitru Ceara <dceara at redhat.com>
> ---

Acked-by: Paolo Valerio <pvalerio at redhat.com>

More information about the dev mailing list