Difference between revisions of "Template:Failregex"
From Fail2ban
Jump to navigationJump to searchLostcontrol (talk | contribs) |
Lostcontrol (talk | contribs) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | |||
== Failregex == | == Failregex == | ||
The regular expressions below are proposed ''failregex'' for this software. Multiple regular expressions for ''failregex'' will only work with a version of {{Fail2ban}} greater than or equal to '''0.7.6'''. | The regular expressions below are proposed ''failregex'' for this software. Multiple regular expressions for ''failregex'' will only work with a version of {{Fail2ban}} greater than or equal to '''0.7.6'''. | ||
+ | |||
+ | The tag '''<HOST>''' in the regular expressions below is just an alias for '''(?:::f{4,6}:)?(?P<host>\S+)'''. The replacement is done automatically by {{Fail2ban}} when adding the regular expression. At the moment, ''exactly one'' named group '''host''' or '''<HOST>''' tag must be present in each regular expression. | ||
+ | |||
+ | Please, before editing this section, propose your changes in the [[Talk:{{PAGENAME}}|discussion page]] first. |
Latest revision as of 23:20, 15 October 2007
Failregex
The regular expressions below are proposed failregex for this software. Multiple regular expressions for failregex will only work with a version of Fail2ban greater than or equal to 0.7.6.
The tag <HOST> in the regular expressions below is just an alias for (?:::f{4,6}:)?(?P<host>\S+). The replacement is done automatically by Fail2ban when adding the regular expression. At the moment, exactly one named group host or <HOST> tag must be present in each regular expression.
Please, before editing this section, propose your changes in the discussion page first.