文件操作 - slapd.conf
返回文件管理
返回主菜单
删除本文件
文件: /fail2ban/config/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 prefregex = ^%(__prefix_line)sconn=<F-MLFID>\d+</F-MLFID>(?: (?:fd|op)=\d+){0,2} (?=ACCEPT|RESULT)<F-CONTENT>.+</F-CONTENT>$ failregex = ^<F-NOFAIL>ACCEPT</F-NOFAIL> from IP=<ADDR>:\d{1,5}\s+ ^RESULT(?:\s(?!err)\S+=\S*)* err=49\b ignoreregex = # Author: Andrii Melnyk, Sergey G. Brester
修改文件时间
将文件时间修改为当前时间的前一年
删除文件