文件操作 - slapd.conf
返回文件管理
返回主菜单
删除本文件
文件: /etc/fail2ban/filter.d/slapd.conf
编辑文件内容
# slapd (Stand-alone LDAP Daemon) openldap daemon filter # # Detecting invalid credentials: error code 49 # http://www.openldap.org/doc/admin24/appendix-ldap-result-codes.html#invalidCredentials (49) [INCLUDES] # Read common prefixes. If any customizations available -- read them from # common.local before = common.conf [Definition] _daemon = slapd failregex = ^(?P<__prefix>%(__prefix_line)s)conn=(?P<_conn_>\d+) fd=\d+ ACCEPT from IP=<HOST>:\d{1,5} \(IP=\S+\)\s*<SKIPLINES>(?P=__prefix)conn=(?P=_conn_) op=\d+ RESULT(?:\s(?!err)\S+=\S*)* err=49 text=[\w\s]*$ ignoreregex = [Init] # "maxlines" is number of log lines to buffer for multi-line regex searches maxlines = 20 # Author: Andrii Melnyk
修改文件时间
将文件时间修改为当前时间的前一年
删除文件