文件操作 - zoneminder.conf
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/fail2ban/filter.d/zoneminder.conf
编辑文件内容
# Fail2Ban filter for Zoneminder login failures [INCLUDES] before = apache-common.conf [Definition] # pattern: [Wed Apr 27 23:12:07.736196 2016] [:error] [pid 2460] [client 10.1.1.1:47296] WAR [Login denied for user "test"], referer: https://zoneminderurl/index.php # # # Option: failregex # Notes.: regex to match the password failure messages in the logfile. failregex = ^%(_apache_error_client)s WAR \[Login denied for user "[^"]*"\] ignoreregex = # Notes: # Tested on Zoneminder 1.29.0 # # Author: John Marzella
修改文件时间
将文件时间修改为当前时间的前一年
删除文件