Letsencrypt when Port 80 is Blocked

TCP 80 is blocked by China Telecom, to get your own cert, turn off your httpd running at port 443 and then:

Letsencrypt when Port 80 is Blocked by @sskaje: https://sskaje.me/2016/07/letsencrypt-port-80-blocked/

Set up dante-server on Ubuntu

I use ssh -D as SOCKS5 server at my VPS, and an dNAT is used to map local port to internal port on my VPS.

But Firefox+FoxyProxy usually get a connection closed while curl –socks5 works well.

I don’t try to dig on this, but replaced ssh -D with a standalone socks5 server, dante-server, on my VPS.

Set up dante-server on Ubuntu by @sskaje: https://sskaje.me/2016/07/set-up-dante-server-ubuntu/

Cloudflare IP Ranges

Official list: https://www.cloudflare.com/ips/

You can also query from radb:

BTW: I only add 104.16.0.0/12 in my route collection.

Cloudflare IP Ranges by @sskaje: https://sskaje.me/2016/07/cloudflare-ip-ranges/

Querying IP Blocks from Radb.net

Whois is an old tool but an awesome tool querying ip blocks.

There are many providers maintaining their route list, called Internet Routing Registry, IRR, in their databases, such as RADB, LEVEL3. A full list of Internet Routing Registries can be found: http://www.irr.net/docs/list.html

As facebook says, you can use

finding out which ips are used by facebook crawlers.

You can also try ‘-i origin AS32934’ on www.radb.net.

Try ‘-K -i origin AS15169′(one of Google’s), you’ll find:
1 Route list can be simplified
2 There are too many duplicated entries.

What’s more, there is an upper level above these ASnnnnnns, e.g. AS-GOOGLE.
Try ‘-K -T as-set AS-GOOGLE’ on radb.net, you’ll find all google’s ASnnnnnns.

AS-YAHOO is a good example.

I wrote a project querying IP ranges on radb.net, you can find project here: https://github.com/sskaje/radb

Usage:

Examples:

A list of known sets:

You can also get a collection of ip ranges if you need to set up your router: http://ip.rst.im/blocks/.

Querying IP Blocks from Radb.net by @sskaje: https://sskaje.me/2016/07/querying-ip-blocks-radb-net/

Facebook IP Ranges

Facebook’s official developer site has a page: https://developers.facebook.com/docs/sharing/webmasters/crawler

showing how to get ip addresses used by crawler.

you can also use my project to query AS-FACEBOOK.

Facebook IP Ranges by @sskaje: https://sskaje.me/2016/07/facebook-ip-ranges/