Towards IP geolocation using delay and topology measurements

Ethan Katz-Bassett, John P. John, Arvind Krishnamurthy, David Wetherall, Thomas E. Anderson, Yatin ChawatheInternet Measurement Conference 2006

TL;DR

This paper introduces Topology-based Geolocation (TBG), a novel method for estimating the geographic location of internet hosts by combining network delay measurements with network topology information. TBG significantly improves accuracy over existing delay-only methods, especially for hosts in less structured parts of the internet, by simultaneously geolocating intermediate routers and the target host.

What Problem Does This Paper Address?

Determining the geographic location of an internet host (IP geolocation) is crucial for various applications, from targeted advertising to emergency services like E-911. Current methods often rely on commercial databases that are manually maintained and prone to inaccuracies, or on specialized hardware like GPS. Existing automated techniques primarily use end-to-end delay measurements from a set of known "landmark" servers. However, these delay-based methods suffer from a significant limitation: their accuracy is heavily dependent on the distance to the nearest landmark. This means that if a target host is far from any landmarks, the estimation error can be substantial, sometimes exceeding 1000 km. The paper aims to overcome this limitation by developing a more robust and broadly applicable automated geolocation service.

Methods

The core innovation of this paper is Topology-based Geolocation (TBG). Unlike previous methods that solely use delay measurements, TBG incorporates network topology information. The approach works by:

  1. Gathering Data: Landmarks perform traceroute probes to each other and to target hosts. This provides end-to-end delay measurements and identifies intermediate network interfaces (routers) along the paths.
  2. Inferring Topology: From traceroute data, TBG infers link latencies between adjacent routers and identifies collocated interfaces (IP aliases) that belong to the same physical router. This process builds a network topology graph.
  3. Validating Hints: TBG can also validate external location hints (e.g., from DNS names) by checking for consistency with speed-of-light constraints and using a voting mechanism based on network connectivity.
  4. Constrained Optimization: TBG then simultaneously geolocates the target host and all intermediate routers encountered on the paths. It models the network as a graph and uses a constrained optimization technique to find positions for all nodes such that the distances between adjacent nodes are proportional to their inferred link latencies. This approach allows TBG to account for the circuitousness of internet paths, which pure delay-based methods struggle with.

TBG is presented with three variants:

  • TBG-pure: Uses only active landmarks with known locations.
  • TBG-passive: Incorporates passive landmarks (nodes whose locations are known but cannot originate probes) in addition to active ones.
  • TBG-undns: Further includes validated location hints from DNS names or other sources.

Datasets

The paper uses several datasets for evaluation:

  • University dataset: A dataset of 128 hosts at universities across the US, with ground truth locations. This dataset is used to evaluate delay-based techniques and TBG, particularly focusing on "difficult" targets in stub networks.
  • Abilene dataset: Consists of 11 PlanetLab nodes collocated with Abilene's Points of Presence (PoPs). The remaining 10 nodes serve as landmarks for each target.
  • Sprint dataset: Targets are routers within the Sprint network, using 68 PlanetLab nodes as landmarks. This dataset represents a non-academic network with potentially more complex inter-domain routing.

The authors note that the University dataset is available for download.

Key Insights and Ideas

  • Delay-only methods are fundamentally limited by landmark proximity: The paper strongly demonstrates that the error in pure delay-based geolocation techniques (like GeoPing and CBG) increases directly with the distance to the nearest landmark. This is a critical insight explaining why these methods fail for distant hosts.
  • Network topology is a powerful constraint: By incorporating information about how routers are connected and the latency of links between them, TBG can significantly improve geolocation accuracy, especially in structured networks. This allows TBG to model path inflation and circuitous routes more effectively.
  • Simultaneous geolocating of routers and targets is key: TBG's ability to estimate the positions of intermediate routers alongside the target host allows for a more consistent and accurate overall solution, leveraging the constraints imposed by the network structure.
  • Passive landmarks and validated hints are valuable: The paper shows that incorporating passive landmarks and validated location hints (even if imperfect) can substantially improve TBG's accuracy, particularly in less structured network environments.
  • Shortest Ping is surprisingly competitive: The simplest delay-based method, mapping a target to the nearest landmark by RTT, performs comparably to more complex delay-only methods like GeoPing and CBG on certain datasets, highlighting the limitations of the latter.

Key Results

  • University Dataset: TBG-undns achieved a median error of 67 km, significantly outperforming CBG's median error of 228 km. TBG-pure also showed improvement over CBG.
  • Abilene Dataset: TBG-pure achieved a mean error of 209 km, compared to 334 km for SOI and 361 km for CBG. TBG-pure's maximum error was also substantially lower.
  • Sprint Dataset: TBG-pure achieved a mean error of 194 km, while SOI and CBG had mean errors of 689 km and 749 km, respectively. This highlights TBG's advantage in handling path inflation.
  • General Improvement: TBG reduced the median estimation error by up to 70% and the 90th percentile of error by a factor of four compared to previous approaches on structured networks.
  • Single Probing Landmark: Even with only one active landmark and the rest passive, TBG-undns provided better estimates than CBG (which used all active landmarks), demonstrating the power of topology and validated hints.

Limitations and Future Work

  • Algorithmic Limitation: TBG's accuracy is still dependent on sufficient structural constraints on the target. In very sparse or poorly connected stub networks, TBG might only accurately geolocate the last constrained router.
  • Measurement Cost: TBG incurs a higher measurement cost than simple delay-based techniques due to the need for traceroute probes and alias detection. However, the authors suggest that much of this data can be collected offline and amortized over many geolocations.
  • Staleness of Topology Information: The paper acknowledges that network topology information needs to be periodically refreshed to maintain accuracy.
  • Future Work: The authors suggest further study into how TBG handles hosts behind firewalls/NATs that filter ICMP requests. They also mention that the approach could be extended to incorporate more sophisticated optimization techniques and explore the use of other measurement types. The potential for a tiered deployment of landmarks for efficient global mapping is also highlighted.

Summary updated

BibTeX
@inproceedings{katzbassett2006towards,
  author = {Ethan Katz-Bassett and John P. John and Arvind Krishnamurthy and David Wetherall and Thomas E. Anderson and Yatin Chawathe},
  title = {{Towards IP geolocation using delay and topology measurements}},
  booktitle = {Internet Measurement Conference},
  year = {2006},
  doi = {10.1145/1177080.1177090},
}

Loading related content...

Figure