[{"createTime":1735734952000,"id":1,"img":"hwy_ms_500_252.jpeg","link":"https://activity.huaweicloud.com/cps.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=V1g3MDY4NTY=&utm_medium=cps&utm_campaign=201905","name":"华为云秒杀","status":9,"txt":"华为云38元秒杀","type":1,"updateTime":1735747411000,"userId":3},{"createTime":1736173885000,"id":2,"img":"txy_480_300.png","link":"https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=edb15096bfff75effaaa8c8bb66138bd&from=console","name":"腾讯云秒杀","status":9,"txt":"腾讯云限量秒杀","type":1,"updateTime":1736173885000,"userId":3},{"createTime":1736177492000,"id":3,"img":"aly_251_140.png","link":"https://www.aliyun.com/minisite/goods?userCode=pwp8kmv3","memo":"","name":"阿里云","status":9,"txt":"阿里云2折起","type":1,"updateTime":1736177492000,"userId":3},{"createTime":1735660800000,"id":4,"img":"vultr_560_300.png","link":"https://www.vultr.com/?ref=9603742-8H","name":"Vultr","status":9,"txt":"Vultr送$100","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":5,"img":"jdy_663_320.jpg","link":"https://3.cn/2ay1-e5t","name":"京东云","status":9,"txt":"京东云特惠专区","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":6,"img":"new_ads.png","link":"https://www.iodraw.com/ads","name":"发布广告","status":9,"txt":"发布广告","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":7,"img":"yun_910_50.png","link":"https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=aXhpYW95YW5nOA===&utm_medium=cps&utm_campaign=201905","name":"底部","status":9,"txt":"高性能云服务器2折起","type":2,"updateTime":1735660800000,"userId":3}]
在连接到某个需要 Web 认证的热点之前,我们比如说校园网WiFi,连接上这个WiFi,我们已经获得了一个内网 IP,
我们访问网站时或者上网,网关会对这个 HTTP 响应报文劫持并篡改,302 重定向给我们一个 web
认证的界面,我们写入账号密码,网关就给我们放行上网请求,不再拦截我们的HTTP报文,这就是整个认证过程。
分析:
1,我们连上热点的时候,网关给我们分配了一个内网IP,至少是我们上网设备与网关udp67udp68是通的,因为DHCP服务必须用到udp6768,也就有可能网关放行udp6768,当然也有可能对数据包进行验证,
2,网关应该都默认有设置DNS,因为我们上网设备可能不设置DNS,网关也就必须设置DNS,所以网关要放行DNS所需要的UDP53端口,网关可能默认对DNS端口放行,但是也有可能对数据包进行验证,
所以我们绕过校园网WiFi几乎都是围绕这2点进行的,我们设备的网络数据请求使用的端口各不相同,我们目前只能利用这么有限的端口,所以必须先利用这些端口建立隧道,我们所有的网络数据打包通过这个隧道来传输,所以隧道背后需要网络中转服务器来处理数据请求,所以绕过认证上网都有延迟,网速没有直连的好,所以我们无为WiFi需要大量的服务器做支撑,
以上简单分析,学识有限,讲的不是太专业,