Skip to content
Bash script to manipulate fail2ban client to unban IP's properly, en masse.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
f2b-nuke.sh

README.md

f2b-nuke

f2b-nuke is a bash script to manipulate fail2ban-client to unban IP's properly, en masse. Interactive script.. no args

This script assumes the following:
You have fail2ban, wc, grep, cat and bash installed.
It also assumes that you are running with a non-root user with sudo privileges.

Usage

Place f2b-nuke.sh in your home directory
Make executable with: chmod +x f2b-nuke.sh
Run with: ./f2b-nuke.sh

Tested

Currently tested to work with ubuntu 14.04, 16.04 and fail2ban v0.9.3, v0.9.6

Notes

This script will create a folder (and ip list files within), in your user's home directory. Prompts ensure you are happy with this. You do not need to run script with sudo; script will run required commands with sudo; you might be prompted for sudo password.

You can’t perform that action at this time.