Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, apt 安装 snort

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install snort

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install snort

MacPorts ports tree · net/snort/Portfile · 来源: api.github.com

Linux

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

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

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

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

Ubuntu apt已验证 · 92%
sudo apt install snort

Ubuntu 24.04 LTS package indexes · snort · 来源: archive.ubuntu.com

概览

软件包摘要

Flexible Network Intrusion Detection System

命令和别名

  • appid_detector_builder.sh
  • show_flows
  • snort
  • snort2lua
  • u2boat
  • u2spewfoo

历史

项目历史与用法

Snort is a long-running open-source intrusion detection and prevention system whose command-line engine, rule language, and packaging history make it one of the canonical security tools in Unix and network-operations package collections.

项目历史

Snort's official GPL page carries Martin Roesch copyrights beginning in 1998, and Snort's own site describes it as an open-source IPS capable of real-time traffic analysis and packet logging. The project evolved from a packet sniffer and logger into a rule-driven network IDS/IPS with community and subscriber rules.

Snort 3, also known in the repository README as Snort++, was officially released on January 19, 2021 as version 3.1.0.0 after more than seven years of development. The official announcement describes a ground-up rework with faster rules, more user control, multi-environment support, multi-threaded packet processing, Lua configuration, pluggable components, service autodetection, sticky buffers, and autogenerated reference documentation.

采用历史

Snort has a package-manager footprint because it is both a classic open-source security engine and an operational dependency for labs, appliances, training environments, and production sensors. The supplied package metadata lists Homebrew, Alpine, MacPorts, Nix, and Ubuntu packaging, while Snort.org points users to source releases, GitHub code, rule downloads, setup guides, and the Snort 3 manual.

使用方式

Snort is used as a packet sniffer, packet logger, network intrusion detection system, and inline prevention system. Snort 3 users typically build or install the engine, configure Lua files such as `snort.lua`, add rule sets, validate the configuration, then run against live interfaces or PCAP files with alert output suitable for analysts and automation.

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

Package nerds care about Snort because it exercises nearly every hard part of packaging security software: libpcap/DAQ integration, LuaJIT configuration, C++ build requirements, rule data that changes independently from the engine, optional acceleration libraries, service files, sample configs, and upgrades between major rule-engine generations.

时间线

  • 1998: Official GPL page lists Martin Roesch copyrights beginning with Snort's early releases.
  • 2014: Snort 3-era copyright line begins under Cisco and affiliates in official version-output examples.
  • 2021-01-19: Snort 3 version 3.1.0.0 officially released.
  • 2026: Snort blog announces end-of-life for older Snort 2 and Snort 3 rule-support versions and encourages use of current Snort 3 packages.

Related projects

  • Snort is commonly discussed alongside tcpdump for packet sniffing, libpcap for capture, DAQ for packet I/O, Cisco Talos for rule development, and other IDS/IPS systems such as Suricata.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:network

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 10 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
snort.luasnort_defaults.lua

可执行文件

已安装的可执行文件

命令类型暴露范围备注
appid_detector_builder.shcli全局可执行文件
show_flowscli全局可执行文件
snortcli全局可执行文件
snort2luacli全局可执行文件
u2boatcli全局可执行文件
u2spewfoocli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本3.12.2.0
管理器更新时间2026-06-27
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/snort3/snort3

安装元数据

软件包元数据

软件包键brew:snort
版本3.12.2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/snort
主页https://www.snort.org
仓库https://github.com/snort3/snort3
上游文档https://docs.snort.org/rules
许可证GPL-2.0-only
源码归档https://github.com/snort3/snort3/archive/refs/tags/3.12.2.0.tar.gz
最后更新2026-06-27T17:38:03-04:00
Pulseupdated
依赖daq, hwloc, jemalloc, libdnet, libpcap, luajit, openssl@3, pcre2, vectorscan, xz
构建依赖cmake, flex, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项For snort to be functional, you need to update the permissions for /dev/bpf* so that they can be read by non-root users. This can be done manually using: sudo chmod o+r /dev/bpf* or you could create a startup item to do this for you.

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

snort

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

snort 2.9.20-0+deb11u1ubuntu1

flexible Network Intrusion Detection System

https://www.snort.org/

sudo apt install snort
  • Section: universe/net
  • Architecture: amd64
  • 20 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Snort
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: snort from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

snort-common 2.9.20-0+deb11u1ubuntu1

flexible Network Intrusion Detection System - common files

https://www.snort.org/

sudo apt install snort-common
  • Section: universe/net
  • Architecture: all
  • Source Package: snort
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Snort
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: snort-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

snort-common-libraries 2.9.20-0+deb11u1ubuntu1

flexible Network Intrusion Detection System - libraries

https://www.snort.org/

sudo apt install snort-common-libraries
  • Section: universe/net
  • Architecture: amd64
  • Source Package: snort
  • 5 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Snort
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: snort-common-libraries from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

snort-doc 2.9.20-0+deb11u1ubuntu1

flexible Network Intrusion Detection System - documentation

https://www.snort.org/

sudo apt install snort-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: snort
  • normalized package name match
  • 匹配方式:Snort
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: snort-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

snort-rules-default 2.9.20-0+deb11u1ubuntu1

flexible Network Intrusion Detection System - ruleset

http://www.snort.org/snort-rules/

sudo apt install snort-rules-default
  • Section: universe/net
  • Architecture: all
  • Source Package: snort
  • 3 依赖
  • 1 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Snort
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: snort-rules-default from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

snort 3.9.2.0-r0

Open source network intrusion prevention and detection system

https://www.snort.org/

sudo apk add snort
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: snort
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Snort
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: snort from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

snort-dev 3.9.2.0-r0

Open source network intrusion prevention and detection system (development files)

https://www.snort.org/

sudo apk add snort-dev
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: snort
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Snort
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: snort-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

snort-doc 3.9.2.0-r0

Open source network intrusion prevention and detection system (documentation)

https://www.snort.org/

sudo apk add snort-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: snort
  • normalized package name match
  • 匹配方式:Snort
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: snort-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

snort-openrc 3.9.2.0-r0

Open source network intrusion prevention and detection system (OpenRC init scripts)

https://www.snort.org/

sudo apk add snort-openrc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: snort
  • normalized package name match
  • 匹配方式:Snort
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: snort-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
MacPorts95%

snort

sudo port install snort
  • normalized package name match
  • 匹配方式:Snort
MacPorts ports tree · api.github.com · MacPorts ports tree: net/snort/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment