Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, Nix 安装 bgpq4

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bgpq4

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add bgpq4

Alpine Linux edge package indexes · bgpq4 · 来源: dl-cdn.alpinelinux.org

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

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

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

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

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

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

概览

软件包摘要

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

命令和别名

  • bgpq4

历史

项目历史与用法

bgpq4 is the modern bgpq-family CLI for generating router filters from IRR data. It keeps the operator-friendly model of bgpq3 while focusing on newer IRRd behavior, newer vendor outputs, and ongoing maintenance.

项目历史

The bgpq4 changelog explicitly records version 0.0.1 in 2019 as the point where bgpq3 was forked into bgpq4. The repository preserves older bgpq3 history back to the 2007 rewrite, but the bgpq4 line is documented as the post-2019 fork.

Early bgpq4 releases removed legacy options, improved performance by using IRRd 4's A query when available, and added Mikrotik support. Later releases reorganized the source tree, adopted OpenBSD-style formatting, reduced memory use with a red-black tree for ASN storage, and added outputs such as Junos as-path-origin, Nokia SR Linux, Mikrotik RouterOS v6/v7, Arista EOS, Huawei XPL, and other router-policy formats.

采用历史

The input metadata lists bgpq4 packages across Alpine, Homebrew, Debian, Fedora/DNF, Nix, and Ubuntu, and the upstream README includes a packaging-status badge. That breadth matters because bgpq4 is the sort of tool network engineers want available on jump hosts, CI runners, and laptops without hand-building it.

使用方式

The README describes bgpq4 as producing prefix lists, extended access lists, policy-statement terms, and AS-path lists from IRR objects. Operators pass ASNs, AS sets, route sets, or prefixes, select sources such as RPKI, AFRINIC, ARIN, APNIC, LACNIC, and RIPE, and choose target syntax for Cisco, Juniper, BIRD, OpenBGPD, Nokia, Mikrotik, Huawei, Arista, or JSON output.

为什么软件包爱好者会关心

bgpq4 is a package-nerd favorite because it condenses a brittle BGP edge-operations task into a single auditable binary. It is small C code, has no daemon to operate, emits plain text suitable for config generation pipelines, and exists precisely where package managers shine: getting a boring but critical network-ops tool onto many Unix-like systems.

时间线

  • 2007: The inherited bgpq-family Git history begins with the bgpq3 rewrite.
  • 2019: bgpq3 is forked into bgpq4; early releases remove legacy flags and use IRRd 4's A query when available.
  • 2021: Version 1.3 reorganizes the repository, reformats large parts of the code, and reduces memory use.
  • 2022: Version 1.5 adds Junos as-path-origin support.
  • 2023: Versions 1.10 and 1.11 add Nokia SR Linux support and tighten AS23456 handling.
  • 2026: Version 1.16 is released.

Related projects

  • bgpq3 is the direct predecessor. The tool also lives beside IRRd, RADB-style IRR services, RPKI-aware workflows, and router stacks such as Cisco IOS/IOS XR, JunOS, BIRD, OpenBGPD, Nokia SR OS/SR Linux, Mikrotik RouterOS, Huawei, and Arista EOS.

安全态势

风险级别:绿色

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 元数据适用于 6 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/bgp/bgpq4

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

安装元数据

软件包元数据

软件包键brew:bgpq4
版本1.16
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bgpq4
主页https://github.com/bgp/bgpq4
仓库https://github.com/bgp/bgpq4
上游文档https://github.com/bgp/bgpq4#readme
许可证BSD-2-Clause
源码归档https://github.com/bgp/bgpq4/archive/refs/tags/1.16.tar.gz
构建依赖autoconf, automake, libtool
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebgpq4
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%

bgpq4 1.12-1

automatic BGP filter generator using IRR routing data

https://github.com/bgp/bgpq4

sudo apt install bgpq4
  • Section: net
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Bgpq4
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bgpq4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bgpq4

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

bgpq4 1.12-1

automatic BGP filter generator using IRR routing data

https://github.com/bgp/bgpq4

sudo apt install bgpq4
  • Section: universe/net
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Bgpq4
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bgpq4 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

bgpq4 1.16-r0

bgp filtering automation tool

https://github.com/bgp/bgpq4

sudo apk add bgpq4
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: bgpq4
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bgpq4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bgpq4 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

bgpq4-doc 1.16-r0

bgp filtering automation tool (documentation)

https://github.com/bgp/bgpq4

sudo apk add bgpq4-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: bgpq4
  • normalized package name match
  • 匹配方式:Bgpq4
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bgpq4-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

bgpq4 1.16-1.fc45

Automate BGP filter generation based on routing database information

https://github.com/bgp/bgpq4

sudo dnf install bgpq4
  • License: BSD-2-Clause AND BSD-3-Clause AND ISC AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bgpq4
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bgpq4
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bgpq4 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