File: bitflags.nft

package info (click to toggle)
rust-nftables 0.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 564 kB
  • sloc: sh: 11; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 216 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/sbin/nft -f

flush ruleset

table inet filter {

	chain input {
	     tcp flags and syn == syn|ack drop
	     tcp flags and (syn|ack|fin|rst) == syn drop
	     tcp flags and (syn|ack|fin|rst) == syn|ack drop
	}
}