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