Skip to content

Instantly share code, notes, and snippets.

@ruhudox
Last active July 31, 2019 16:03
Show Gist options
  • Save ruhudox/847eb7a2e2b0ec9ecacdce5110a7c936 to your computer and use it in GitHub Desktop.
Save ruhudox/847eb7a2e2b0ec9ecacdce5110a7c936 to your computer and use it in GitHub Desktop.
Stopping bruteforce at examplespace.info servers with the help of fail2ban
# Fail2Ban config to prevent bruteforce against our infra
[apache-noscript]
enabled = true
port = http
logpath = /var/log/apache2/error.log
maxretry = 20
[apache-overflows]
enabled = true
port = http
logpath = /var/log/apache2/error.log
maxretry = 20
[apache-botsearch]
enabled = true
port = http
logpath = /var/log/apache2/error.log
maxretry = 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment