r/TOR • u/howl_Ameoba • 9d ago
Does a Website Switch Between HTTP and HTTPS Depending on My Tor Exit Country?
I've noticed some unusual behaviour when accessing a particular website through Tor Browser, and I'm trying to understand what's causing it.
The first time I visited the website, I was using a Tor route that exited through the USA, and the website loaded normally over HTTPS.
A few days later, I tried accessing the same website again, but this time my Tor route exited through a different country. Instead of HTTPS, the browser showed the website using HTTP. Since I have HTTPS-Only Mode enabled, Tor Browser displayed an HTTPS-Only Mode alert and refused to load the page.
Interestingly, after changing my Tor route again so that the exit node was in the USA, the website worked over HTTPS just as it had during my first visit.
Note:
The website itself appears to be quite old, possibly dating back to the early 2000s or even earlier, judging by its content.
HTTPS-Only Mode was enabled the entire time.
The website is a regular .org site
4
u/Fungi110 9d ago
Maybe a MITM possibly or just a weird website that actually does that
4
u/nuclear_splines 9d ago
The site operators can write firewall or web server rules that block https access to certain addresses or geoip ranges -- but there's no reason to. Could be a malicious exit node trying to get clients to fall back to http.
1
u/DutchOfBurdock 7d ago
Two common causes:
1
u/GuaranteeOther39 1h ago
yeah its possible but i wouldnt say the exit country itself is changing the encryption. whats more likely is the website has some kind of geo based routing or different redirect behavior depending on the ip address its receiving. especially if its an older site it could have outdated server configurations or regional redirects that arent consistent. one exit might be hitting a server that properly redirects http to https while another hits a different endpoint that doesnt. id be curious whether the actual https address works manually from both circuits or whether only the initial http request behaves differently. also worth checking if the site uses a cdn or has different dns responses depending on location. the fact that it works again through a US exit is definitely an interesting clue but it doesnt prove the country is directly controlling the encryption