News for hackers. Stuff that matters.
Re:Captive Portals by stop50 on Thursday July 14, 2022 @12:48AM (#32092143)
Too bad there is no standard that is used to prevent these workarounds.
Re:Captive Portals by CGamesPlay on Thursday July 14, 2022 @01:27AM (#32092355)
Indeed. This should really be the responsibility of the Wifi stack, which imposes the restriction and sits on a lower level than the HTTP stack. My gopher connections never work when I am behind a captive portal!
Re:Captive Portals by stop50 on Thursday July 14, 2022 @01:37AM (#32092399)
There is the standard 8952. But it nowhere implemented yet. it uses https, dhcp and ra to give the client the captive portal information.
Re:Captive Portals by captivehacker1 on Thursday July 14, 2022 @03:31AM (#32093072)
It is though. I've implemented a captive portal that uses this successfully for sending modern mobile OS like Android and iOs through captive portal. Marcos works fine too, also newer windows.
Re:Captive Portals by LtWorf on Thursday July 14, 2022 @02:24AM (#32092676)
Many of those networks block most ports except http, https basically.
Re:Captive Portals by wichert on Thursday July 14, 2022 @01:46AM (#32092463)
The WISPr[0] standard was created for this purpose, and is (or was by now?) used by companies such as iPass to their customers to transparently log in to most WiFi hotspots. I don't think that standard is accessibly anywhere these days. I made a Python implementation [1] that should still work.

[0] https://en.wikipedia.org/wiki/WISPr [1] https://github.com/wichert/wispr

Re:Captive Portals by lukeboi on Thursday July 14, 2022 @01:48AM (#32092474)
There is a dhcp option that can be used as an alternative that was recently (~2yr ago) introduced but it’s not supported by any major OSes except android
Re:Captive Portals by stop50 on Thursday July 14, 2022 @02:13AM (#32092630)
There is rfc 8952, but its not official yet. Including the others which are referenced. The dhcp option is also not official yet.
Re:Captive Portals by captivehacker1 on Thursday July 14, 2022 @03:32AM (#32093086)
It took some time to adopt, but works at least on recent mobile OS and MacOS.