Files
romm/backend/tests/utils
Georges-Antoine Assi 8a43ae3009 fix: allow NAT64-wrapped public IPs through SSRF filter
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
2026-07-04 22:16:09 -04:00
..
2026-03-07 23:08:54 -05:00
2026-04-02 10:21:43 -04:00
2026-06-18 21:17:47 -04:00
2026-05-16 08:58:20 -04:00
2025-09-04 11:17:00 -03:00
2026-06-18 21:12:13 -04:00