<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Cloudflare on Song Kai's Blog</title><link>https://myblog-43r.pages.dev/tags/cloudflare/</link><description>Recent content in Cloudflare on Song Kai's Blog</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Fri, 01 May 2026 02:04:57 +0800</lastBuildDate><atom:link href="https://myblog-43r.pages.dev/tags/cloudflare/index.xml" rel="self" type="application/rss+xml"/><item><title>CDN 回源 IP Header 能不能信：以 CloudFront 和 Cloudflare 为例</title><link>https://myblog-43r.pages.dev/posts/cloudfront-cloudflare-geo-headers-security/</link><pubDate>Fri, 01 May 2026 02:04:57 +0800</pubDate><guid>https://myblog-43r.pages.dev/posts/cloudfront-cloudflare-geo-headers-security/</guid><description>&lt;p>最近排查了一个和 CDN 回源 Header 有关的问题：源站经常会依赖 CDN 写入的 IP / GeoIP Header 来判断用户真实 IP 或国家地区，例如 Cloudflare 的 &lt;code>CF-Connecting-IP&lt;/code>、&lt;code>CF-IPCountry&lt;/code>，以及 AWS CloudFront 的 &lt;code>CloudFront-Viewer-Address&lt;/code>、&lt;code>CloudFront-Viewer-Country&lt;/code>。&lt;/p></description></item></channel></rss>