1
0
Fork 0
Go to file
Ambrose Chua fe884c5152 Add IU to exclude.txt 2018-03-21 14:26:00 +08:00
data Half-complete README.md 2018-03-20 00:06:41 +08:00
.gitignore Half-complete README.md 2018-03-20 00:06:41 +08:00
README.md Add IU to exclude.txt 2018-03-21 14:26:00 +08:00
exclude.txt Add IU to exclude.txt 2018-03-21 14:26:00 +08:00
poster.png Add PNG render 2018-03-20 00:25:36 +08:00
poster.svg Add IU to exclude.txt 2018-03-21 14:26:00 +08:00
scan.conf Add IU to exclude.txt 2018-03-21 14:26:00 +08:00

README.md

sgp-internet-ping

A quick analysis of Internet latency from Singapore to the rest of the world.

poster

Scanning the Internet

To scan the IPv4 Internet, I used the tool masscan by security researcher Robert Graham. He has extensively made use of masscan in the security research he does. It provides latency measurements up to the millisecond.

I wrote a configuration file to run masscan on the entire Internet with the included exclusion list, and scan the top 5 open ports according to speedguide.net. It is stored as scan.conf. I started the scan with:

masscan -c scan.conf

This produces the output file scan.bin.

Categorising readings by country

To associate an IP address with a country, a geolocation lookup database must be used. I used two sources of geolocation databases; Maxmind's GeoLite2, and Webnet77's IPToCountry; to test the accuracy of either database.