SlideShare a Scribd company logo
Crowdsourcing 
Router Geolocation 
Emile Aben 
emile.aben@ripe.net 
SEE3 | Sofia - Bulgaria | 2014-04-15
Router Geolocation? 
• What? 
- “normal” IP geolocation looks only at the edge 
- router geolocation = figuring out the rest 
! 
• Why? 
- Detect sub-optimal paths in traceroutes 
- Does a forward path traverse a specific country/region 
• In case of events? 
• Structurally? 
- Bulk analysis 
Emile Aben - SEE3 - 2014-04-15 
2
Background 
• Tons of interesting RIPE Atlas traceroutes 
• Hard to put them on a map 
• Naive router geolocation: Use Maxmind (or any 
other geoloc DB): Doesn’t work! 
Emile Aben - SEE3 - 2014-04-15 
3 
IP 
2001:2000:3018:50::1 
89.221.34.63 
4.69.148.30 
83.217.227.13 
141.136.110.174 
173.194.39.215 
184.105.223.246 
Geoloc 
EU 
IT 
US 
ES 
FR 
Mountain View,CA,US 
Fremont,CA,US
Background 
• Tons of interesting RIPE Atlas traceroutes 
• Hard to put them on a map 
• Naive router geolocation: Use Maxmind (or any 
other geoloc DB): Doesn’t work! 
Emile Aben - SEE3 - 2014-04-15 
3 
IP 
2001:2000:3018:50::1 
89.221.34.63 
4.69.148.30 
83.217.227.13 
141.136.110.174 
173.194.39.215 
184.105.223.246 
Geoloc 
EU 
IT 
US 
ES 
FR 
Mountain View,CA,US 
Fremont,CA,US 
Hostname 
sfia-b2-v6.telia.net 
xe-1-0-2.sofia1.sof.seabone.net 
ae-11-11.car2.Sofia1.Level3.net 
xe-0-2-0-2.r00.sofibu01.bg.bb.gin.ntt.net 
xs-3-3-0.sof10.ip4.tinet.net 
sof01s01-in-f23.1e100.net 
10ge1-1.core1.sof1.he.net
Idea 
• Find ways to geolocate Internet infrastructure better 
• Ask the experts (you!) to participate 
• Make collected data publicly available 
- so also for geoloc providers 
! 
• Not a competing service to existing geoloc 
- their data can be enhanced with router geoloc 
Emile Aben - SEE3 - 2014-04-15 
4
Prior Art (RFC1925, rule 11) 
• Existing router geoloc bits-and-pieces 
- rocketfuel (undns), IXmaps, ... 
- Problem: Unmaintained and/or complex and/or limited 
scope 
• ‘Visual traceroute’ 
- Typically use edge geolocation service 
• IETF draft google-self-published-geofeeds 
- Complementary 
• CAIDA geoloc project 
- Cooperating 
Emile Aben - SEE3 - 2014-04-15 
5
Self Published Geofeeds 
• Format: 
- Prefix,Country,Region,City,Postal: 
! 
! 
! 
• Self-published by site 
- Currently you’ll have to know where these feeds are 
! 
• Potential template? 
Emile Aben - SEE3 - 2014-04-15 
6 
193.0.24.0/21,GR,GR-I,Athens,117 45! 
2001:67c:64::/48,GR,GR-I,Athens,117 45
Proposed Geoloc Method 
• Combine data-sources: 
- Existing edge geolocation 
- Hostnames from reverse DNS 
• 1.13 billion reverse DNS records in IPv4 
• Users could tag naming schemes 
- RTTs allow for some triangulation / speed-of-light 
constraints 
- IXP IPs/prefixes (when not remote-peering) 
- DNS LOC records 
• Probabilistic answer: ie. 95% Athens,GR 
Emile Aben - SEE3 - 2014-04-15 
7
Detail: RTT Constraints 
• Signal propagation bound by speed of light 
• In fiber ~ 100 km per 1 ms (round trip) 
! 
• One day of RIPE Atlas traceroutes: 
- 84122 IPs (v4/v6) seen 
- 40975 IPs within 10ms from the source = within 1000km 
! 
• Problem: High latency last mile 
- Would need to account for that 
Emile Aben - SEE3 - 2014-04-15 
8
Detail: DNS LOC record (RFC 1876) 
• DNS record to map geographic location to a 
hostname 
! 
•nbg-s1-rou-1001.DE.eurorings.net. IN LOC 
49 27 12.690 N 11 3 56.416 E 10.00m 1.00m 
10000.00m 10.00m! 
! 
• Found 16 domains using it: 
- Western Europe incumbent telcos 
- Research & Education networks 
Emile Aben - SEE3 - 2014-04-15 
9
Detail: Probabilistic answer? 
• Crowdsourced info can be conflicting 
- UserA: ams-ix.br2.sof2.example.com is in Amsterdam,NL 
- UserB: ams-ix.br2.sof2.example.com is in Sofia,BG 
! 
• Overlapping city names 
- Bakel, NL vs. Bakel, SN 
- 5 cities named San Jose (US,PH,CR) 
! 
• A probabilistic answer could capture ambiguity 
Emile Aben - SEE3 - 2014-04-15 
10
Proposed Geoloc Method 
• Combine data-sources: 
- Existing edge geolocation 
- Hostnames from reverse DNS 
• 1.13 billion reverse DNS records in IPv4 
• Users could tag naming schemes 
- RTTs allow for some triangulation / speed-of-light 
constraints 
- IXP IPs/prefixes (when not remote-peering) 
- DNS LOC records 
• Probabilistic answer: ie. 95% Athens,GR 
Emile Aben - SEE3 - 2014-04-15 
11
Proposed Method - Crowdsource 
• Combine data-sources: 
- Existing edge geolocation 
- Hostnames from reverse DNS 
• 1.13 billion reverse DNS records in IPv4 
• Users could tag naming schemes 
- RTTs allow for some triangulation / speed-of-light 
constraints 
- IXP IPs/prefixes (when not remote-peering) 
- DNS LOC records 
• Probabilistic answer: ie. 95% Athens,GR 
Emile Aben - SEE3 - 2014-04-15 
12
Prototype Traceroute Visualisation 
• Having a computer guess just based on hostname, 
doesn’t work very well yet (BG -> UA): 
Emile Aben - SEE3 - 2014-04-15 
13
Prototype Traceroute Visualisation 
• Having a computer guess just based on hostname, 
doesn’t work very well yet (BG -> UA): 
Emile Aben - SEE3 - 2014-04-15 
13
Ambiguity in Hostnames 
• Lots of people use IATA-airport codes, but 
- atm - Altamira,BR (IATA) or ATM link? 
• Mixed naming schemes 
- fra07s29-in-x10.1e100.net (IATA) vs. ea-in-f99.1e100.net 
• Almost IATA-schemes 
• Different languages 
- Wien vs. Vienna 
• Different abbreviations 
- nyc vs. nyk for New York 
Emile Aben - SEE3 - 2014-04-15 
14
How to Improve: Crowdsource 
• What you give: 
- Info on your network 
- Info on other networks 
! 
! 
• What you get back: 
- Better router geolocation for everybody 
Emile Aben - SEE3 - 2014-04-15 
15
Prototype Traceroute Visualisation 16 
Emile Aben - SEE3 - 2014-04-15 
Destination 
Sources
Prototype Traceroute Visualisation 16 
Emile Aben - SEE3 - 2014-04-15 
Destination 
Sources
Open Questions 
• How to crowd-source exactly? 
- Regular expressions: ^([a-z]{3})d+.*.1e100.net 
• Pro: Can capture everything 
• Con: Not exactly user-friendly 
! 
- Tag to city: sof = Sofia,BG 
• Pro: More user-friendly/closer to how info is stored 
already 
• Con: Can be ambiguous 
Emile Aben - SEE3 - 2014-04-15 
17
Conclusion 
• Exploring this idea because: 
- Could give you better tools/viz in RIPE Atlas 
- Could give you data to build your own tools on 
- Could give geolocation providers data to make their data 
better 
! 
• Let us know what you think! 
Emile Aben - SEE3 - 2014-04-15 
18
Questions? Section Title 19

More Related Content

Similar to Crowdsourcing Router Geolocation

RIPE Atlas and RIS at France-IX
RIPE Atlas and RIS at France-IXRIPE Atlas and RIS at France-IX
RIPE Atlas and RIS at France-IX
RIPE NCC
 
#NetflixEverywhere Global Architecture
#NetflixEverywhere Global Architecture#NetflixEverywhere Global Architecture
#NetflixEverywhere Global Architecture
Josh Evans
 
RIPE Atlas and IXPs "Stitchin' it up"
RIPE Atlas and IXPs "Stitchin' it up"RIPE Atlas and IXPs "Stitchin' it up"
RIPE Atlas and IXPs "Stitchin' it up"
RIPE NCC
 
Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)
gvillain
 
Introduction to Computer Networking
Introduction to Computer NetworkingIntroduction to Computer Networking
Introduction to Computer Networking
Amit Saha
 
giasan.vn real-estate analytics: a Vietnam case study
giasan.vn real-estate analytics: a Vietnam case studygiasan.vn real-estate analytics: a Vietnam case study
giasan.vn real-estate analytics: a Vietnam case study
Viet-Trung TRAN
 
Wrou01
Wrou01Wrou01
Wrou01
tanawan44
 
01 (IDNOG02) ASN distribution and interconnection in Indonesia by Sanjaya
01 (IDNOG02) ASN distribution and interconnection in Indonesia by Sanjaya 01 (IDNOG02) ASN distribution and interconnection in Indonesia by Sanjaya
01 (IDNOG02) ASN distribution and interconnection in Indonesia by Sanjaya
Indonesia Network Operators Group
 
Honeypots and Security
Honeypots and SecurityHoneypots and Security
Honeypots and Security
APNIC
 
RIPE Atlas
RIPE AtlasRIPE Atlas
RIPE Atlas
RIPE NCC
 
IPv6_Unified_2011-07-12-.ppt
IPv6_Unified_2011-07-12-.pptIPv6_Unified_2011-07-12-.ppt
IPv6_Unified_2011-07-12-.ppt
Bruno638059
 
Measuring Countries and IXPs with RIPE Atlas
Measuring Countries and IXPs with RIPE AtlasMeasuring Countries and IXPs with RIPE Atlas
Measuring Countries and IXPs with RIPE Atlas
RIPE NCC
 
Lighthouse: Large-scale graph pattern matching on Giraph
Lighthouse: Large-scale graph pattern matching on GiraphLighthouse: Large-scale graph pattern matching on Giraph
Lighthouse: Large-scale graph pattern matching on Giraph
LDBC council
 
Lighthouse: Large-scale graph pattern matching on Giraph
Lighthouse: Large-scale graph pattern matching on GiraphLighthouse: Large-scale graph pattern matching on Giraph
Lighthouse: Large-scale graph pattern matching on Giraph
Ioan Toma
 
IDNOG 2: AS interconnection in indonesia
IDNOG 2: AS interconnection in indonesiaIDNOG 2: AS interconnection in indonesia
IDNOG 2: AS interconnection in indonesia
APNIC
 
RIPE Routing Information Service
RIPE Routing Information ServiceRIPE Routing Information Service
RIPE Routing Information Service
RIPE NCC
 
HSB - Secure DNS en BGP ontwikkelingen - Benno Overeinder
HSB - Secure DNS en BGP ontwikkelingen - Benno OvereinderHSB - Secure DNS en BGP ontwikkelingen - Benno Overeinder
HSB - Secure DNS en BGP ontwikkelingen - Benno Overeinder
Splend
 
MSAG Best Practices
MSAG Best PracticesMSAG Best Practices
MSAG Best Practices
Rolf Preuss, ENP, FPEM
 
Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj UpadhayaInternet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
MyNOG
 
SmartMet Server OSGeo
SmartMet Server OSGeoSmartMet Server OSGeo
SmartMet Server OSGeo
Roope Tervo
 

Similar to Crowdsourcing Router Geolocation (20)

RIPE Atlas and RIS at France-IX
RIPE Atlas and RIS at France-IXRIPE Atlas and RIS at France-IX
RIPE Atlas and RIS at France-IX
 
#NetflixEverywhere Global Architecture
#NetflixEverywhere Global Architecture#NetflixEverywhere Global Architecture
#NetflixEverywhere Global Architecture
 
RIPE Atlas and IXPs "Stitchin' it up"
RIPE Atlas and IXPs "Stitchin' it up"RIPE Atlas and IXPs "Stitchin' it up"
RIPE Atlas and IXPs "Stitchin' it up"
 
Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)
 
Introduction to Computer Networking
Introduction to Computer NetworkingIntroduction to Computer Networking
Introduction to Computer Networking
 
giasan.vn real-estate analytics: a Vietnam case study
giasan.vn real-estate analytics: a Vietnam case studygiasan.vn real-estate analytics: a Vietnam case study
giasan.vn real-estate analytics: a Vietnam case study
 
Wrou01
Wrou01Wrou01
Wrou01
 
01 (IDNOG02) ASN distribution and interconnection in Indonesia by Sanjaya
01 (IDNOG02) ASN distribution and interconnection in Indonesia by Sanjaya 01 (IDNOG02) ASN distribution and interconnection in Indonesia by Sanjaya
01 (IDNOG02) ASN distribution and interconnection in Indonesia by Sanjaya
 
Honeypots and Security
Honeypots and SecurityHoneypots and Security
Honeypots and Security
 
RIPE Atlas
RIPE AtlasRIPE Atlas
RIPE Atlas
 
IPv6_Unified_2011-07-12-.ppt
IPv6_Unified_2011-07-12-.pptIPv6_Unified_2011-07-12-.ppt
IPv6_Unified_2011-07-12-.ppt
 
Measuring Countries and IXPs with RIPE Atlas
Measuring Countries and IXPs with RIPE AtlasMeasuring Countries and IXPs with RIPE Atlas
Measuring Countries and IXPs with RIPE Atlas
 
Lighthouse: Large-scale graph pattern matching on Giraph
Lighthouse: Large-scale graph pattern matching on GiraphLighthouse: Large-scale graph pattern matching on Giraph
Lighthouse: Large-scale graph pattern matching on Giraph
 
Lighthouse: Large-scale graph pattern matching on Giraph
Lighthouse: Large-scale graph pattern matching on GiraphLighthouse: Large-scale graph pattern matching on Giraph
Lighthouse: Large-scale graph pattern matching on Giraph
 
IDNOG 2: AS interconnection in indonesia
IDNOG 2: AS interconnection in indonesiaIDNOG 2: AS interconnection in indonesia
IDNOG 2: AS interconnection in indonesia
 
RIPE Routing Information Service
RIPE Routing Information ServiceRIPE Routing Information Service
RIPE Routing Information Service
 
HSB - Secure DNS en BGP ontwikkelingen - Benno Overeinder
HSB - Secure DNS en BGP ontwikkelingen - Benno OvereinderHSB - Secure DNS en BGP ontwikkelingen - Benno Overeinder
HSB - Secure DNS en BGP ontwikkelingen - Benno Overeinder
 
MSAG Best Practices
MSAG Best PracticesMSAG Best Practices
MSAG Best Practices
 
Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj UpadhayaInternet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
Internet Measurement Tools & Their Usefulness by Gaurab Raj Upadhaya
 
SmartMet Server OSGeo
SmartMet Server OSGeoSmartMet Server OSGeo
SmartMet Server OSGeo
 

More from RIPE NCC

Know Your Network; why every network operator should host a RIPE Atlas probe
Know Your Network; why every network operator should host a RIPE Atlas probeKnow Your Network; why every network operator should host a RIPE Atlas probe
Know Your Network; why every network operator should host a RIPE Atlas probe
RIPE NCC
 
Taiwan's Digital Landscape with RIPE NCC Tools
Taiwan's Digital Landscape with RIPE NCC ToolsTaiwan's Digital Landscape with RIPE NCC Tools
Taiwan's Digital Landscape with RIPE NCC Tools
RIPE NCC
 
Navigating IP Addresses: Insights from your Regional Internet Registry
Navigating IP Addresses: Insights from your Regional Internet RegistryNavigating IP Addresses: Insights from your Regional Internet Registry
Navigating IP Addresses: Insights from your Regional Internet Registry
RIPE NCC
 
Traces of Power: Internet Governance and Climate Action
Traces of Power: Internet Governance and Climate ActionTraces of Power: Internet Governance and Climate Action
Traces of Power: Internet Governance and Climate Action
RIPE NCC
 
Governing Environmental Sustainability in Tech
Governing Environmental Sustainability in TechGoverning Environmental Sustainability in Tech
Governing Environmental Sustainability in Tech
RIPE NCC
 
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdfGerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdf
RIPE NCC
 
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RISLIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
RIPE NCC
 
Intro to RIPE and RIPE NCC: RIPE Atlas workshop
Intro to RIPE and RIPE NCC: RIPE Atlas workshopIntro to RIPE and RIPE NCC: RIPE Atlas workshop
Intro to RIPE and RIPE NCC: RIPE Atlas workshop
RIPE NCC
 
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdfIGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
RIPE NCC
 
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdfOpportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
RIPE NCC
 
RIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement ToolsRIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement Tools
RIPE NCC
 
IPv6 in Central Europe and the Baltics
IPv6 in Central Europe and the BalticsIPv6 in Central Europe and the Baltics
IPv6 in Central Europe and the Baltics
RIPE NCC
 
RPKI For Routing Security
RPKI For Routing SecurityRPKI For Routing Security
RPKI For Routing Security
RIPE NCC
 
SEEDIG 8 - Alena Muravska RIPE NCC.pdf
SEEDIG 8 - Alena Muravska RIPE NCC.pdfSEEDIG 8 - Alena Muravska RIPE NCC.pdf
SEEDIG 8 - Alena Muravska RIPE NCC.pdf
RIPE NCC
 
Know Your Network: Why Every Network Operator Should Host RIPE Atlas
Know Your Network: Why Every Network Operator Should Host RIPE AtlasKnow Your Network: Why Every Network Operator Should Host RIPE Atlas
Know Your Network: Why Every Network Operator Should Host RIPE Atlas
RIPE NCC
 
Minimising Impact When Incidents Occur With RIPE Atlas
Minimising Impact When Incidents Occur With RIPE AtlasMinimising Impact When Incidents Occur With RIPE Atlas
Minimising Impact When Incidents Occur With RIPE Atlas
RIPE NCC
 
RIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement ServicesRIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement Services
RIPE NCC
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
RIPE NCC
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
RIPE NCC
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
RIPE NCC
 

More from RIPE NCC (20)

Know Your Network; why every network operator should host a RIPE Atlas probe
Know Your Network; why every network operator should host a RIPE Atlas probeKnow Your Network; why every network operator should host a RIPE Atlas probe
Know Your Network; why every network operator should host a RIPE Atlas probe
 
Taiwan's Digital Landscape with RIPE NCC Tools
Taiwan's Digital Landscape with RIPE NCC ToolsTaiwan's Digital Landscape with RIPE NCC Tools
Taiwan's Digital Landscape with RIPE NCC Tools
 
Navigating IP Addresses: Insights from your Regional Internet Registry
Navigating IP Addresses: Insights from your Regional Internet RegistryNavigating IP Addresses: Insights from your Regional Internet Registry
Navigating IP Addresses: Insights from your Regional Internet Registry
 
Traces of Power: Internet Governance and Climate Action
Traces of Power: Internet Governance and Climate ActionTraces of Power: Internet Governance and Climate Action
Traces of Power: Internet Governance and Climate Action
 
Governing Environmental Sustainability in Tech
Governing Environmental Sustainability in TechGoverning Environmental Sustainability in Tech
Governing Environmental Sustainability in Tech
 
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdfGerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdf
 
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RISLIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
LIA HESTINA - Minimising impact before incidents occur with RIPE Atlas and RIS
 
Intro to RIPE and RIPE NCC: RIPE Atlas workshop
Intro to RIPE and RIPE NCC: RIPE Atlas workshopIntro to RIPE and RIPE NCC: RIPE Atlas workshop
Intro to RIPE and RIPE NCC: RIPE Atlas workshop
 
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdfIGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
IGF UA - Dialog with I_ organisations - Alena Muavska RIPE NCC.pdf
 
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdfOpportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
Opportunities for Youth in IG - Alena Muravska RIPE NCC.pdf
 
RIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement ToolsRIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement Tools
 
IPv6 in Central Europe and the Baltics
IPv6 in Central Europe and the BalticsIPv6 in Central Europe and the Baltics
IPv6 in Central Europe and the Baltics
 
RPKI For Routing Security
RPKI For Routing SecurityRPKI For Routing Security
RPKI For Routing Security
 
SEEDIG 8 - Alena Muravska RIPE NCC.pdf
SEEDIG 8 - Alena Muravska RIPE NCC.pdfSEEDIG 8 - Alena Muravska RIPE NCC.pdf
SEEDIG 8 - Alena Muravska RIPE NCC.pdf
 
Know Your Network: Why Every Network Operator Should Host RIPE Atlas
Know Your Network: Why Every Network Operator Should Host RIPE AtlasKnow Your Network: Why Every Network Operator Should Host RIPE Atlas
Know Your Network: Why Every Network Operator Should Host RIPE Atlas
 
Minimising Impact When Incidents Occur With RIPE Atlas
Minimising Impact When Incidents Occur With RIPE AtlasMinimising Impact When Incidents Occur With RIPE Atlas
Minimising Impact When Incidents Occur With RIPE Atlas
 
RIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement ServicesRIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement Services
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE Atlas
 

Recently uploaded

Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 

Recently uploaded (20)

Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 

Crowdsourcing Router Geolocation

  • 1. Crowdsourcing Router Geolocation Emile Aben emile.aben@ripe.net SEE3 | Sofia - Bulgaria | 2014-04-15
  • 2. Router Geolocation? • What? - “normal” IP geolocation looks only at the edge - router geolocation = figuring out the rest ! • Why? - Detect sub-optimal paths in traceroutes - Does a forward path traverse a specific country/region • In case of events? • Structurally? - Bulk analysis Emile Aben - SEE3 - 2014-04-15 2
  • 3. Background • Tons of interesting RIPE Atlas traceroutes • Hard to put them on a map • Naive router geolocation: Use Maxmind (or any other geoloc DB): Doesn’t work! Emile Aben - SEE3 - 2014-04-15 3 IP 2001:2000:3018:50::1 89.221.34.63 4.69.148.30 83.217.227.13 141.136.110.174 173.194.39.215 184.105.223.246 Geoloc EU IT US ES FR Mountain View,CA,US Fremont,CA,US
  • 4. Background • Tons of interesting RIPE Atlas traceroutes • Hard to put them on a map • Naive router geolocation: Use Maxmind (or any other geoloc DB): Doesn’t work! Emile Aben - SEE3 - 2014-04-15 3 IP 2001:2000:3018:50::1 89.221.34.63 4.69.148.30 83.217.227.13 141.136.110.174 173.194.39.215 184.105.223.246 Geoloc EU IT US ES FR Mountain View,CA,US Fremont,CA,US Hostname sfia-b2-v6.telia.net xe-1-0-2.sofia1.sof.seabone.net ae-11-11.car2.Sofia1.Level3.net xe-0-2-0-2.r00.sofibu01.bg.bb.gin.ntt.net xs-3-3-0.sof10.ip4.tinet.net sof01s01-in-f23.1e100.net 10ge1-1.core1.sof1.he.net
  • 5. Idea • Find ways to geolocate Internet infrastructure better • Ask the experts (you!) to participate • Make collected data publicly available - so also for geoloc providers ! • Not a competing service to existing geoloc - their data can be enhanced with router geoloc Emile Aben - SEE3 - 2014-04-15 4
  • 6. Prior Art (RFC1925, rule 11) • Existing router geoloc bits-and-pieces - rocketfuel (undns), IXmaps, ... - Problem: Unmaintained and/or complex and/or limited scope • ‘Visual traceroute’ - Typically use edge geolocation service • IETF draft google-self-published-geofeeds - Complementary • CAIDA geoloc project - Cooperating Emile Aben - SEE3 - 2014-04-15 5
  • 7. Self Published Geofeeds • Format: - Prefix,Country,Region,City,Postal: ! ! ! • Self-published by site - Currently you’ll have to know where these feeds are ! • Potential template? Emile Aben - SEE3 - 2014-04-15 6 193.0.24.0/21,GR,GR-I,Athens,117 45! 2001:67c:64::/48,GR,GR-I,Athens,117 45
  • 8. Proposed Geoloc Method • Combine data-sources: - Existing edge geolocation - Hostnames from reverse DNS • 1.13 billion reverse DNS records in IPv4 • Users could tag naming schemes - RTTs allow for some triangulation / speed-of-light constraints - IXP IPs/prefixes (when not remote-peering) - DNS LOC records • Probabilistic answer: ie. 95% Athens,GR Emile Aben - SEE3 - 2014-04-15 7
  • 9. Detail: RTT Constraints • Signal propagation bound by speed of light • In fiber ~ 100 km per 1 ms (round trip) ! • One day of RIPE Atlas traceroutes: - 84122 IPs (v4/v6) seen - 40975 IPs within 10ms from the source = within 1000km ! • Problem: High latency last mile - Would need to account for that Emile Aben - SEE3 - 2014-04-15 8
  • 10. Detail: DNS LOC record (RFC 1876) • DNS record to map geographic location to a hostname ! •nbg-s1-rou-1001.DE.eurorings.net. IN LOC 49 27 12.690 N 11 3 56.416 E 10.00m 1.00m 10000.00m 10.00m! ! • Found 16 domains using it: - Western Europe incumbent telcos - Research & Education networks Emile Aben - SEE3 - 2014-04-15 9
  • 11. Detail: Probabilistic answer? • Crowdsourced info can be conflicting - UserA: ams-ix.br2.sof2.example.com is in Amsterdam,NL - UserB: ams-ix.br2.sof2.example.com is in Sofia,BG ! • Overlapping city names - Bakel, NL vs. Bakel, SN - 5 cities named San Jose (US,PH,CR) ! • A probabilistic answer could capture ambiguity Emile Aben - SEE3 - 2014-04-15 10
  • 12. Proposed Geoloc Method • Combine data-sources: - Existing edge geolocation - Hostnames from reverse DNS • 1.13 billion reverse DNS records in IPv4 • Users could tag naming schemes - RTTs allow for some triangulation / speed-of-light constraints - IXP IPs/prefixes (when not remote-peering) - DNS LOC records • Probabilistic answer: ie. 95% Athens,GR Emile Aben - SEE3 - 2014-04-15 11
  • 13. Proposed Method - Crowdsource • Combine data-sources: - Existing edge geolocation - Hostnames from reverse DNS • 1.13 billion reverse DNS records in IPv4 • Users could tag naming schemes - RTTs allow for some triangulation / speed-of-light constraints - IXP IPs/prefixes (when not remote-peering) - DNS LOC records • Probabilistic answer: ie. 95% Athens,GR Emile Aben - SEE3 - 2014-04-15 12
  • 14. Prototype Traceroute Visualisation • Having a computer guess just based on hostname, doesn’t work very well yet (BG -> UA): Emile Aben - SEE3 - 2014-04-15 13
  • 15. Prototype Traceroute Visualisation • Having a computer guess just based on hostname, doesn’t work very well yet (BG -> UA): Emile Aben - SEE3 - 2014-04-15 13
  • 16. Ambiguity in Hostnames • Lots of people use IATA-airport codes, but - atm - Altamira,BR (IATA) or ATM link? • Mixed naming schemes - fra07s29-in-x10.1e100.net (IATA) vs. ea-in-f99.1e100.net • Almost IATA-schemes • Different languages - Wien vs. Vienna • Different abbreviations - nyc vs. nyk for New York Emile Aben - SEE3 - 2014-04-15 14
  • 17. How to Improve: Crowdsource • What you give: - Info on your network - Info on other networks ! ! • What you get back: - Better router geolocation for everybody Emile Aben - SEE3 - 2014-04-15 15
  • 18. Prototype Traceroute Visualisation 16 Emile Aben - SEE3 - 2014-04-15 Destination Sources
  • 19. Prototype Traceroute Visualisation 16 Emile Aben - SEE3 - 2014-04-15 Destination Sources
  • 20. Open Questions • How to crowd-source exactly? - Regular expressions: ^([a-z]{3})d+.*.1e100.net • Pro: Can capture everything • Con: Not exactly user-friendly ! - Tag to city: sof = Sofia,BG • Pro: More user-friendly/closer to how info is stored already • Con: Can be ambiguous Emile Aben - SEE3 - 2014-04-15 17
  • 21. Conclusion • Exploring this idea because: - Could give you better tools/viz in RIPE Atlas - Could give you data to build your own tools on - Could give geolocation providers data to make their data better ! • Let us know what you think! Emile Aben - SEE3 - 2014-04-15 18