Difference between revisions of "Template:Failregex"

From Fail2ban
Jump to navigationJump to search
Line 2: Line 2:
  
 
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.
 
Please, before editing this section, propose your changes in the [[Talk:{{PAGENAME}}|discussion page]] first.

Revision as of 01:37, 24 December 2006

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.