Programming Tips - Detect unfiltered internet access

Date: 2021oct9 Keywords: captive portal Q. Detect unfiltered internet access A. There are a few company webpages for exactly this. 1. Resolving dns.msftncsi.com should be 131.107.255.255 2. Get http://www.msftncsi.com/ncsi.txt Should return only "Microsoft NCSI" Content-Type: text/plain NCSI stands for Network Connectivity Status Indicator More info http://technet.microsoft.com/en-us/library/cc766017%28WS.10%29.aspx 3. Get http://detectportal.firefox.com Should return only "success" Content-Type: application/octet-stream 4. Get http://captive.apple.com Should return "...<BODY>Success</BODY>..." in some HTML Content-Type: text/html