Skip to main content

No project description provided

Project description

⚡ MetaTrace

Tests PyPI

Quickstart

Docker

docker run ghcr.io/dioptra-io/metatrace --help

Python

pip install metatrace
metatrace --help

Repository

git clone git@github.com:dioptra-io/metatrace.git
cd metatrace
poetry install
poetry run metatrace --help

Usage

CLI

Data

metatrace data create|delete|get|insert|query

Metadata

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

Web

metatrace server

http://localhost:5555

Python

metatrace.lib

Data

Public CAIDA Ark data is supported.

Metadata

Autonomous system number

This metadata maps an IP address to its originating AS number, as seen by a BGP collector. RouteViews and RIPE RIS are supported.

Geolocation

This metadata maps an IP address to its country, city, latitude and longitude. MaxMind GeoLite2 City is supported.

Internet Exchange Point

This metadata maps an IP address to its IXP if it belongs to its peering LAN. PeeringDB is supported.

Authors

MetaTrace is developed and maintained by the Dioptra group at Sorbonne Université in Paris, France.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metatrace-0.1.0.tar.gz (953.0 kB view hashes)

Uploaded Source

Built Distribution

metatrace-0.1.0-py3-none-any.whl (1.7 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page