文件操作 - jail.local
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/fail2ban/jail.local
编辑文件内容
[DEFAULT] # Ban hosts for one hour: bantime = 3600 # Override /etc/fail2ban/jail.d/00-firewalld.conf: banaction = iptables-multiport [sshd] enabled = true # ross https://www.howtoforge.com/community/threads/postfix-mail-log-lots-of-connect-from-unknown-lost-connection-after-auth-and-localhost-too.83402/ [postfix-aggressive] enabled = true filter = postfix[mode=aggressive] port = smtp,465,submission logpath = %(postfix_log)s backend = %(postfix_backend)s
修改文件时间
将文件时间修改为当前时间的前一年
删除文件