[MXS-2037] % wildcards not working with source in Named Server Filter Created: 2018-09-06  Updated: 2021-12-17  Resolved: 2018-09-06

Status: Closed
Project: MariaDB MaxScale
Component/s: namedserverfilter
Affects Version/s: 2.2.9
Fix Version/s: 2.2.14

Type: Bug Priority: Major
Reporter: Nilnandan Joshi Assignee: Marko Rajala (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

% wildcards not working with source in Named Server Filter. As per the documentation,
https://mariadb.com/kb/en/mariadb-enterprise/mariadb-maxscale-22-named-server-filter/#configuration

Since MaxScale 2.1 it's also possible to use % wildcards:

source=192.%.%.%
source=192.168.%.%
source=192.168.10.%

While using it, gives error

2018-05-23 05:28:56   warning: [namedserverfilter] Found invalid IP address for parameter 'source=127.%.%.%': Name or service not known
2018-05-23 05:28:56   error  : [namedserverfilter] Failure setting 'source' from 127.%.%.%
2018-05-23 05:28:56   error  : Failed to create filter 'NamedServerFilter' instance.
2018-05-23 05:28:56   error  : Failed to load filter 'NamedServerFilter' for service 'Splitter-Service'.

2018-05-23 05:30:58   warning: [namedserverfilter] Found invalid IP address for parameter 'source=127.0.%.%': Name or service not known
2018-05-23 05:30:58   error  : [namedserverfilter] Failure setting 'source' from 127.0.%.%
2018


Generated at Thu Feb 08 04:11:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.