Tag: dnsmasq

避免强制门户

我试图做一个设备没有互联网连接,redirect到它的无线连接到一个独特的页面,像海盗一样的任何连接。 我使用NodeJS服务器和dnsmasq将所有连接redirect到服务器。 这是完美的工作,但是当我尝试与Android或iOS智能手机连接时,它将其检测为强制门户,并且页面显示在身份validationpopup窗口中。 我看到设备尝试连接到一些IP,如果没有响应,则认为连接正在通过强制门户。 有没有办法避免这种情况? 非常感谢! 编辑:我发现页面的列表“白名单”: Android Captive Portal Detection: Domain names to white list: clients3.google.com iOS for iPhone: iPhone is more complicated, since it uses many different domain names, maybe for load balancing. It also changed its strategy using different domain names through different OS versions. iOS 6: Domain names to white list: […]