# 使用 Homebrew 安装 yaf

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

## 安装

```sh
sudo av install brew:yaf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install yaf
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:yaf
- **软件包管理器:** Homebrew
- **版本:** 2.19.4
- **来源摘要:** Yet another flowmeter: processes packet data from pcap(3)
- **主页:** <https://tools.netsa.cert.org/yaf/>
- **最后更新:** 2026-07-21T16:51:42Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- airdaemon (别名)
- filedaemon (别名)
- getFlowKeyHash (别名)
- yaf (别名)
- yafMeta2Pcap (别名)
- yafcollect (别名)
- yafscii (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.19.4
## 项目历史与用法

YAF, Yet Another Flowmeter, is CERT NetSA's packet-to-flow sensor for turning live traffic or PCAP captures into bidirectional IPFIX flow records. In package-manager terms it is the flow-metering front end of a larger network-security toolchain rather than a general packet sniffer.

### 项目历史

The NetSA documentation describes YAF as the data collection component of the CERT NetSA Security Suite. Its original purpose was experimental: tracking work in the IETF IPFIX working group, especially bidirectional flow representation, archival storage formats, structured export, and deep packet inspection fields.

A 2010 USENIX LISA paper by Christopher M. Inacio and Brian Trammell presented YAF as a reference implementation of an IPFIX metering and exporting process and as a platform for rapid deployment of new flow-meter capabilities. The modern NetSA site keeps both a stable 2.x documentation set and a 3.x pre-release line, showing that the tool remained maintained long after its research-prototype origins.

### 采用历史

YAF adoption is tied to operational network monitoring, especially environments that already use SiLK, super_mediator, Analysis Pipeline, Mothra, or other IPFIX-compatible collectors. Its niche is converting high-volume packet observation into compact flow records that analysts can store, query, and correlate without preserving every packet payload.

### 使用方式

Common usage is to run `yaf` against a live interface, a pcap file, or a list of captures, export IPFIX to a collector, or write an IPFIX-based file for later processing. The documentation emphasizes flow building, DPI fields for protocols such as DNS, SSL, HTTP, and SMTP, and PCAP indexing workflows for retrospective analysis.

For package users, the important distinction is that YAF is not a packet-display tool like tcpdump or Wireshark. It is a sensor component that summarizes packet streams into flow data for downstream security analytics.

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

YAF is interesting to package nerds because it packages a research-grade IPFIX metering implementation as a Unix sensor daemon and CLI suite. It also sits at the boundary between standards work, security operations, and package-manager distribution: libpcap in, IPFIX and SiLK-style workflows out.

### 时间线

- 2006: The public YAF release history begins with the 0.1.0 series.
- 2010: YAF was presented at USENIX LISA as Yet Another Flowmeter, a reference IPFIX metering and exporting implementation.
- 2011: The release history records the YAF 2.0.0 line.
- 2020s: The NetSA site documents YAF 2.x as stable and YAF 3.x as a pre-release line.

### Related projects

- SiLK, super_mediator, Analysis Pipeline, and Mothra are the NetSA tools most directly connected to YAF output.
- libpcap and tcpdump are adjacent capture-layer tools, while IPFIX collectors are the protocol-level peers that consume YAF export streams.

### 来源

- <https://tools.netsa.cert.org/yaf/>
- <https://tools.netsa.cert.org/yaf2/>
- <https://tools.netsa.cert.org/yaf2/release-history.html>
- <https://www.usenix.org/conference/lisa10/yaf-yet-another-flowmeter>


## 安全说明

没有找到 yaf 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Combined YAML source

View the package source record on GitHub. [combined/yaf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/yaf.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
