summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/dumps/0026named_limit_0.nft
blob: e4daa28c6ae58bff1efb16a74afb21a19ffee6c8 (plain)
1
2
3
4
5
6
7
8
9
10
table ip filter {
	limit http-traffic {
		rate 1/second
	}

	chain input {
		type filter hook input priority filter; policy accept;
		limit name tcp dport map { 80 : "http-traffic", 443 : "http-traffic" }
	}
}