Skip to content

Instantly share code, notes, and snippets.

@Abrynos
Created May 30, 2022 21:32
Show Gist options
  • Save Abrynos/48578f794e0b8c2de19ab5ed63530553 to your computer and use it in GitHub Desktop.
Save Abrynos/48578f794e0b8c2de19ab5ed63530553 to your computer and use it in GitHub Desktop.
fail2ban config for banning on too many authentication failures
[Definition]
failregex = ^<HOST> -.*"(GET|POST|PUT|DELETE|HEAD).*HTTP.*" 401
ignoreregex =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment