TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

NeverSSL

2 pointsby mrzoolover 1 year ago

1 comment

Brian_K_Whiteover 1 year ago
I think they didn&#x27;t explain the purpose very well.<p>I&#x27;m not sure who I&#x27;m informing here because I would expect anyone here to be fully familiar with how old captive portals worked. But whatever...<p>It&#x27;s not that a &quot;wifi network is misbehaving&quot;.<p>It&#x27;s that some public wifi access points captive portal logon process relies on something that doesn&#x27;t happen any more. The captive portal logon process relies on your browser making any plain http request to any address at all, which the access point then intercepts and responds with it&#x27;s own logon page instead of actually routing that tcp session to the requested site, exactly the definition of a man-in-the-middle, except it&#x27;s not an attack.<p>But today your browser never makes any plain http request anywhere, even if you manually type one in or have a specifcally edited bookmark, and the access point can&#x27;t provide a fake response to any https request. The whole point of https is to make man-in-the-middle impossible, and it blocks both man-in-the-middle-attack and man-in-the-middle-anything-else-like-captive-portal-logon-pages.<p>And if you can&#x27;t get get to the access point&#x27;s captive portal page, then you can&#x27;t use the internet.<p>And so to get to the logon page of any such access point, you just need any plain http address that you can remember or bookmark, whose site config not only allows http, but pointedly does not support https even if you tried, and advertizes this fact via reponse headers, so that your browser can&#x27;t ever automatically decide that it&#x27;s ok to replace your http request with an equivalent https request, and so the plain http request actually goes out on the &quot;wire&quot; where the access point can respond to it with it&#x27;s own content instead of the requested site&#x27;s.<p>Apologies for for telling grandpa how to suck eggs.
评论 #37735878 未加载