-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'testing-make-netfilter-selftests-functional-in-vng-envi…
…ronment' Florian Westphal says: ==================== testing: make netfilter selftests functional in vng environment This is the second batch of the netfilter selftest move. Changes since v1: - makefile and kernel config are updated to have all required features - fix makefile with missing bits to make kselftest-install work - test it via vng as per https://github.com/linux-netdev/nipa/wiki/How-to-run-netdev-selftests-CI-style (Thanks Jakub!) - squash a few fixes, e.g. nft_queue.sh v1 had a race w. NFNETLINK_QUEUE=m - add a settings file with 8m timeout, for nft_concat_range.sh sake. That script can be sped up a bit, I think, but its not contained in this batch yet. - toss the first two bogus rebase artifacts (Matthieu Baerts) scripts are moved to lib.sh infra. This allows to use busywait helper and ditch various 'sleep 2' all over the place. Tested on Fedora 39: vng --build --config tools/testing/selftests/net/netfilter/config make -C tools/testing/selftests/ TARGETS=net/netfilter vng -v --run . --user root --cpus 2 -- \ make -C tools/testing/selftests TARGETS=net/netfilter run_tests ... all tests pass except nft_audit.sh which SKIPs due to nft version mismatch (Fedora is on nft 1.0.7 which lacks reset keyword support). Missing/WIP bits: - speed up nf_concat_range.sh test - extend flowtable selftest - shellcheck fixups for remaining scripts ==================== Link: https://lore.kernel.org/r/20240418152744.15105-1-fw@strlen.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
- Loading branch information
Showing
12 changed files
with
498 additions
and
520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,87 @@ | ||
CONFIG_AUDIT=y | ||
CONFIG_BPF_SYSCALL=y | ||
CONFIG_BRIDGE=m | ||
CONFIG_BRIDGE_EBT_BROUTE=m | ||
CONFIG_BRIDGE_EBT_IP=m | ||
CONFIG_BRIDGE_EBT_REDIRECT=m | ||
CONFIG_BRIDGE_EBT_T_FILTER=m | ||
CONFIG_BRIDGE_NETFILTER=m | ||
CONFIG_BRIDGE_NF_EBTABLES=m | ||
CONFIG_CGROUP_BPF=y | ||
CONFIG_DUMMY=m | ||
CONFIG_INET_ESP=m | ||
CONFIG_IP_NF_MATCH_RPFILTER=m | ||
CONFIG_IP6_NF_MATCH_RPFILTER=m | ||
CONFIG_IP_NF_IPTABLES=m | ||
CONFIG_IP6_NF_IPTABLES=m | ||
CONFIG_IP_NF_FILTER=m | ||
CONFIG_IP6_NF_FILTER=m | ||
CONFIG_IP_NF_RAW=m | ||
CONFIG_IP6_NF_RAW=m | ||
CONFIG_IP_SCTP=m | ||
CONFIG_IP_VS=m | ||
CONFIG_IP_VS_PROTO_TCP=y | ||
CONFIG_IP_VS_RR=m | ||
CONFIG_IPV6=y | ||
CONFIG_IPV6_MULTIPLE_TABLES=y | ||
CONFIG_MACVLAN=m | ||
CONFIG_NAMESPACES=y | ||
CONFIG_NET_CLS_U32=m | ||
CONFIG_NET_L3_MASTER_DEV=y | ||
CONFIG_NET_NS=y | ||
CONFIG_NET_SCH_NETEM=m | ||
CONFIG_NET_SCH_HTB=m | ||
CONFIG_NET_IPIP=m | ||
CONFIG_NET_VRF=y | ||
CONFIG_NETFILTER=y | ||
CONFIG_NETFILTER_ADVANCED=y | ||
CONFIG_NETFILTER_NETLINK=m | ||
CONFIG_NETFILTER_NETLINK_QUEUE=m | ||
CONFIG_NETFILTER_SYNPROXY=m | ||
CONFIG_NETFILTER_XTABLES=m | ||
CONFIG_NETFILTER_XT_NAT=m | ||
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m | ||
CONFIG_NETFILTER_XT_MATCH_STATE=m | ||
CONFIG_NETFILTER_XT_MATCH_STRING=m | ||
CONFIG_NETFILTER_XT_TARGET_REDIRECT=m | ||
CONFIG_NF_CONNTRACK=m | ||
CONFIG_NF_CONNTRACK_EVENTS=m | ||
CONFIG_NF_CONNTRACK_EVENTS=y | ||
CONFIG_NF_CONNTRACK_FTP=m | ||
CONFIG_NF_CONNTRACK_MARK=y | ||
CONFIG_NF_CONNTRACK_ZONES=y | ||
CONFIG_NF_CT_NETLINK=m | ||
CONFIG_NF_CT_PROTO_SCTP=y | ||
CONFIG_NF_FLOW_TABLE=m | ||
CONFIG_NF_LOG_IPV4=m | ||
CONFIG_NF_LOG_IPV6=m | ||
CONFIG_NF_NAT=m | ||
CONFIG_NF_NAT_REDIRECT=y | ||
CONFIG_NF_NAT_MASQUERADE=y | ||
CONFIG_NF_TABLES=m | ||
CONFIG_NF_TABLES_BRIDGE=m | ||
CONFIG_NF_TABLES_INET=y | ||
CONFIG_NF_TABLES_IPV4=y | ||
CONFIG_NF_TABLES_IPV6=y | ||
CONFIG_NF_TABLES_NETDEV=y | ||
CONFIG_NF_FLOW_TABLE_INET=m | ||
CONFIG_NFT_BRIDGE_META=m | ||
CONFIG_NFT_COMPAT=m | ||
CONFIG_NFT_CT=m | ||
CONFIG_NFT_FIB=m | ||
CONFIG_NFT_FIB_INET=m | ||
CONFIG_NFT_FIB_IPV4=m | ||
CONFIG_NFT_FIB_IPV6=m | ||
CONFIG_NFT_FLOW_OFFLOAD=m | ||
CONFIG_NFT_LIMIT=m | ||
CONFIG_NFT_LOG=m | ||
CONFIG_NFT_MASQ=m | ||
CONFIG_NFT_NAT=m | ||
CONFIG_NFT_NUMGEN=m | ||
CONFIG_NFT_QUEUE=m | ||
CONFIG_NFT_QUOTA=m | ||
CONFIG_NFT_REDIR=m | ||
CONFIG_NFT_SYNPROXY=m | ||
CONFIG_VETH=m | ||
CONFIG_VLAN_8021Q=m | ||
CONFIG_XFRM_USER=m | ||
CONFIG_XFRM_STATISTICS=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.