macOS
brew install bgpq3local Homebrew formula metadata
brew
BGP filtering automation for Cisco, Juniper, BIRD and OpenBGPD routers. Version 0.1.38 via Homebrew; verified from local package data.
install
brew install bgpq3local Homebrew formula metadata
sudo apt install bgpq3Debian stable package indexes · bgpq3 · source: deb.debian.org
sudo dnf install bgpq3Fedora Rawhide package metadata · bgpq3 · source: dl.fedoraproject.org
nix profile install nixpkgs#bgpq3nixpkgs package indexes · pkgs/by-name/bg/bgpq3/package.nix · source: api.github.com
overview
BGP filtering automation for Cisco, Juniper, BIRD and OpenBGPD routers
history
bgpq3 is a command-line BGP filter generator for turning Internet Routing Registry data into router policy snippets. Its niche is operational rather than decorative: it helps network operators convert AS sets, route sets, and prefixes into vendor-specific prefix lists, route filters, AS-path lists, and related configuration.
The public repository history begins in 2007 with a commit described as a complete rewrite of bgpq, making bgpq3 the maintained successor in that small family of IRR-to-router-policy tools. The README documents output modes for Cisco, Juniper, BIRD, OpenBGPD, Nokia SR OS, Huawei, JSON, and user-defined formats, reflecting years of operator-driven feature accretion rather than a one-time utility script.
The changelog shows bgpq3 tracking the operational realities of BGP: 32-bit ASNs, AS23456 transition handling, private/documentation ASNs, IPv6, route-server behavior, vendor-specific syntax, and IRRd query behavior. Later releases added and refined OpenBGPD, Nokia, Huawei, Juniper route-filter-list, mixed address-family, and JunOS as-list support.
The package has escaped a single-source niche: the input metadata lists packages in Homebrew, Debian, Fedora/DNF, Nix, and Ubuntu. The changelog also credits reports or contributions from network operators and routing-tool maintainers including Job Snijders, Claudio Jeker, Denis Fondras, and others, which is the adoption pattern typical of infrastructure CLI tools.
Operators invoke bgpq3 with ASNs, AS sets, route sets, or prefixes and choose output flags for the target routing platform. Common use cases include generating Juniper prefix lists, Cisco prefix lists or AS-path access lists, BIRD filters, OpenBGPD sets, JSON output, and filtered IRR source queries against a whois/IRRd server.
For package and network-ops nerds, bgpq3 is valuable because it packages an awkward operational workflow into a reproducible Unix command: pull IRR objects, expand recursive AS sets, aggregate prefixes when possible, and emit router configuration that can be reviewed or automated. It sits at the intersection of package-manager convenience and BGP hygiene.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bgpq3 | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:bgpq3 |
|---|---|
| Version | 0.1.38 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/bgpq3 |
| Homepage | http://snar.spb.ru/prog/bgpq3/ |
| Repository | https://github.com/snar/bgpq3 |
| Upstream docs | https://github.com/snar/bgpq3#readme |
| License | BSD-2-Clause |
| Source archive | https://github.com/snar/bgpq3/archive/refs/tags/v0.1.38.tar.gz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bgpq3 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
bgpq3 0.1.36.1-1
automatic BGP filter generator using RADB data
http://snar.spb.ru/prog/bgpq3/
sudo apt install bgpq3bgpq3
nix profile install nixpkgs#bgpq3bgpq3 0.1.36.1-1
automatic BGP filter generator using RADB data
http://snar.spb.ru/prog/bgpq3/
sudo apt install bgpq3bgpq3 0.1.38-3.fc44
Automate BGP filter generation based on routing database information
http://snar.spb.ru/prog/bgpq3/
sudo dnf install bgpq3source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.