summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/packetpath/dumps/tcp_reset.nft
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shell/testcases/packetpath/dumps/tcp_reset.nft')
-rw-r--r--tests/shell/testcases/packetpath/dumps/tcp_reset.nft13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/shell/testcases/packetpath/dumps/tcp_reset.nft b/tests/shell/testcases/packetpath/dumps/tcp_reset.nft
new file mode 100644
index 00000000..fb3df1af
--- /dev/null
+++ b/tests/shell/testcases/packetpath/dumps/tcp_reset.nft
@@ -0,0 +1,13 @@
+table inet filter {
+ chain input {
+ type filter hook input priority filter; policy accept;
+ meta nftrace set 1
+ ip daddr 127.0.0.1 tcp dport 5555 reject with tcp reset
+ ip6 daddr ::1 tcp dport 5555 reject with tcp reset
+ tcp dport 5555 counter packets 0 bytes 0
+ }
+
+ chain output {
+ type filter hook output priority filter; policy accept;
+ }
+}