lbingyi / cf-autoupdate Goto Github PK
View Code? Open in Web Editor NEWOpenWrt路由器优选IP脚本设置定时更换优选ip
OpenWrt路由器优选IP脚本设置定时更换优选ip
按教程运行提示
root@OpenWRT:/usr/dns# bash cf-openwrt.sh
/bin/ash: bash: not found
如果输入sh cf-openwrt.sh
可以运行但是,感觉一堆错误
峰值速度 $[k1024/1024] kB/s
sh: max: out of range
第一次测试 104.19.217.131
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 224: declare: not found
cf-openwrt.sh: line 237: declare: not found
cf-openwrt.sh: line 238: declare: not found
sh: k1024: out of range
sh: k1024: out of range
sh: k1024: out of range
sh: k1024: out of range
sh: k1024: out of range
sh: k1024: out of range
sh: k1024: out of range
sh: k1024: out of range
sh: k1024: out of range
sh: k1024: out of range
sh: k1024: out of range
sh: k*1024: out of range
在绕过**大陆ip模式下有办法使用吗?
对于 如何解决 在绕过**大陆ip模式下 测速进程被代理有什么好的方案吗?
如上~大陆模式,软件本地dns监听端口5335
root@OpenWrt:~/CloudflareST# bash /root/dns/cf-openwrt.sh
DNS解析获取CF节点IP
curl: (6) Could not resolve host: service.udpfile.com
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
curl: (6) Could not resolve host: service.udpfile.com
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
curl: (6) Could not resolve host: service.udpfile.com
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
curl: (6) Could not resolve host: service.udpfile.com
curl: (6) Could not resolve host: Jose
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
curl: (6) Could not resolve host: Jose
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
curl: (6) Could not resolve host: Jose
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
curl: (6) Could not resolve host: Jose
DNS解析获取CF节点IP
curl: (6) Could not resolve host: service.udpfile.com
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
curl: (6) Could not resolve host: service.udpfile.com
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
curl: (6) Could not resolve host: service.udpfile.com
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
curl: (6) Could not resolve host: service.udpfile.com
curl: (6) Could not resolve host: Jose
Warning: Problem : timeout. Will retry in 1 seconds. 3 retries left.
curl: (6) Could not resolve host: Jose
Warning: Problem : timeout. Will retry in 2 seconds. 2 retries left.
curl: (6) Could not resolve host: Jose
Warning: Problem : timeout. Will retry in 4 seconds. 1 retries left.
curl: (6) Could not resolve host: Jose
你好,问下怎么才知道路由器使用的是最新筛选出来的ip?
ICMP 丢包率测试完成
选取20个丢包率最少的IP地址下载测速
104.20.193.130 启动测速
104.17.87.218 启动测速
104.19.158.14 启动测速
104.27.21.221 启动测速
104.20.223.38 启动测速
104.16.55.108 启动测速
104.27.9.245 启动测速
104.22.47.107 启动测速
104.19.244.114 启动测速
104.27.120.110 启动测速
104.16.210.169 启动测速
172.64.138.122 启动测速
104.18.140.60 启动测速
104.19.122.7 启动测速
104.19.118.91 启动测速
104.19.106.5 启动测速
104.24.204.10 启动测速
104.19.211.226 启动测速
172.67.184.186 启动测速
104.21.118.186 启动测速
等待测速进程结束,筛选出三个优选的IP
测速完成
DNS解析获取CF节点IP
-=#=- # # #
然后就无尽重复,这个正常吗,好像最后三个IP还没开始测速就结束了
https://github.com/eightsheep67/cf-autoupdate
本来小白不会编程,照葫芦画瓢改的脚本,但是pushplus没办法推送成功,是代码哪里有问题吗?
筛选IP结束剩余进程一直在等待进程结束,剩余1进程
想做成配合dnsmasq address 方案的域名效果,在ipv6可行环境下获取地址,非ipv6环境下自动跳过
cf-autoupdate这个版本 能自动替换OP里节点的ip地址? 还是只是优选不替换 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.