Skip to content

Instantly share code, notes, and snippets.

View dverkade's full-sized avatar

Danny Verkade - Cream dverkade

View GitHub Profile
@dverkade
dverkade / badbot
Created October 24, 2017 20:23 — forked from nawawi/badbot
block bad bot apache+fail2ban
# file /etc/fail2ban/jail.conf
[rutweb-badbot]
enabled = true
filter = rutweb-badbot
action = iptables-multiport[name=badbot, port="80,443"]
logpath = /var/log/httpd/badbot.log
bantime = 600
maxretry = 1
# end file