You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dingjun 24ebf7c974 | 7 years ago | |
---|---|---|
LICENSE | 7 years ago | |
README | 7 years ago | |
main.go | 7 years ago |
README
chnroutes-go a tool to fetch china ip range from APNIC(http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest) usage go get github.com/fangdingjun/chnroutes-go $GOPATH/bin/chnroutes-go after finished, there are 3 files generated on current directory ipnet_cn.txt: the ip range file, per line look like this 192.168.1.0/24 routes_add.sh: a shell script to help to add route on Linux use `ip route -batch` command routes_del.sh a shell script to help to delete route add by routes_add.sh