fail2ban on ubuntu 16.04

Forum rules
Share your brain ;)
User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

fail2ban on ubuntu 16.04

Unread post by wuxmedia » Thu Sep 29, 2016 11:16 am

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.
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: fail2ban on ubuntu 16.04

Unread post by machinebacon » Sat Oct 01, 2016 4:50 pm

for the record: no, wux and I don't work for the same company :D
..gnutella..

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: fail2ban on ubuntu 16.04

Unread post by wuxmedia » Sat Oct 01, 2016 5:13 pm

oh yeash indeed ;)
He is nearly as good a trouble shooter as you, good job with the network he has to manage...
"Seek, and Ye shall find"
"Github | Chooons | Site"

Post Reply