CF-Connecting-IPv6 Header question

Does CF-Connecting-IPv6 header send through full ipv6 or shortened from the cloudflare proxy?

Also does CF-Connecting-IP only show IPv4

Welcome to the Cloudflare Community. :logodrop:

I just made a curl request to a Cloudflare :orange: proxied site using IPv6 and leading zeroes were not present in the hextets. My IP had no hextets that were all zeroes, so I don’t know if they get condensed to ::.

You may want to engage in similar testing on your own site to obtain firsthand data.

1 Like

CF-Connecting-IP will have the client address, whether IPv4 or IPv6. CF-Connecting-IP6 is only relevant if you are using Pseudo IPv4, which you probably aren’t.

My Apache logs (using CF-Connecting-IP) do show abbreviated addresses, with all-0 segments omitted.

2 Likes

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