Fail2Ban Script for adding blocked IPs

Anything that does not fit elsewhere
Post Reply
Posts: 21
Joined: March 20th, 2019, 7:16 am

Fail2Ban Script for adding blocked IPs

Post by spieler67 » November 11th, 2019, 2:21 pm

Dear all

I've written a script which adds an IP to the list of hosts and group this IP based on a name. With the related firewall rules you can block IPs from connecting to you exposed services (eg. Mail, Web-Server, VoIP-Services).

The background for this script was that I had about 1500 IP's which I blocked because they tried to hack my servers. But as more IPs are in the list the longer it takes to add a new IP to the hosts list and the related groups.

If somebody is interessted I can post the script in the forum.

Best regards

Community Developer
Community Developer
Posts: 5001
Joined: October 9th, 2010, 10:00 am

Re: Fail2Ban Script for adding blocked IPs

Post by ummeegge » November 11th, 2019, 3:42 pm

Hi Rolf,
thanks for the first for your work and your offer. I am interested in it, it might also be an idea to post it on the new community platform --> since this forum here will be partly closed in the next days.



Post Reply