mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
DNS64/NAT64 networks synthesize IPv6 answers that embed a public IPv4 in the RFC 6052 well-known prefix 64:ff9b::/96. The SSRF classifier rejected these because the prefix is is_reserved, breaking all outbound metadata and cover fetching on NAT64-only deployments. is_forbidden_ip now unwraps a NAT64-wrapped address and evaluates the embedded IPv4 instead, so a wrapped public IPv4 is allowed while a wrapped private/internal IPv4 (e.g. 127.0.0.1, 10.0.0.1) stays blocked. Fixes #3668 Generated-By: PostHog Code Task-Id: 73b38615-966e-4955-9228-2cb6bbcda277