XaF / fail2ban-subnets

fail2ban-subnets aims to provide a way to ban subnets of IPs repeatingly banned by fail2ban for multiple offenses.
11 stars 3 forks source link

Can't (re)start jail from fail2ban-client #6

Open timjaknz opened 5 years ago

timjaknz commented 5 years ago

When starting or restarting the jail from fail2ban-client it fails with NOK Jail not found. In the fail2ban log get I "...fail2ban.transmitter [21094]: WARNING Command ['start', 'subnets'] has failed. Received UnknownJailException('subnets',)". But perhaps my jails are not configured correctly.

It starts fine if I stop and start the fail2ban server process.

Also I have updated iptables.subnet.conf for the latest version of fail2ban, so supports and parameters. It's attached as a txt file below.

Great little addition by the way. Cheers Tim Jackson iptables-subnet.conf.txt