Viktor Szépe 2017-07-11 14:46:02 +02:00
parent 776d4a85ec
commit b517e02cda
1 changed files with 22 additions and 0 deletions

@ -0,0 +1,22 @@
I am missing fail2ban so much on cheap shared hosting that I've _rewritten_ it in PHP.
### Actions
There are several kinds of banning (I call them methods, not actions)
- Apache RewriteMap + RewriteRule [F]
- Apache SetEnvIf + Deny
- CloudFlare API
- Respond with HTTP 403 (and no further banning)
- Nginx user config (TODO)
- Tarpit (and no further banning)
- WordPress plugin based
See https://github.com/szepeviktor/wordpress-fail2ban/tree/master/miniban
### Features
- whitelist
- ban time
- unban
- etc.