yyqdbngt opened a new pull request, #2247: URL: https://github.com/apache/rocketmq-dashboard/pull/2247
## Summary - validate and match IPv6 literals and CIDR whitelist entries - compare canonical address bytes without resolving hostnames - enforce address-family-specific prefix widths and fail closed on mismatches - retain existing IPv4 and wildcard behavior with focused regression tests ## Problem ACL 2.0 accepted only IPv4 ranges plus the unrestricted `::/0` wildcard. Dual-stack deployments could not express a least-privilege IPv6 whitelist or an exact IPv6 client address. ## Verification - `mvn -Dtest=IpRangeMatcherTest,AclServiceTest test` (61 tests passed) - `mvn checkstyle:check` (0 violations) - `git diff --check` Closes #2246 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
