mirror of https://github.com/fail2ban/fail2ban
amend for 3036ed18893b6aae6619e53201aa53deb701b94f: resolve deprecated syntax (eliminate "invalid sequence" warnings)
parent
f69a8693fc
commit
939f0d43e0
|
@ -1375,7 +1375,7 @@ class Fail2banServerTest(Fail2banClientServerBase):
|
|||
"action = test-action1[name='%(__name__)s']",
|
||||
" test-action2[name='%(__name__)s']",
|
||||
"logpath = " + test1log,
|
||||
"failregex = ^\s*failure <F-ERRCODE>401|403</F-ERRCODE> from <HOST>:\s*<F-MSG>.*</F-MSG>$",
|
||||
r"failregex = ^\s*failure <F-ERRCODE>401|403</F-ERRCODE> from <HOST>:\s*<F-MSG>.*</F-MSG>$",
|
||||
"enabled = true",
|
||||
"",
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue