(Before 2020 and release of Capport API https://tools.ietf.org/html/draft-ietf-capport-api-08)
After you are connected to Wi-Fi networks and got an IP address, your Apple device under iOS tries to check the Internet connectivity by sending HTTP GET request to address captive.apple.com. And there are two different options:
In the second option, the Apple device will open the splash page in the special window — Captive Network Assistant (or CNA). CNA…
At Wimark we are developing a platform to manage access points. They are our basic “access control” objects - if you have an access point in your access list, all linked data (such as clients, statistics, SSID, and so on) will be accessed to you.
We use MongoDB and of course, all clients are stored in the same collection (with MAC address as ID and link to an access point in cpe_id field). And for optimal queries, it has an index on the field “cpe_id”.