# 使用 Homebrew, apt, MacPorts, zypper 安装 bittwist

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

## 安装

```sh
sudo av install brew:bittwist
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bittwist
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bittwist
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install bittwist
```

  证据: Debian stable package indexes: bittwist from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install bittwist
```

  证据: openSUSE Tumbleweed package metadata: bittwist from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:bittwist
- **软件包管理器:** Homebrew
- **版本:** 4.7
- **来源摘要:** Libcap-based Ethernet packet generator
- **主页:** <https://bittwist.sourceforge.io>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bittwist (别名)
- bittwiste (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Bit-Twist is a libpcap-based Ethernet packet generator and packet editor maintained by Addy Yeow. Its official site presents it as a companion to tcpdump: capture traffic into pcap files, edit the packets, then regenerate that traffic on a live network.

### 项目历史

The official changelog begins with version 0.1 on January 25, 2006, initially using libpcap and libnet and tested on FreeBSD. By version 0.2, the project removed the libnet dependency and centered on libpcap.

The 2006 public release added man pages for bittwist, bittwistb, and bittwiste. Later releases consolidated the tool around the packet generator and editor, with version 2.0 in 2012 adding a Mac OS X distribution and ending the old web edition and bridge maintenance.

### 采用历史

The input package-manager data lists Homebrew, Debian, Ubuntu, MacPorts, and openSUSE packaging, which matches Bit-Twist's official cross-platform positioning for Windows, Linux, BSD, and macOS.

Version 4.x in 2024 refreshed distribution artifacts across Windows, Linux, BSD, and macOS and added modern network-test features such as jumbo frames and VLAN editing.

### 使用方式

Users typically combine bittwiste and bittwist: create or edit a pcap with bittwiste, then send it on an interface with bittwist. The official examples include throughput testing, firewall testing, SYN flood simulation, ARP-cache-poisoning demonstrations, and jumbo-frame testing in controlled networks.

The tool is aimed at administrators and network testers who need repeatable packet streams for firewalls, IDS/IPS, routers, switches, load balancers, and troubleshooting.

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

Bit-Twist is package-nerd interesting because it is a small C-era Unix networking tool that survived across libpcap, WinPcap/Npcap, BSD, macOS, and Linux packaging rather than becoming a one-platform appliance utility.

Its split between a pcap editor and a sender reflects classic command-line composability: tcpdump captures, bittwiste edits, bittwist replays.

### 时间线

- 2006-01-25: Version 0.1 skeleton program released.
- 2006-04-11: Version 0.7 public release with man pages.
- 2007-10-26: Version 1.0 increased generator throughput option up to 10 Gbps.
- 2012-04-21: Version 2.0 added Mac OS X distribution and revised platform support.
- 2023-05-24: Version 3.0 updated homepage to bittwist.sourceforge.io.
- 2024-11-01: Version 4.7 released with IEEE 802.1ad Q-in-Q VLAN editing support.

### Related projects

- tcpdump is the capture-side tool Bit-Twist explicitly complements.
- libpcap is the packet capture/transmission library Bit-Twist is built around.
- Npcap is listed by the official site as the Windows prerequisite.

### 来源

- <https://bittwist.sourceforge.io/>
- <https://bittwist.sourceforge.io/doc.html>
- <https://bittwist.sourceforge.io/news.html>
- <https://sourceforge.net/projects/bittwist/rss?path=/>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- Debian apt - bittwist - 4.7+ds-2: normalized package name match | Debian stable package indexes: bittwist from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libpcap based Ethernet packet generator | https://bittwist.sourceforge.io
- Ubuntu apt - bittwist - 3.8-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: bittwist from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | libpcap based Ethernet packet generator | https://bittwist.sourceforge.io
- zypper - bittwist - 3.8-2.8: normalized package name match | openSUSE Tumbleweed package metadata: bittwist from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A libpcap-based Ethernet packet generator | https://bittwist.sourceforge.io
- MacPorts - bittwist: normalized package name match | MacPorts ports tree: net/bittwist/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/bittwist.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bittwist.yml)


## 来源

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