dndx / nchnroutes Goto Github PK
View Code? Open in Web Editor NEW!chnroutes - chnroutes negated
!chnroutes - chnroutes negated
感谢提供了全新的分流思路。apnic ipv4 国内段准确度感觉没有ipip(https://github.com/17mon/china_ip_list)的高,建议IPv4使用IPIP的源。
root@OpenWrt:/nchnroutes# nano produce.py/nchnroutes# make
root@OpenWrt:
git pull
Already up to date.
curl -o delegated-apnic-latest https://ftp.apnic.net/stats/apnic/delegated-apnic-latest
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3400k 100 3400k 0 0 601k 0 0:00:05 0:00:05 --:--:-- 702k
curl -o china_ip_list.txt https://raw.githubusercontent.com/17mon/china_ip_list/master/china_ip_list.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 95267 100 95267 0 0 285k 0 --:--:-- --:--:-- --:--:-- 288k
python3 produce.py
Traceback (most recent call last):
File "/root/nchnroutes/produce.py", line 3, in
import urllib.request
ModuleNotFoundError: No module named 'urllib'
make: *** [Makefile:5: produce] Error 1
root@debian:~/ipv4# make
git pull
fatal: 不是一个 git 仓库(或者任何父目录):.git
make: *** [Makefile:2:produce] 错误 128
由于某些原因,需要指定next为ip而不是接口,如何为v4和v6分别指定呢?谢谢。
生成的文件缺失很多路由信息,比如:172.217.0.0/16;2606:4700:20::/44 等等好多
大佬,我发现用了rbc不能访问奈飞,显示Not Available,应该是直连的没走clash.meta,是routes4.conf和routes6.conf里面没有奈飞的ip吗
When I use Python3 to run produce.py,the following:
Traceback (most recent call last):
File "/root/nchnroutes/produce.py", line 121, in
a = IPv4Network(line)
File "/usr/lib/python3.9/ipaddress.py", line 1502, in init
File "/usr/lib/python3.9/ipaddress.py", line 552, in _split_addr_prefix
File "/usr/lib/python3.9/ipaddress.py", line 162, in _split_optional_netmask
ipaddress.AddressValueError: Only one '/' permitted in '<h1>Not Found</h1>The requested URL /17mon/china_ip_list/master/china_ip_list.txt was not found on this server.'
make: *** [Makefile:4: produce] Error 1
Does anyone help me?
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.