跳到正文
hackernews100(charlie.fish)· fishcharlie·· 3 小時前品質評分37

Cloudflare 讓網站連線看起來更安全,卻沒說清楚連到原始伺服器時的狀況

Cloudflare hides shortcomings of the underlying infrastructure

重點導讀

Cloudflare 能讓使用者連到網站時用上 TLS、IPv6 和抗量子加密,但 Cloudflare 轉去連網站原始伺服器時,可能沒有加密,而且只用 IPv4。

  • 作者認為,這會讓使用者看到的安全連線和實際連線狀況不一樣。
  • Cloudflare 雖然提供檢查工具,管理者卻不容易一眼看出問題。作者也提到,Cloudflare 連線原始伺服器時會優先選 IPv4,即使伺服器同時支援 IPv6 也一樣。若控制台能主動提醒管理者,並讓 CDN 顯示連到原始伺服器時的加密和 IP 版本,大家就更容易看清整段連線的狀況,也能促使網站改善底層設定。

AI 伴隨問答

自備 Key 深度分析

針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:

正文

Cloudflare has arguably done more to push modern internet technologies than any other company. The work they have done to enable TLS, IPv6, post quantum encryption, and other modern standards for millions of websites deserves a tremendous amount of credit.

While this is great, Cloudflare also hides many of the shortcomings of the underlying infrastructure from both users and website owners. Yes, you can connect to a Cloudflare website and it'll allow for IPv6, post quantum encryption, and TLS. But Cloudflare's connection to the origin server might be entirely unencrypted and rely exclusively on IPv4. This creates a huge mismatch between what is being presented to users and the reality of the connection.

One of my biggest problems with this is the fact that Cloudflare doesn't do enough to notify website administrators about these issues. While Cloudflare provides tools to inspect these, comprehensive visibility is lacking. The Cloudflare dashboard should notify you about each of these issues where Cloudflare is following better practices than your origin server, without website administrators having to dig through and specifically look for this information. Clear warnings and proactive alerts to administrators would help greatly.

Not only that, but according to Cloudflare's own documentation, they actively prefer IPv4 over IPv6 when making origin server requests, which is particularly disappointing for a company that has done so much to advance IPv6 adoption:

For proxied DNS records that have both an IPv6 and IPv4 origin address, Cloudflare will prefer the IPv4 address when connecting to your origin server.

Even when website administrators invest in deploying IPv6 on their origin servers, Cloudflare still prioritizes IPv4.

I also believe the industry should consider adding functionality so CDNs and other intermediate networks can expose origin TLS connection information alongside their own. This would allow users and network researchers to better understand the encryption state of the entire path and hold website owners accountable for bad security practices. A similar mechanism could expose which IP version is being used to communicate with the origin server.

Cloudflare has an opportunity to not only make modern internet technologies accessible to users, but also encourage adoption of those technologies throughout the underlying infrastructure. Cloudflare should be a catalyst for modernizing the internet, not a mechanism that allows website owners to avoid modernization indefinitely. Improving transparency would be a meaningful step toward achieving that goal.

來源: hackernews100 (charlie.fish)
開啟原文

讀者討論

理性交流 · 即時討論