# 使用 Homebrew, MacPorts 安装 fragroute

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

## 安装

```sh
sudo av install brew:fragroute
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fragroute
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fragroute
```

  证据: MacPorts ports tree: net/fragroute/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:fragroute
- **软件包管理器:** Homebrew
- **版本:** 1.2
- **来源摘要:** Intercepts, modifies and rewrites egress traffic for a specified host
- **主页:** <https://www.monkey.org/~dugsong/fragroute/>
- **最后更新:** 2026-06-22T14:03:22-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fragroute (别名)
- fragtest (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

fragroute is a classic network-security test tool by Dug Song for intercepting, modifying, and rewriting outbound traffic to a target host. Its purpose is to reproduce insertion, evasion, and denial-of-service techniques against intrusion-detection systems and TCP/IP stacks in a controlled test setting.

### 项目历史

The official homepage describes fragroute as an implementation of most attacks from the January 1998 Secure Networks paper on eluding network intrusion detection. The bundled license covers 2001 and 2002, and the 1.2 source archive contains README and manpage files dated April 2002.

The project belongs to the same early-2000s packet-manipulation culture as libdnet and libpcap-based security tools. Its author page distributed source tarballs and plain-text manpages rather than a modern public source-control repository.

### 采用历史

fragroute's official page documented builds on OpenBSD, FreeBSD, Linux, Solaris, and Windows 2000, with dependencies on libdnet, libpcap, libevent, and platform tunnel drivers. The bundled scripts include notes for attacks reported against Snort 1.8.3 in January 2002, anchoring the tool in IDS regression testing practice.

### 使用方式

The fragroute executable reads a ruleset and a target host, then applies directives such as delay, duplicate, drop, fragment, overlap, print, reorder, segment, source-route, TTL, and TOS changes to outbound packets. fragtest complements it by probing a remote host's IP fragment reassembly behavior.

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

For package-history purposes, fragroute is significant because it is a tarball-era security utility that remains packaged long after its original homepage workflow. It preserves a specific moment in IDS testing, before many tools moved to GitHub and before network evasion testing became a routine part of security lab distributions.

### 时间线

- 1998: Secure Networks paper on insertion, evasion, and denial-of-service attacks provides the attack taxonomy fragroute implements.
- 2001: Copyright period begins for the fragroute source distribution.
- 2002: fragroute 1.2 source archive, README, manpage, and Snort test notes dated April 2002.
- 2002: Bundled notes document attacks against Snort 1.8.3 reported January 28, 2002.

### Related projects

- Official dependencies and related tools named by the project include libdnet, libpcap, libevent, fragtest, Snort test scripts, CIPE-Win32, and TUN/TAP drivers. The manpage contrasts fragroute with fragrouter by noting that fragroute affects only local outbound traffic.

### 来源

- <https://www.monkey.org/~dugsong/fragroute>
- <https://www.monkey.org/~dugsong/fragroute/fragroute-1.2.tar.gz>
- <https://www.monkey.org/~dugsong/fragroute/fragroute.8.txt>
- <https://www.monkey.org/~dugsong/fragroute/fragtest.8.txt>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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

- Unix: /usr/local/etc/fragroute.conf
## 其他软件包管理器记录

- MacPorts - fragroute: normalized package name match | MacPorts ports tree: net/fragroute/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
