Delay-Distance Correlation Study for IP Geolocation

Shichang Ding, Xiangyang Luo, Dengpan Ye, Fenlin LiuarXiv 2019 · OpenReview

TL;DR

This paper tackles the challenge of IP geolocation in poorly connected networks, where traditional methods struggle due to weak correlations between network delay and geographical distance. They introduce a novel "RTD-Corr" model to better understand these correlations and identify "rich-connected" subnetworks within larger, poorly connected ones, significantly improving the accuracy of existing IP geolocation algorithms.

What Problem Does This Paper Address?

IP geolocation, the process of determining a host's physical location based on its IP address, is crucial for many online services, from security to fraud detection. Classical IP geolocation algorithms, particularly those relying on network delay measurements, perform well in "rich-connected" networks (like those in the US or Western Europe) where network delay generally correlates strongly with geographical distance. However, these algorithms falter in "poor-connected" networks, such as China's internet, where this delay-distance correlation is weak. This weakness leads to significant localization errors. The core problem is how to make IP geolocation accurate in these challenging, poorly connected network environments.

Methods

The paper introduces two main methodological contributions:

  1. RTD-Corr Model: This novel model aims to explain why delay-distance correlation is strong or weak. It breaks down network delay into propagation delay and routing delay and relates them to three key network factors:
  2. Tortuosity of the network path (T): How circuitous the actual network path is compared to a direct path.
  3. Ratio of propagation delay to total delay (R): The proportion of time spent on actual data travel versus other delays.
  4. Direct geographical distance (D): The straight-line distance between two points. The model mathematically derives how variations in these factors influence the delay-distance correlation coefficient.

  5. Identifying Rich-Connected Subnetworks: Based on the RTD-Corr model and an analysis of China's internet infrastructure, the authors hypothesize that subnetworks within a single Internet Service Provider (ISP) (Intra-ISP) and those centered around "Regional Network Centers" are more likely to exhibit stronger delay-distance correlations. They then propose a strategy to find these subnetworks.

  6. Algorithm Modification: Using the identified rich-connected subnetworks, they modify two existing delay-based IP geolocation algorithms:
  7. GeoGet: Modified to select landmarks that are within the same ISP as the target host, improving the "shortest-closest" rule's effectiveness.
  8. CBG (Constraint-based Geolocation): Modified to select probing hosts that have a strong Intra-ISP or Inter-ISP correlation with the target host, ensuring the "bestline" estimation is more reliable.

Datasets

The study utilizes a large-scale network measurement dataset collected for China's internet. This dataset consists of:

  • Round-trip times (RTT): Measured between 90 probing hosts and 450 landmarks.
  • Direct geographic distances: Calculated between these probing hosts and landmarks.

The measurements were taken over a week, with the minimum RTT selected for each pair. The probing hosts were strategically deployed across 43 cities and 28 provinces, covering three major ISPs (China Telecom, China Unicom, and CERNET). Landmarks were distributed across these ISPs and provincial capitals.

Key Insights and Ideas

  • Poorly connected networks aren't uniformly weak: While the overall delay-distance correlation in a large network like China's internet might be weak, specific subnetworks within it can be surprisingly "rich-connected" and thus amenable to traditional geolocation techniques.
  • Understanding the "why" of correlation: The RTD-Corr model provides a crucial theoretical framework, moving beyond simply measuring correlation to understanding the underlying network factors (tortuosity, delay ratios) that influence it. This insight is key to identifying where stronger correlations might exist.
  • ISP boundaries matter: The research strongly suggests that focusing on subnetworks within a single ISP (Intra-ISP) is a more effective strategy for finding rich-connected regions in China's internet than looking across ISP boundaries.
  • Regional hubs are important: Probing hosts located in or near "Regional Network Centers" (major cities acting as traffic hubs) tend to have stronger delay-distance correlations, making them valuable for geolocation.

Key Results

  • Overall China Internet Correlation: The study found a very weak overall delay-distance correlation of 0.1674 for China's internet, confirming its "poor-connected" nature.
  • Intra-ISP Correlation Strength: Intra-ISP correlations for the three major ISPs were significantly higher, ranging from 0.6 to 0.7, which is considered strong enough for classical algorithms.
  • Subnetwork Richness: Approximately 25% of the subnetworks analyzed in China Internet showed a delay-distance correlation above 0.7.
  • GeoGet Improvement: The modified GeoGet algorithm achieved a city-level mapping accuracy of about 97%, a nearly two-fold increase compared to the original GeoGet's 38%.
  • CBG Improvement: The modified CBG algorithm reduced the median error distance by approximately 50% (from 629.8 km to 315.4 km).

Limitations and Future Work

  • Focus on China: While the RTD-Corr model is general, the specific identification of rich-connected subnetworks and algorithm modifications were demonstrated using China's internet. The applicability to other poorly connected networks would require further validation.
  • Street-level Geolocation: The paper focuses on city-level geolocation, noting that street-level accuracy builds upon this. Further research could explore how these findings extend to finer-grained localization.
  • Dynamic Network Conditions: The measurements were taken over a week. Network conditions can change, and the robustness of the identified subnetworks and modified algorithms under dynamic conditions is an area for future exploration.
  • Designing New Algorithms: The authors suggest that in further research, they will aim to design entirely new IP geolocation algorithms specifically tailored for poor-connected networks, rather than just modifying existing ones.

Summary updated

Abstract

Although many classical IP geolocation algorithms are suitable to rich-connected networks, their performances are seriously affected in poor-connected networks with weak delay-distance correlation. This paper tries to improve the performances of classical IP geolocation algorithms by finding rich-connected sub-networks inside poor-connected networks. First, a new delay-distance correlation model (RTD-Corr model) is proposed. It builds the relationship between delay-distance correlation and actual network factors such as the tortuosity of the network path, the ratio of propagation delay and the direct geographical distance. Second, based on the RTD-Corr model and actual network characteristics, this paper discusses about how to find rich-connected networks inside China Internet which is a typical actual poor-connected network. Then we find rich-connected sub-networks of China Internet through a large-scale network measurement which covers three major ISPs and thirty provinces. At last, based on the founded rich-connected sub-networks, we modify two classical IP geolocation algorithms and the experiments in China Internet show that their accuracy is significantly increased.
BibTeX
@misc{ding2019delay,
  author = {Shichang Ding and Xiangyang Luo and Dengpan Ye and Fenlin Liu},
  title = {{Delay-Distance Correlation Study for IP Geolocation}},
  year = {2019},
  eprint = {1909.02439},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.02439},
}
Figure