From 89e71717c9c5e0ff5e066fd0a55f209156d9aeda Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Thu, 24 Mar 2016 09:01:02 +0200 Subject: [PATCH] Added a note about PCRE2 in the dbfwfilter documentation The syntax of the regular expression was not clearly stated. --- Documentation/Filters/Database-Firewall-Filter.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/Filters/Database-Firewall-Filter.md b/Documentation/Filters/Database-Firewall-Filter.md index f9780c1ea..bd5c82a22 100644 --- a/Documentation/Filters/Database-Firewall-Filter.md +++ b/Documentation/Filters/Database-Firewall-Filter.md @@ -22,15 +22,13 @@ passwd=mypasswd filters=DatabaseFirewall ``` -### Filter Options - -The database firewall filter supports a single option, `ignorecase`. This will set the regular expression matching to case-insensitive mode. - ### Filter Parameters +The database firewall filter has one mandatory parameter, `rules`. + #### `rules` -The database firewall filter has one mandatory parameter that defines the location of the rule file. It expects an absolute path to the rule file. +Absolute path to a file with the rule definitions in it. The file should be readable by the user MaxScale is run with. #### `action` @@ -110,6 +108,8 @@ This rule expects a list of values after the `columns` keyword. These values are #### `regex` This rule blocks all queries matching a regex enclosed in single or double quotes. +The regex string expects a PCRE2 syntax regular expression. For more information +about the PCRE2 syntax, read the [PCRE2 documentation](http://www.pcre.org/current/doc/html/pcre2syntax.html). #### `limit_queries`