summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/sets/dumps/0026named_limit_0.nft
blob: 5d63ab20bcca68f127d6cb9327a783699ae8bd89 (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 0; policy accept;
		limit name tcp dport map { 80 : "http-traffic", 443 : "http-traffic" }
	}
}