mirror of https://github.com/fail2ban/fail2ban
Update nginx-tls-fallback.conf
more precise and conclusive regex without catch-all'spull/2881/head
parent
c0256724a7
commit
d959f6d199
|
@ -5,12 +5,10 @@
|
||||||
[Definition]
|
[Definition]
|
||||||
|
|
||||||
|
|
||||||
failregex = ^ \[crit\] \d+#\d+: \*\d+ SSL_do_handshake\(\) failed.*?ssl3_get_record.*?too.*?, client: <HOST>, server: \S+$
|
failregex = ^\s*\[crit\] \d+#\d+: \*\d+ SSL_do_handshake\(\) failed \(SSL: error:\S+(?: \S+){1,3} too (?:long|short)\)[^,]*, client: <HOST>
|
||||||
|
|
||||||
ignoreregex =
|
ignoreregex =
|
||||||
|
|
||||||
datepattern = {^LN-BEG}
|
datepattern = {^LN-BEG}
|
||||||
|
|
||||||
# Author: Stephan Orlowsky
|
# Author: Stephan Orlowsky
|
||||||
# maybe not restrictive enough, will also match:
|
|
||||||
#"[crit] 76952#76952: *5062354 SSL_do_handshake() failed ssl3_get_record too, client: 0.0.0.0, server: thisshouldntmatch"
|
|
||||||
|
|
Loading…
Reference in New Issue