Skip to main content

Add your description here

Project description

FlowSpec Exporter

A tool to export FlowSpec rules from routers and parse them into a structured format.

You can either collect the data directly into a PostgreSQL database or export it and use Prometheus to scrape it.

Supported Routers

  • Cisco IOS
  • Juniper JunOS
  • Huawei VRP

Kwown Issues / Limitations

  • Long rules may be truncated in the routers output. Hence, the parser may not be able to parse them correctly.
  • Routers can interpret rules differently. So even if you send the same rule to different routers, they may appear differently in the output.

How to Use

  • Install the dependencies:
uv sync --extra all
  • Edit the config.toml with your own values.

  • Make sure you have a PostgreSQL database running:

docker run -d --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password timescale/timescaledb-ha:pg17
  • Run the worker:
python -m src.worker

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

flowspec_exporter-0.1.1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowspec_exporter-0.1.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file flowspec_exporter-0.1.1.tar.gz.

File metadata

  • Download URL: flowspec_exporter-0.1.1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.24

File hashes

Hashes for flowspec_exporter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 12e897ac8bc6de9532063d879b42c1014c86d911a53e12b91b3150326b2ff115
MD5 9138d519adecf64f43ce4aa39aee7fa3
BLAKE2b-256 2405e1163d826ab9f07d29ca97f1d4e4b64fbfc5517469e04b0001b59294dd4b

See more details on using hashes here.

File details

Details for the file flowspec_exporter-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for flowspec_exporter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2924086e4f6adedd9bba5c48d2c018ea83843c7c20b1206b843a8a767efd6d9c
MD5 e8b40509ee0c06da6aced5f9abf6d2ce
BLAKE2b-256 cfe0c772581d72d60d02598d25c783ab70412093407252c06685548a43e6cfb6

See more details on using hashes here.

Supported by

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