diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-21 20:59:06 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-22 10:14:10 +0100 |
commit | 72753990520d51c18f91db0412c05ca46a92e45e (patch) | |
tree | 22103066ea1af5c35a7ed1eaefe69dae9de271c2 /tests/shell/testcases/sets/dumps/0024synproxy_0.nft | |
parent | 8ecf78c181ad7afa727f84460042fba7378d9c0e (diff) |
tests: shell: detach synproxy test
Old kernels do not support synproxy, split existing tests with stateful objects.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/sets/dumps/0024synproxy_0.nft')
-rw-r--r-- | tests/shell/testcases/sets/dumps/0024synproxy_0.nft | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/shell/testcases/sets/dumps/0024synproxy_0.nft b/tests/shell/testcases/sets/dumps/0024synproxy_0.nft new file mode 100644 index 00000000..e0ee86db --- /dev/null +++ b/tests/shell/testcases/sets/dumps/0024synproxy_0.nft @@ -0,0 +1,23 @@ +table inet x { + synproxy https-synproxy { + mss 1460 + wscale 7 + timestamp sack-perm + } + + synproxy other-synproxy { + mss 1460 + wscale 5 + } + + map test2 { + type ipv4_addr : synproxy + flags interval + elements = { 192.168.1.0/24 : "https-synproxy", 192.168.2.0/24 : "other-synproxy" } + } + + chain y { + type filter hook input priority filter; policy accept; + synproxy name ip saddr map { 192.168.1.0/24 : "https-synproxy", 192.168.2.0/24 : "other-synproxy" } + } +} |