on the accuracy of country level ip geolocation
play

On the Accuracy of Country-Level IP Geolocation Ioana Livadariu , - PowerPoint PPT Presentation

Applied Networking Research Workshop 2020 acm sigcomm On the Accuracy of Country-Level IP Geolocation Ioana Livadariu , Thomas Dreibholz, Anas Saeed Al-Selwi Haakon Bryhni, Olav Lysne, Steinar Bjrnstad, Ahmed Elmokashfi IP geolocation is an


  1. Applied Networking Research Workshop 2020 acm sigcomm On the Accuracy of Country-Level IP Geolocation Ioana Livadariu , Thomas Dreibholz, Anas Saeed Al-Selwi Haakon Bryhni, Olav Lysne, Steinar Bjørnstad, Ahmed Elmokashfi

  2. IP geolocation is an open research area Geolocating IP addresses: • Edge vs core of the Internet • User-centric vs research oriented Geolocating approaches: • Commercial Geolocation Databases (e.g. MaxMind * , IP2Location ** ,NetAcuity ***) • Measurement-based approaches (latency, geo-hints in DNS names) • Evaluate the IP geolocating datasets. Evaluate IP geolocation by studying country-level end-to-end path geo-mappings. * MaxMind, https://www.maxmind.com/en/home ** IP2Location Lite, https://lite.ip2location.com/ ***NetAcuity, https://www.digitalenvoy.com/ ANRW 2020 2

  3. Measurement Setup and Collected Data IPv4 IPv4 & IPv6 NO SE (1,0) (22,13) DE (2,1) FR KR (1,1) (1,0) CN US (2,1) (1,1) ANRW 2020 3

  4. Geolocation datasets: overview MaxMind and IP2Location : Dedicated IP geolocation datasets (commercial and free version) RIR Delegation Files : Daily published by the Regional Internet Registry. Contains registration information regarding Internet resources (IP addresses) IPmap : IP geolocation approach that uses crowdsourcing and active measurements HLOC : IP geolocation active-based approaches that use geo-hints and active measurements to geolocate IP addresses Massimo Candela,RIPE IPmap - What's Under the Hood?, RIPE Labs, 2019 Scheitle et al., “HLOC: Hints-based geolocation leveraging multiple measurement frameworks”, TMA 2017 Gharaibeh et al., “A look at Router Geolocation in Public and Commercial Databases”, IMC 2017 ANRW 2020 4

  5. Geolocation dataset IP coverage IPv4:May 2018 IPv4:Sep 2018 IPv6:May 2018 IPv6:Sep 2018 100 Percentage of IP addresses 80 60 40 20 0 Delegation MaxMind IP2Location IPmap HLOC Delegation , MaxMind and IP2Location cover more at least 80% of our collected IP addresses. IPmap and HLOC have limited coverage of the IP addresses. ANRW 2020 5

  6. How many IP addresses are mapped to the same location? GeoDBs that cover the IP addresses 3 2 1 94,1% 5,9% 83,3% 15,1% Delegation IPv6 : IPv4 : MaxMind IP2Location 77,34% 85,6% • IP addresses geolocated by the three geo-location datasets are most likely mapped to the same country. • Found both partial and complete disagreements between the geo-location datasets. ANRW 2020 6

  7. Improving IP geo-location accuracy Organization WHOIS Data Location Active measurements: IP address IP geo-location Looking Glass (LG) DNS Names ANRW 2020 7

  8. Improving IP geo-location accuracy Organization WHOIS Data Location Active measurements: IP address IP geo-location Looking Glass (LG) DNS Names IP address = 154.25.4.213 AS 174 (Cogent) name=be3561.rcr21. osl 01.atlas. cogentco .com. LG NetRange: 154.25.0.0 - 154.25.255.255 LG CIDR: 154.25.0.0/16 LG Oslo NetName: COGENT -154-25-16 LG Location = Oslo, NO NetHandle: NET-154-25-0-0-1 Parent: NET154 (NET-154-0-0-0-0) NetType: Direct Allocation LG Query Results: OriginAS: AS174 Organization: PSINet, Inc. (PSI-2) RegDate: 1992-02-05 Updated: 2017-10-30 ANRW 2020 8

  9. Sources of IP address geo-location disagreements • IP addresses owned by global organizations : IP address Delegation MaxMind IP2Location IPmap HLOC Accurate location 109.105.97.10 SE SE GB NaN NaN DK • IP addresses acquired by organizations through merges & acquisitions : IP address Delegation MaxMind IP2Location IPmap HLOC Accurate location 149.6.154.202 US IT CA NaN NaN FR ANRW 2020 9

  10. How many IP paths are geolocated similarly? addresses information Geolocation Databases Agree Geolocation Databases disagree Only 2 geolocation databases agree CNET in Netcom records 50% 50% 14% 14% 36% 36% are the esses. Hence, (a) IPv4-level paths employ RIR esses we 40% 40% 6% 6% 54% 54% yields the (b) IPv6-level paths cated that • At best, half of the IP paths are geo-mapped similarly by the three datasets. Most of the agreements occur between Delegation and MaxMind • IP-to-country geolocation disagreements appear along the IP path ANRW 2020 10

  11. Observations and Implication: path tromboning IPv4 Paths • 30% IPv4 and 26% IPv6 paths start and end in Norway • No occurrence of path tromboning for IPv4 paths ANRW 2020 11

  12. Observations and Implication: path tromboning Delegation • 30% IPv4 and 26% IPv6 paths MaxMind IP2Location start and end in Norway • No evidence of path tromboning for IPv4 paths • Inaccurate MaxMind IPv6 geo- mappings cause path tromboning. ANRW 2020 12

  13. Observations and Implication: path detours Assumption : IP hops on paths that starts and end in the same geographic region should be mapped within the same region. ANRW 2020 13

  14. Observations and Implication: path detours Delegation Delegation: NO-> GB -> US -> GB ->DE ANRW 2020 14

  15. Observations and Implication: path detours Delegation MaxMind Delegation: NO->GB->US->GB->DE MaxMind: NO-> GB -> US ->DE ANRW 2020 15

  16. Observations and Implication: path detours Delegation MaxMind IP2Location Delegation: NO->GB->US->GB->DE MaxMind: NO->GB->US->DE IP2Location: NO-> US ->DE ANRW 2020 16

  17. Observations and Implication: path detours Delegation MaxMind IP2Location LG-Based IP Geolocation Country-level path: NO->DE Delegation: NO->GB->US->GB->DE MaxMind: NO->GB->US->DE IP2Location: NO->US->DE Path detours caused by Level3 IP addresses inaccurately mapped to US and GB. ANRW 2020 17

  18. High percentage of IP paths appear to miss countries SRC: CN DEST: NO China Unicom Cogent Broadnet ANRW 2020 18

  19. High percentage of IP paths appear to miss countries US NO CN SRC: CN DEST: NO China Unicom Cogent Broadnet Delegation: CN->US->NO ANRW 2020 19

  20. High percentage of IP paths appear to miss countries US NO CN FR SRC: CN DEST: NO China Unicom Cogent Broadnet Delegation: CN->US->NO MaxMind: CN->US->FR->NO ANRW 2020 20

  21. High percentage of IP paths appear to miss countries US NO CA FR CN SRC: CN DEST: NO China Unicom Cogent Broadnet Delegation: CN->US->NO MaxMind: CN->US->FR->NO IP2Location: CN->US->CA->NO ANRW 2020 21

  22. High percentage of IP paths appear to miss countries. US NO CA FR CN Missing countries: FR,CA SRC: CN DEST: NO China Unicom Cogent Broadnet Delegation: CN->US->NO MaxMind: CN->US->FR->NO IP2Location: CN->US->CA->NO ANRW 2020 22

  23. High percentage of IP paths appear to miss countries US NO NL DE SE CA FR CN SRC: CN DEST: NO China Unicom Cogent Broadnet Delegation: CN->US->NO MaxMind: CN->US->FR->NO False negatives: DE, NL, SE IP2Location: CN->US->CA->NO Country-level path: CN->US->CA->NL->DE->SE->NO ANRW 2020 23

  24. Conclusions • High level of agreement among the geolocation datasets hints that IP2Location and Maxmind use RIR information • M&A activity causes IP geolocation inaccuracies • Geolocation inaccuracies can cause misleading path geo-mappings — add or miss countries on the country-level paths • Geolocating one week of RIPE traceroute data validates our observations • Approach for improving IP geolocation IP ANRW 2020 24

Recommend


More recommend