Cf-Pseudo-IPv4 implementation needed

Hi,

I would need the exact implementation of the Cf-Pseudo-IPv4 mapper.

I found this Lua implementation but it gives me different results when I try to map an IPv6 to IPv4 class E namespace. It may be outdated?

Reason: I have an API where I use the Cf-Pseudo-IPv4. Sometimes, clients send the IP of interest via a query param instead. I then need to do the Cf-Pseudo-IPv4 mapping myself and the results need to be exactly the same as if Cloudflare would do it for me.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.