Skip to main content

Diamond-Miner 💎

Tests Coverage Documentation PyPI

D-Miner is the first Internet-scale system that captures a multipath view of the topology. By combining and adapting state-of-the-art multipath detection and high speed randomized topology discovery techniques, D-Miner permits discovery of the Internet’s multipath topology in 2.5 days1 when probing at 100kpps.2

🚀 Quickstart

diamond-miner is a Python library to build large-scale Internet topology surveys. It implements the Diamond-Miner algorithm to map load-balanced paths, but it can also be used to implement other kind of measurements such as Yarrp-style traceroutes.

To get started, install Diamond-Miner and head over to the documentation:

# Requires Python 3.10+
pip install diamond-miner

Publication

Diamond-Miner has been presented and published at NSDI 2020. Since then, the code has been refactored and separated in the diamond-miner and caracal repositories. The code as it was at the time of the publication is available in the diamond-miner-cpp and diamond-miner-wrapper repositories.

If you use Diamond-Miner, please cite the following paper:

@inproceedings {DiamondMiner2020,
  author = {Kevin Vermeulen and Justin P. Rohrer and Robert Beverly and Olivier Fourmaux and Timur Friedman},
  title = {Diamond-Miner: Comprehensive Discovery of the Internet{\textquoteright}s Topology Diamonds },
  booktitle = {17th {USENIX} Symposium on Networked Systems Design and Implementation ({NSDI} 20)},
  year = {2020},
  isbn = {978-1-939133-13-7},
  address = {Santa Clara, CA},
  pages = {479--493},
  url = {https://www.usenix.org/conference/nsdi20/presentation/vermeulen},
  publisher = {{USENIX} Association},
  month = feb,
}

Authors

Diamond-Miner is developed and maintained by the Dioptra group at Sorbonne Université in Paris, France. The initial version has been written by Kévin Vermeulen, with subsequents refactoring and improvements by Maxime Mouchet and Matthieu Gouel.

License & Dependencies

This software is released under the MIT license, in accordance with the license of its dependencies.

Name License Usage
pych-client MIT Querying the database
pygfc MIT Generating random permutations
python-zstandard 3-clause BSD Compression
  1. As of v0.1.0, diamond-miner can discover the multipath topology in less than a day when probing at 100k pps. ↩

  2. Vermeulen, Kevin, et al. "Diamond-Miner: Comprehensive Discovery of the Internet's Topology Diamonds." 17th USENIX Symposium on Networked Systems Design and Implementation (NSDI 20). 2020. ↩

Metadata

Release files for diamond-miner 1.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for diamond-miner 1.1.10
File Size Uploaded Provenance Actions
diamond_miner-1.1.10.tar.gz 27.7 kB Without provenance Details for diamond_miner-1.1.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for diamond-miner 1.1.10
File Interpreter ABI Platform Actions
diamond_miner-1.1.10-py3-none-any.whl Python 3 none any Details for diamond_miner-1.1.10-py3-none-any.whl

Total release size: 72.4 kB

Release files / diamond_miner-1.1.10.tar.gz

Download URL diamond_miner-1.1.10.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e0b1db42706e7153b2715a7796aced1fe148a16115975bb4631eb8a8ec79f036
BLAKE2b-256 checksum
How to use checksums
21fadb199a08ab6a9997dc77379905379ec5994c50752f721bae4c19c6321053
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / diamond_miner-1.1.10-py3-none-any.whl

Download URL diamond_miner-1.1.10-py3-none-any.whl
Size 44.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43369417eddb61dcd9647a81b1063848e573efc59a1faa354ff46010d126b1d8
BLAKE2b-256 checksum
How to use checksums
0b7cf61be154371f329294569a26f40f9823405d5177b879a3278c5d4bc972e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for diamond-miner 1.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page