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.2.tar.gz (14.0 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.2-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flowspec_exporter-0.1.2.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for flowspec_exporter-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ec2b11988d157747ad0e4b11384fdac5cabba0c9b2be562b33c4f5874c95aaa3
MD5 0c13857ed4781bb368d805d1a6522393
BLAKE2b-256 ad7790b53e20db83e53c0ecba4870b671fa8d2d7661546bc2349d37f8a13bc1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flowspec_exporter-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for flowspec_exporter-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb3ec6dc4ab9ed883a62a8f83276f4d830cd1860de52a54c898d0b4d1a53f93b
MD5 bdf6c1aa3da382070c25eb271930fc0a
BLAKE2b-256 a268577e1829bb5c6e0070fd10071dee55da992fb6396412c30b11cf90205d39

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