fix sshd rule #2

in line 58, rule don't match with "%(__suff)s" but work fine if I replace with "%(__on_port_opt)s"
Debian 9 stretch : fail2ban 0.10.3
pull/2062/head
MatthieuBarbu 2018-03-02 18:27:06 +01:00 committed by sebres
parent e9a43f739c
commit 6b5516b851
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ cmnfailre = ^[aA]uthentication (?:failure|error|failed) for <F-USER>.*</F-USER>
mdre-normal =
mdre-ddos = ^Did not receive identification string from <HOST>%(__suff)s$
mdre-ddos = ^Did not receive identification string from <HOST>%(__on_port_opt)s
^Connection <F-MLFFORGET>reset</F-MLFFORGET> by <HOST>%(__on_port_opt)s%(__suff)s
^<F-NOFAIL>SSH: Server;Ltype:</F-NOFAIL> (?:Authname|Version|Kex);Remote: <HOST>-\d+;[A-Z]\w+:
^Read from socket failed: Connection <F-MLFFORGET>reset</F-MLFFORGET> by peer%(__suff)s