I am using an R2 API token with Object Read&Write permissions for my bucket.
In the Client IP Address Filtering, if I include a /8, /16, /32 or /128 IP range in the Include list, then it works as expected. If I use a /48 or /64 IP range then any request that does not match one of the ranges to the left of it will get a 500 response.
E.g. with a list like “123.123.123.123/32 1234:1234::/32 4321:4321:4321::43/128”, I can successfully make requests from 123.123.123.123 or 4321:4321:4321::43. If a make a request from a non-matching IP, I get a 401 response as expected.
With a list like “123.123.123.123/32 1234:1234:1234::/48 4321:4321:4321::43/128”, I can successfully make requests from 123.123.123.123. But from any other IP, I get a 500 error. If I reorder the ipv4 address to be after the /48 range, then requests from that IP will also fail with a 500 error.
These IP addresses are just examples, the issue seems to happen with any /48 or /64 IP range that I try.
Note I’m testing using Postman anrclone clients with a request to list objects in d a bucket.
Something doesn’t seem right here. Is there some reason I can’t use a /48 or /64 IPv6 IP range in the include list?