From 4f03aa674cf0a7dbc9cee4ddfe78d168f4a798cc Mon Sep 17 00:00:00 2001 From: MassimilianoPinto Date: Mon, 23 Jan 2017 11:47:50 +0100 Subject: [PATCH] Named Server Filter documentation update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Named Server Filter can handle % wildcards in optional ‘source’ parameter --- Documentation/Filters/Named-Server-Filter.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/Filters/Named-Server-Filter.md b/Documentation/Filters/Named-Server-Filter.md index 7c85e4e00..a117c375f 100644 --- a/Documentation/Filters/Named-Server-Filter.md +++ b/Documentation/Filters/Named-Server-Filter.md @@ -67,11 +67,19 @@ server=server2 ### `source` -The optional source parameter defines an address that is used to match against the address from which the client connection to MariaDB MaxScale originates. Only sessions that originate from this address will have the match and replacement applied to them. +The optional source parameter defines an IP address that is used to match against the address from which the client connection to MariaDB MaxScale originates. Only sessions that originate from this IP address will have the match and replacement applied to them. ``` source=127.0.0.1 ``` +Since MaxScale 2.1 it's also possible to use % wildcards: + +``` +source=192.%.%.% +source=192.168.%.% +source=192.168.10.% +``` +Please note that using source=% to match any IP it's not allowed. ### `user`