“Boobs check” – Technique to verify if sites behind CDN are hosted in Iran

twitter.com

324 points by defly 2 days ago


https://xcancel.com/hkashfi/status/1995109785679573167

shishcat - 2 days ago

This behavior only works when the reverse proxy or CDN is configured like this:

Proxy/CDN: HTTPS (443) → Origin server: plain HTTP (80)

(example: Cloudflare in Flexible mode)

If the origin server uses any proper TLS configuration, even a self-signed certificate, this method stops working. It only succeeds when the upstream connection to the origin is unsecured.

If you want to test this on a random site without Cloudflare or reverse proxy in general on HTTP: curl http://www.digiboy.ir/boobs.jpg -v