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
- Arista EOS
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.tomlwith 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
Metadata
Release files for flowspec_exporter 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flowspec_exporter-0.1.4.tar.gz | 14.8 kB | Without provenance | Details for flowspec_exporter-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flowspec_exporter-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for flowspec_exporter-0.1.4-py3-none-any.whl |
Total release size: 34.3 kB
Release files / flowspec_exporter-0.1.4.tar.gz
| Download URL | flowspec_exporter-0.1.4.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43467bcf864c01934837c5c961f249415f153a202aad8294b9207bf54205dbfa
|
|
BLAKE2b-256 checksum How to use checksums |
4514b3781ffc1e73a4e01296d903259243c02c0c92248f5e0fc1a01f5eec67db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","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}
|
Release files / flowspec_exporter-0.1.4-py3-none-any.whl
| Download URL | flowspec_exporter-0.1.4-py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c435ab5ad81e7666c6ec66ebbe5704ddbe68badc84423e748f55a6650a9b5c1e
|
|
BLAKE2b-256 checksum How to use checksums |
09d4a9c12d40143d8bd10265c64e18f1aa1850266063dcf5f4273a4167e804f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","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}
|
Security for flowspec_exporter 0.1.4
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.