Difference between revisions of "/etc/fail2ban/fail2ban.conf"

From wikieduonline
Jump to navigation Jump to search
(Created page with " cat /etc/fail2ban/fail2ban.conf | grep -v "#" | grep . [DEFAULT] loglevel = INFO logtarget = /var/log/fail2ban.log syslogsocket = auto socket = /var/run/fail2ban/fail2ba...")
 
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
  [Definition]
 
  [Definition]
 
  [Thread]
 
  [Thread]
 +
 +
 +
 +
ignoreip = 10.10.1.0/24 10.10.99.0/24
 +
maxretry = 5
  
  

Latest revision as of 06:47, 9 November 2020

cat /etc/fail2ban/fail2ban.conf | grep -v "#" | grep .
[DEFAULT]
loglevel = INFO
logtarget = /var/log/fail2ban.log
syslogsocket = auto
socket = /var/run/fail2ban/fail2ban.sock
pidfile = /var/run/fail2ban/fail2ban.pid
dbfile = /var/lib/fail2ban/fail2ban.sqlite3
dbpurgeage = 1d
dbmaxmatches = 10
[Definition]
[Thread]


ignoreip = 10.10.1.0/24 10.10.99.0/24
maxretry = 5


See also[edit]

  • https://serverfault.com/a/608976
  • Advertising: