Last active
October 30, 2019 03:44
-
-
Save tuklusan/c6caa7d2d9c3844eaf522aae371039db to your computer and use it in GitHub Desktop.
Got Fail2Ban working? Have a Web Server running? Post a public blocklist for others to use! Complete guide: http://supratim-sanyal.blogspot.com/2016/09/got-fail2ban-working-have-web-server.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/cron.d/dump-fail2ban-blocklist | |
SHELL=/bin/bash | |
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin | |
MAILTO="" | |
HOME=/ | |
# Every 7th minute past the hour, dump the fail2ban blocklist | |
7 * * * * root /root/security/dump-fail2ban-blocklist.sh >/var/log/dump-fail2ban-blocklist.log 2>&1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment