暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

etc_fail2ban_jail.local.j2 583B

12345678910111213141516171819202122232425262728293031323334
  1. [DEFAULT]
  2. ignoreip = 127.0.0.1 {{ server_ip_address }}
  3. bantime = 86400
  4. destemail = {{ admin_email }}
  5. banaction = iptables-multiport
  6. action = %(action_mwl)s
  7. # JAILS
  8. [ssh]
  9. enabled = true
  10. maxretry = 3
  11. [pam-generic]
  12. enabled = true
  13. banaction = iptables-allports
  14. [ssh-ddos]
  15. enabled = true
  16. [apache]
  17. enabled = true
  18. [postfix]
  19. enabled = true
  20. maxretry = 1
  21. [dovecot-pop3imap]
  22. enabled = true
  23. filter = dovecot-pop3imap
  24. action = iptables-multiport[name=dovecot-pop3imap, port="pop3,imap", protocol=tcp]
  25. logpath = /var/log/maillog
  26. maxretry = 20
  27. findtime = 1200
  28. bantime = 1200