Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1827

Support for netmask having numbers different than 255 or 0

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.2, 2.2.8
    • Fix Version/s: Icebox
    • Labels:
      None
    • Environment:
      # uname -r
      4.9.0-6-amd64
      # uname -a
      Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux

      Description

      Folks,

      Working with a customer, I found the below messages on the maxscale log what figures out to be a limitation of the Data Masking filter:

      2018-04-25 11:24:25   error  : [MySQLAuth] Unrecognized IP-bytes in host/mask-combination. Merge incomplete: 10.225.17.128/255.255.255.192
      2018-04-25 11:24:25   error  : [MySQLAuth] Unrecognized IP-bytes in host/mask-combination. Merge incomplete: 10.225.16.0/255.255.255.192
      2018-04-25 11:24:25   error  : [MySQLAuth] Unrecognized IP-bytes in host/mask-combination. Merge incomplete: 10.225.16.192/255.255.255.192
      

      We need to be able to support a netmask with definition having numbers different of 255 or 0. Maybe, to support a CIDR definition will be good as well.

      It's linked with the https://jira.mariadb.org/browse/MXS-1772. Can that support be implemented?

      Thanks and cheers!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              toddstoffel Todd Stoffel
              Reporter:
              wagnerbianchi Wagner Bianchi
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: