Page 1 of 1

fail2ban on ubuntu 16.04

Posted: Thu Sep 29, 2016 11:16 am
by wuxmedia
I doubt anyone really needs this, just posting here as a reminder and just in case someone needs it.
So ubuntu 16.04 runs systemd - thats ok by me, can't be arsed to remove it.
but fail2ban has this backend function, which when set to auto attempts other backends, but doesn't try systemd - which I think is a bit odd as it is the fucking default init..
so anyway, in it's default state it appears to run, starts with no errors and gives all the right output expect never bans anything.

update this line:

Code: Select all

backend = auto
to

Code: Select all

backend = systemd
then restart fail2ban and it all works.
grumble mumble.

Big props to my Hungarian colleague who painfully dealt with me moaning at him and pointed me in the right direction.

Re: fail2ban on ubuntu 16.04

Posted: Sat Oct 01, 2016 4:50 pm
by machinebacon
for the record: no, wux and I don't work for the same company :D

Re: fail2ban on ubuntu 16.04

Posted: Sat Oct 01, 2016 5:13 pm
by wuxmedia
oh yeash indeed ;)
He is nearly as good a trouble shooter as you, good job with the network he has to manage...