📜 ⬆️ ⬇️

The oddities of the implementation of Wi-Fi in the Moscow metro



In early 2015, free Wi-Fi was fully launched in the Moscow metro. I went to test it and found some oddities. For example, for some reason, the redirect to the captive portal on iOS devices was broken. The fact is that when connected to Wi-Fi, iOS devices and desktop MAC OS send HTTP GET requests to their sites to check if there is a redirect. Requests are sent from the User-Agent
CaptiveNetworkSupport-306.3.1 wispr 
In this case, each time substituting a random URI.

A typical query looks like this:
')
 curl --http1.0 -A "CaptiveNetworkSupport-306.3.1 wispr" http://www.appleiphonecell.com/Aw0ac99O0Ede/5fnWgqV480Rh/6ZE3jFoingFF/vYBzRnGJgh54/dS9hZn2rVO3M.html 


The system addresses the following addresses:

Spoiler
pointer airport.us
pointer ibook.info
pointer macbookair.net
pointer macintosh.me
pointer applecare.info
pointer macintosh.info
pointer itunes.info
pointer itunes.us
pointer iphoto.us
pointer applecare.us
pointer macbook.us
pointer itunesmobile.com
pointer ipod.us
pointer itunestelevision.com
pointer macosxversions.com
pointer itunes.me
pointer itunesaircheck.com
pointer mac.us
macbookair.us
ipod.me
applestore.info
iphone.me
osxlionlaunchpad.com
macgestures.com
macbookair.org
mac.info
macos.us
myipod.net
itunesu.net
appleiphonecell.com
firewire.us
airport.info
itunesparty.com
applecomputer.info
appletv.info
applecomputers.us
idvd.us
osx.info
macbookair.info
itunesu.org
itunesuniversity.com
imovie.us
theapplestore.org
macbookpro.org
apple.me
itools.info
thinkdifferent.us
thinkdifferent.info
macintosh.us
ipod.info
applescript.us
quicktime.info
macosxlionairdrop.com
itunesshow.com
airtunes.net
ipod.net
macos.info
imac.info
imac.us
appleiosv.com
ipodnano.me


In response, the expected string "Success". If the content of the page differs from the expected, the system considers that there is a stub in the network and opens it on top of all windows.

For some reason, these requests are specifically intercepted, so that the system thinks there is no redirect.

Source: https://habr.com/ru/post/251599/


All Articles