logoalt Hacker News

bogardontoday at 4:57 AM2 repliesview on HN

They probably know what it is but are just not familiar with the term.

I find the OS' captive portal detection to sometimes be flaky, so I often just directly visit www.neverssl.com to reliably trigger the captive portal redirect.


Replies

ytchtoday at 5:21 AM

The basic workflow at Gateway side is inspecting all HTTP port 80 traffic (with iptables or others), If the URL is about internet detection, reply a 301 redirect to the captive portal URL.

But the URL is too complex among different vendor:

https://captivebehavior.wballiance.com/

I don't know why, even I tracked the URLs, sometimes it still fails (OS refuse connecting to the URL?).

DHCP option 114 (RFC8908) can advertise the URL to client directly, but it is not widely supported:

https://developer.apple.com/news/?id=q78sq5rv

Helithumpertoday at 4:59 AM

also http://captive.apple.com and sometimes I'll do http://lobste.rs.

I used to use neverssl, but it's very different for .org and .com and I kept forgetting which was which.

This post reminded me to make a siri shortcut that just opens safari to http://captive.apple.com to trigger the captive portal.