Measuring the Internet with Python
summary
Builds distributed traceroutes with under 30 lines of Python using Scapy, issues measurements from hundreds to thousands of global probes via RIPE Atlas (13,000+ probes available), then geolocates hops with mmdb readers and ipgeo2 (coarse, city-level only). Parses public BGP collectors with PyBGPKit and PyASN to map IP hops to ASes; a recent snapshot shows ~55,000 ASes and ~180,000 AS links. Code examples create tests, fetch JSON results, and successfully reproduce traceroute and AS-path outputs.
AI-written summary · about
chapters (15)
- 0:00Introduction and speaker background
- 2:00Why measure the internet
- 3:31Internet path mapping basics
- 6:55Building traceroute with Scapy
- 9:30Geolocating internet paths
- 11:21Measuring from multiple vantage points
- 13:11RIPE Atlas Python integration
- 16:39Distributed traceroute results
- 16:59Autonomous systems overview
- 18:30How BGP routes internet traffic
- 20:45Measuring BGP with Python
- 22:41Mapping IPs to autonomous systems
- 23:26Querying open internet APIs
- 23:49Summary of tools and methods
- 24:33Call to action and conclusion
related talks
43mHow to make an accurate Geo-IP database
38mMapping the Cloud with Elixir
32mActive Fault Finding in Networks
37mCOVID-19 impact on RIPE Atlas #internet #measurements
29mUsing the Internet as Your Load-Balancer
30mUsing Python to design, configure, and measure large-scale networks
35mNetwork Management and Monitoring with Python
32mGPS Tracking with Python
