On Wed, Sep 11, 2024 at 2:57 PM Antonio Ojea <aojea@xxxxxxxxxx> wrote: > > The TPROXY functionality is widely used, however, there are only mptcp > selftests covering this feature. > > The selftests represent the most common scenarios and can also be used > as selfdocumentation of the feature. > > UDP and TCP testcases are split in different files because of the > different nature of the protocols, specially due to the challenges that > present to reliable test UDP due to the connectionless nature of the protocol. > UDP only covers the scenarios involving the prerouting hook. > > The UDP tests are signfinicantly slower than the TCP ones, hence they > use a larger timeout, 20 seconds on a 48 vCPU Intel(R) Xeon(R) CPU @ 2.60GHz > > > Signed-off-by: Antonio Ojea <aojea@xxxxxxxxxx> > You probably want to add this change : diff --git a/tools/testing/selftests/net/netfilter/config b/tools/testing/selftests/net/netfilter/config index b2dd4db45215013df98756be09b5e45759c87415..c5fe7b34eaf19a39777a161ccb58400d446ab585 100644 --- a/tools/testing/selftests/net/netfilter/config +++ b/tools/testing/selftests/net/netfilter/config @@ -81,6 +81,7 @@ CONFIG_NFT_QUEUE=m CONFIG_NFT_QUOTA=m CONFIG_NFT_REDIR=m CONFIG_NFT_SYNPROXY=m +CONFIG_NFT_TPROXY=m CONFIG_VETH=m CONFIG_VLAN_8021Q=m CONFIG_XFRM_USER=m