如何利用运营商的缓存服务器 实现CDN效果
原资源 http://ss.bdimg.com/static/superman/img/logo_top_ca79a146.png
新资源 http://120.52.72.23/ss.bdimg.com/static/superman/img/logo_top_ca79a146.png

其中的 120.52.72.23 就是运营商缓存服务器
通常电信运营商作为缓存的服务器 带宽是非常足的
所以 可以做很多事了…..

这里是列表

不支持HTTPS
120.52.72.23/ss.bdimg.com/static/superman/img/logo_top_ca79a146.png
如果HTTPS直接跳转回源

中国联通 缓存服务器
120.52.73.0/24 和 120.52.72.0/24 是联通的 
部分有效的
120.52.72.19
120.52.72.20
120.52.72.22
120.52.72.54
120.52.72.55
120.52.72.56
120.52.72.58
120.52.72.59
120.52.73.5
#加前缀可直接使用
120.52.72.19-120.52.72.49
120.52.72.51-120.52.72.59
120.52.72.67-120.52.72.68
120.52.72.70-120.52.72.80
120.52.72.83/32
120.52.73.1-120.52.73.21
120.52.73.43-120.52.73.94
#修改hosts可使用
120.52.73.22-120.52.73.42
120.52.73.95-120.52.73.188

北京 移动
221.176.14.72
122.72.33.138 
122.72.33.139 
58.83.174.114
61.234.57.34 
122.72.18.160 
122.72.29.158 
122.72.52.37

中国电信
101.96.10.0/23 上海 
101.110.118.0/24 廣州 (未廣播 只有電信可連接到) 
101.96.8.0/24 北京 (未廣播 只有電信可連接到) PS: IPIP 標示內蒙古是錯的 已經讓老高修改 
101.96.10.61
101.96.8.141

加个检测Bash 改下IP段 就可以bulk test了
返回200代码的 写入 IP_List.txt文件 是可用IP

curl --write-out %{http_code} --silent --output /dev/null 120.52.72.57/ss.bdimg.com/static/superman/img/logo_top_ca79a146.png

for i in {1..254}
do
IPADDR=120.52.72.$i
#IP=$(curl -s -o /dev/null -w "%{http_code}" 120.52.72.$i/ss.bdimg.com/static/superman/img/logo_top_ca79a146.png)
response=$(curl --connect-timeout 5 --write-out %{http_code} --silent --output /dev/null 120.52.72.$i/ss.bdimg.com/static/superman/img/logo_top_ca79a146.png)
echo $IPADDR - $response
#echo $IPADDR
if [ "$IP" -eq 200 ]; then
    echo \"$IPADDR\",>>IP_LIST.txt
fi
done

请为这篇文章评分:
( 已有 1 人评分, 平均得分: 5 分 )

Tags: none

Related Posts:
  • [尚无相关文章]

评论已关闭