Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitchellkrogza/fail2ban-useful-scripts
A collection of useful scripts for automation of & easing maintenance of Fail2Ban
https://github.com/mitchellkrogza/fail2ban-useful-scripts
Last synced: 7 days ago
JSON representation
A collection of useful scripts for automation of & easing maintenance of Fail2Ban
- Host: GitHub
- URL: https://github.com/mitchellkrogza/fail2ban-useful-scripts
- Owner: mitchellkrogza
- Created: 2016-07-14T08:23:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T10:14:58.000Z (over 6 years ago)
- Last Synced: 2024-10-12T01:43:37.972Z (23 days ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 47
- Watchers: 7
- Forks: 20
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fail2ban-useful-scripts
A collection of useful scripts for automation of & easing maintenance of Fail2Ban## f2b-badips-to-hostsdeny.sh
Bash script for blocking IPs which have been reported to http://www.badips.com
This writes IP entries to your hosts.deny file on Ubuntu and immediately blocks
all the Bad Ip's it collects from accessing SSH on your server## f2b-reset-log-db.sh
This script clears the log file and database of Fail2Ban
This resets Fail2Ban to a completely clean state
Useful to use after you have finished testing all your jails
and completed your initial setup of Fail2Ban and are now
putting the server into LIVE mode