Skip to content

Instantly share code, notes, and snippets.

@markwalkom
Created December 28, 2015 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markwalkom/cd8b4a9f82c442079284 to your computer and use it in GitHub Desktop.
Save markwalkom/cd8b4a9f82c442079284 to your computer and use it in GitHub Desktop.
fail2ban patterns
F2B_DATE %{YEAR}-%{MONTHNUM}-%{MONTHDAY}[ ]%{HOUR}:?%{MINUTE}(?::?%{SECOND})
F2B_ACTION (\w+)\.(?:\w+)(\s+)?\:
F2B_JAIL \[(?<jail>\w+\-?\w+?)\]
F2B_LEVEL (?<level>\w+)\s+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment