[arch-general] Archlinux fail2ban not working
ralph at inputplus.co.uk
Sat Nov 9 15:42:47 UTC 2019
> > > > failregex = ^\S+: Unknown User .* \(<HOST>\)$
> > >
> > > Thanks for your help but not working...
> > > https://imgur.com/a/w0F2JSC
> > That image shows
> > Unknown User .* \(<HOST>:.*\)
> > but that's not what I suggested, e.g. you have a colon after the <HOST>
> > and as there is no colon in ‘(126.96.36.199)’ then the regexp is not
> > going to match.
> what you suggested didn't work either
You still aren't trying what I suggested. The regexp I'm suggesting is
for fail2ban. It can't be put into regex101.com unaltered. Nor can the
test input be the line to match against because fail2ban alters it
before applying the regular expression.
I suggest you test and develop the regexp you want using fail2ban,
More information about the arch-general