2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
10 banaction = nftables[type=allports]
17 bantime.increment = true
20 # prevent being abused for possible amplification attacks:
21 # retrying too much after already being banned leads to an additional "drop" ban.
24 # for some weird reason we need to define chain somewhere else than table + priority. - bug?
25 #banaction = nftables[type=allports, table=f2b-table-roff, chain=f2b-chain-roff, chain_priority=-2, blocktype="counter log prefix \"NFT:f2b-chain:DROP-banned; \" drop"]
27 banaction = nftables[type=allports, chain=f2b-chain-roff-ignored, chain_priority=-2, blocktype=counter log prefix \"NFT:f2b-chain:DROP-banned\; \" drop]
28 logpath = /var/log/syslog