Skip to content

Instantly share code, notes, and snippets.

@aadps
Last active September 6, 2021 09:32
Show Gist options
  • Save aadps/926791feb7dcb550a42723ab751e8dd1 to your computer and use it in GitHub Desktop.
Save aadps/926791feb7dcb550a42723ab751e8dd1 to your computer and use it in GitHub Desktop.
Wordpress DDoS filter for fail2ban
[Definition]
failregex = ^<HOST> - - \[\] ".*" 30[12] \d+ ".*" "[^-].*".*$
ignoreregex =
datepattern = ^[^\[]*\[({DATE})
{^LN-BEG}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment