Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Cloudflare's "Cf-Pseudo-IPv4" header (as a last resort) #46

Closed
Sv443 opened this issue Jun 12, 2020 · 1 comment · Fixed by #53
Closed

Add support for Cloudflare's "Cf-Pseudo-IPv4" header (as a last resort) #46

Sv443 opened this issue Jun 12, 2020 · 1 comment · Fixed by #53

Comments

@Sv443
Copy link

Sv443 commented Jun 12, 2020

In Cloudflare, you have the option to enable a pseudo-IPv4 header for servers that don't fully support IPv6. If this feature is enabled, every request will have a "Cf-Pseudo-IPv4" header which contains an IPv4 address. It would be cool if you could add this as a last fallback that gets tried if every other header fails.
Here's an article on it: https://blog.cloudflare.com/eliminating-the-last-reasons-to-not-enable-ipv6/#introducingpseudoipv4

@pbojinov
Copy link
Owner

pbojinov commented Jun 1, 2022

@Sv443 just wanted to let you know that I've added support for this. Will cut a new version with this shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants