Skip to contentSkip to conversation

selftests/bpf: Enable config options needed for xdp_synproxy test

PATCH Applied Maxim Mikityanskiy 2 participants 2 messages Jun 20, 2022

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/bpf: Enable config options needed for xdp_synproxy test

This commit adds the kernel config options needed to run the recently added xdp_synproxy test. Users without these options will hit errors like this:

test_synproxy:FAIL:iptables -t raw -I PREROUTING -i tmp1 -p
tcp -m tcp --syn --dport 8080 -j CT --notrack unexpected error: 256 (errno 22)

---
 tools/testing/selftests/bpf/config | 6 ++++++
 1 file changed, 6 insertions(+)
tools/testing/selftests/bpf/config +6 -0
index 3b3edc0fc8a6..c05904d631ec 100644
@@ -57,3 +57,9 @@ CONFIG_FPROBE=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_MPTCP=y
+CONFIG_NETFILTER_SYNPROXY=y
+CONFIG_NETFILTER_XT_TARGET_CT=y
+CONFIG_NETFILTER_XT_MATCH_STATE=y
+CONFIG_IP_NF_FILTER=y
+CONFIG_IP_NF_TARGET_SYNPROXY=y
+CONFIG_IP_NF_RAW=y
Signature · 1 line
2.30.2
#1 lore raw
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:

Hello:

This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:

Quoted 9 lines · On Mon, 20 Jun 2022 13:49:39 +0300 you wrote:

This commit adds the kernel config options needed to run the recently added xdp_synproxy test. Users without these options will hit errors like this:

test_synproxy:FAIL:iptables -t raw -I PREROUTING -i tmp1 -p
tcp -m tcp --syn --dport 8080 -j CT --notrack unexpected error: 256 (errno 22)

[...]

Here is the summary with links:
- [bpf-next] selftests/bpf: Enable config options needed for xdp_synproxy test

    https://git.kernel.org/bpf/bpf-next/c/e068c0776b0b

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html