docker run ghcr.io/dioptra-io/metatrace --help
pip install metatrace
metatrace --help
git clone git@github.com:dioptra-io/metatrace.git
cd metatrace
poetry install
poetry run metatrace --help
metatrace data create|delete|get|insert|query
metatrace METADATA create|delete|get|query
For example:
metatrace asn add --collector route-views2.routeviews.org --date 2014-01-01T00:00:00
metatrace asn get
# ┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┓
# ┃ Identifier ┃ Collector ┃ Date ┃ Creation date ┃ Rows ┃ Size ┃
# ┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━┩
# │ 202205312208_1f59 │ route-views2.routeviews.org │ Wed Jan 1 00:00:00 2014 │ Tue May 31 22:08:18 2022 │ 498110 │ 3.5454529999999997 MB │
# └───────────────────┴─────────────────────────────┴──────────────────────────┴──────────────────────────┴────────┴───────────────────────┘
metatrace asn query 202205312208_1f59 8.8.8.8
# 15169
metatrace asn delete 202205312208_1f59
metatrace server
metatrace.lib
Public CAIDA Ark data is supported.
This metadata maps an IP address to its originating AS number, as seen by a BGP collector. RouteViews and RIPE RIS are supported.
This metadata maps an IP address to its country, city, latitude and longitude. MaxMind GeoLite2 City is supported.
This metadata maps an IP address to its IXP if it belongs to its peering LAN. PeeringDB is supported.
MetaTrace is developed and maintained by the Dioptra group at Sorbonne Université in Paris, France.