Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, Nix 安装 bgpq3

查看 bgpq3 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bgpq3

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install bgpq3

Debian stable package indexes · bgpq3 · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install bgpq3

Fedora Rawhide package metadata · bgpq3 · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#bgpq3

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

概览

软件包摘要

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

命令和别名

  • bgpq3

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bgpq3cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本0.1.38
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.1.38

https://github.com/snar/bgpq3

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:bgpq3
版本0.1.38
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bgpq3
主页http://snar.spb.ru/prog/bgpq3/
仓库https://github.com/snar/bgpq3
上游文档https://github.com/snar/bgpq3#readme
许可证BSD-2-Clause
源码归档https://github.com/snar/bgpq3/archive/refs/tags/v0.1.38.tar.gz
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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