Skip to content

Instantly share code, notes, and snippets.

@lackofdream
Created March 5, 2016 22:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lackofdream/55a67e5025a6993383ed to your computer and use it in GitHub Desktop.
Save lackofdream/55a67e5025a6993383ed to your computer and use it in GitHub Desktop.
gen_ignore_list
wget -O- 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | awk -F\| '/CN\|ipv4/ { printf("%s/%d\n", $4, 32-log($5)/log(2)) }' > /etc/shadowsocks/ignore.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment