Automic VaultAutomic Vault

brew

Install bgpq3 with Homebrew, apt, dnf, Nix

BGP filtering automation for Cisco, Juniper, BIRD and OpenBGPD routers. Version 0.1.38 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bgpq3

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install bgpq3

Debian stable package indexes · bgpq3 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install bgpq3

Fedora Rawhide package metadata · bgpq3 · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#bgpq3

nixpkgs package indexes · pkgs/by-name/bg/bgpq3/package.nix · source: api.github.com

overview

Package summary

BGP filtering automation for Cisco, Juniper, BIRD and OpenBGPD routers

Commands and aliases

  • bgpq3

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2007: Public repository history starts with a complete rewrite of bgpq into bgpq3.
  • 2014: BIRD output support and JSON/as-path improvements appear in the changelog.
  • 2016: OpenBGPD output support lands.
  • 2018: Nokia SR OS, Huawei output, OpenBGPD prefix-set, and Juniper route-filter-list work are recorded.
  • 2021: Version 0.1.36 adds route-server import AS-path handling and more vendor fixes.
  • 2025: Version 0.1.38 updates IRRd answer handling and JunOS as-list support.

Related projects

  • bgpq4 is the direct successor/fork line for users who want the newer bgpq implementation. Related routing targets and data sources include IRRd/RADB-style IRR databases, BIRD, OpenBGPD, Cisco IOS/IOS XR, Juniper JunOS, Nokia SR OS, and Huawei router syntax.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bgpq3cliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.1.38
manager updated
local dataok
upstreamcurrent
latest detectedv0.1.38

https://github.com/snar/bgpq3

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:bgpq3
Version0.1.38
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bgpq3
Homepagehttp://snar.spb.ru/prog/bgpq3/
Repositoryhttps://github.com/snar/bgpq3
Upstream docshttps://github.com/snar/bgpq3#readme
LicenseBSD-2-Clause
Source archivehttps://github.com/snar/bgpq3/archive/refs/tags/v0.1.38.tar.gz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebgpq3
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

bgpq3 0.1.36.1-1

automatic BGP filter generator using RADB data

http://snar.spb.ru/prog/bgpq3/

sudo apt install bgpq3
  • Section: net
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Bgpq3
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bgpq3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bgpq3

nix profile install nixpkgs#bgpq3
  • normalized package name match
  • Matched by: Bgpq3
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/bg/bgpq3/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

bgpq3 0.1.36.1-1

automatic BGP filter generator using RADB data

http://snar.spb.ru/prog/bgpq3/

sudo apt install bgpq3
  • Section: universe/net
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Bgpq3
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bgpq3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

bgpq3 0.1.38-3.fc44

Automate BGP filter generation based on routing database information

http://snar.spb.ru/prog/bgpq3/

sudo dnf install bgpq3
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bgpq3
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bgpq3
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bgpq3 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment