Captive Portal

Captive Portal Wi-Fi Sign-InApplication layer · OSI 7

Intercepting plain HTTP checks to show a Wi-Fi login page

Step 1 of 6: Join open Wi-Fi with no internet. After joining open hotel Wi-Fi and receiving 192.168.1.10 via DHCP, the router forwards DNS but drops outbound internet packets until your MAC signs in.
0.0 s / 19.6 s
Your laptop192.168.1.10Hotel router192.168.1.1
LookupResponseRequestLost or refusedHandshake

Overview

Hotels and airports put a ahead of open Wi-Fi. Until you accept terms, the router hijacks your device's plain HTTP connectivity check with a redirect to its own login page.

Per RFC 8952, captive enforcement blocks general traffic while permitting DNS and portal access. When an OS plain-HTTP probe receives an unexpected 302, it triggers a captive sign-in window; RFC 8910 adds explicit DHCP option 114.

Key facts

Layer
Application trigger over L2/L3 filter
Detection
Plain HTTP OS connectivity test
Modern signal
DHCP option 114 (RFC 8910)
Unlock key
Client MAC allowlisted after submit
Defined in
RFC 8952, RFC 8910

Portal cleared and internet unlocked

A plain HTTP test received an unexpected redirect instead of the expected text, opening the router's portal page. Submitting terms unlocked the laptop's MAC so the follow-up test succeeded.

Demonstrated RFC 8952 HTTP captive detection, local portal interaction, MAC allowlisting, and real connectivity verification (TTL 52).

Detected via
Plain HTTP OS probe
Spoof clue
302 redirect with TTL 64
Access key
Client MAC allowlisted
Safety tip
Prefer HTTPS or a VPN on open Wi-Fi

Try it yourself

Simulate an OS plain-HTTP connectivity probe

Fetch a known plain-HTTP probe URL; a healthy internet link returns 200 or 204 instead of a 302 portal redirect.

curl -i http://www.msftconnecttest.com/connecttest.txt