In Rules, ipv6 IP address comes [sorry, resend]

context.request.ip in Rule may expose IPv6 address due to our ongoing edge network migration. New edge network supports both IPv4 and IPv6 address. There are no settings available to disable this functionality. If you are processing or have some sort of allowList in Rule, please ensure that you are checking with the correct version of IP.

The range_check library for example has a version method that should make this a fairly trivial check to implement. It should be as simple as including a version check before attempting any matches. See range_check - npm for more information.

1 Like