Skip to content

Instantly share code, notes, and snippets.

@pointhi
Created April 17, 2016 12:22
Show Gist options
  • Save pointhi/04011e4ad00001612b5042f7aef5e1f3 to your computer and use it in GitHub Desktop.
Save pointhi/04011e4ad00001612b5042f7aef5e1f3 to your computer and use it in GitHub Desktop.
# Fail2Ban configuration file
#
# List of json requests using searx
#
# Author: Thomas Pointhuber
#
# revision: 1.0
#
[Definition]
# Option: failregex
# Notes.: Regexp to catch rss requests
# Values: TEXT
#
failregex = ^<HOST> -.*"(GET|POST)\s/(search)?.*&format=json
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
#
ignoreregex =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment