SlideShare a Scribd company logo
1 of 22
Download to read offline
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-IXRIPE NCC
 
#NetflixEverywhere Global Architecture
#NetflixEverywhere Global Architecture#NetflixEverywhere Global Architecture
#NetflixEverywhere Global ArchitectureJosh 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 NetworkingAmit 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 studyViet-Trung TRAN
 
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 SecurityAPNIC
 
RIPE Atlas
RIPE AtlasRIPE Atlas
RIPE AtlasRIPE NCC
 
IPv6_Unified_2011-07-12-.ppt
IPv6_Unified_2011-07-12-.pptIPv6_Unified_2011-07-12-.ppt
IPv6_Unified_2011-07-12-.pptBruno638059
 
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 AtlasRIPE 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 GiraphIoan Toma
 
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 GiraphLDBC council
 
IDNOG 2: AS interconnection in indonesia
IDNOG 2: AS interconnection in indonesiaIDNOG 2: AS interconnection in indonesia
IDNOG 2: AS interconnection in indonesiaAPNIC
 
RIPE Routing Information Service
RIPE Routing Information ServiceRIPE Routing Information Service
RIPE Routing Information ServiceRIPE 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 OvereinderSplend
 
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 UpadhayaMyNOG
 
SmartMet Server OSGeo
SmartMet Server OSGeoSmartMet Server OSGeo
SmartMet Server OSGeoRoope 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

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 RegistryRIPE 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 ActionRIPE NCC
 
Governing Environmental Sustainability in Tech
Governing Environmental Sustainability in TechGoverning Environmental Sustainability in Tech
Governing Environmental Sustainability in TechRIPE NCC
 
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdfGerardo-Viviers-RPKI-presentation-DKNOG14.pdf
Gerardo-Viviers-RPKI-presentation-DKNOG14.pdfRIPE 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 RISRIPE 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 workshopRIPE 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.pdfRIPE 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.pdfRIPE NCC
 
RIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement ToolsRIPE NCC Internet Measurement Tools
RIPE NCC Internet Measurement ToolsRIPE 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 BalticsRIPE NCC
 
RPKI For Routing Security
RPKI For Routing SecurityRPKI For Routing Security
RPKI For Routing SecurityRIPE 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.pdfRIPE 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 AtlasRIPE 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 AtlasRIPE NCC
 
RIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement ServicesRIPE NCC Internet Measurement Services
RIPE NCC Internet Measurement ServicesRIPE NCC
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasRIPE NCC
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasRIPE NCC
 
Spotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasSpotting Latency Issues with RIPE Atlas
Spotting Latency Issues with RIPE AtlasRIPE NCC
 
111 views of Swiss Internet Infrastructure
111 views of Swiss Internet Infrastructure111 views of Swiss Internet Infrastructure
111 views of Swiss Internet InfrastructureRIPE NCC
 
The RIPE NCC’s View of IPv6 in Sweden
The RIPE NCC’s View of IPv6 in SwedenThe RIPE NCC’s View of IPv6 in Sweden
The RIPE NCC’s View of IPv6 in SwedenRIPE NCC
 

More from RIPE NCC (20)

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
 
111 views of Swiss Internet Infrastructure
111 views of Swiss Internet Infrastructure111 views of Swiss Internet Infrastructure
111 views of Swiss Internet Infrastructure
 
The RIPE NCC’s View of IPv6 in Sweden
The RIPE NCC’s View of IPv6 in SwedenThe RIPE NCC’s View of IPv6 in Sweden
The RIPE NCC’s View of IPv6 in Sweden
 

Recently uploaded

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 

Recently uploaded (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 

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