macOS
brew install tcpdumplocal Homebrew formula metadata
sudo port install tcpdumpMacPorts ports tree · net/tcpdump/Portfile · 来源: api.github.com
安装
brew install tcpdumplocal Homebrew formula metadata
sudo port install tcpdumpMacPorts ports tree · net/tcpdump/Portfile · 来源: api.github.com
sudo apk add tcpdumpAlpine Linux edge package indexes · tcpdump · 来源: dl-cdn.alpinelinux.org
sudo apt install tcpdumpDebian stable package indexes · tcpdump · 来源: deb.debian.org
sudo dnf install tcpdumpFedora Rawhide package metadata · tcpdump · 来源: dl.fedoraproject.org
nix profile install nixpkgs#tcpdumpnixpkgs package indexes · pkgs/by-name/tc/tcpdump/package.nix · 来源: api.github.com
sudo pacman -S tcpdumpArch Linux sync databases · tcpdump · 来源: geo.mirror.pkgbuild.com
sudo zypper install tcpdumpopenSUSE Tumbleweed package metadata · tcpdump · 来源: download.opensuse.org
概览
Command-line packet analyzer
历史
tcpdump is the classic command-line packet analyzer for capturing, filtering, and decoding network traffic, closely tied to libpcap and Unix network troubleshooting culture.
The tcpdump source says the program was first written in 1987 by Van Jacobson at Lawrence Berkeley Laboratory. The official README says it was part of research into TCP and Internet gateway performance and was loosely based on Sun's etherfind, with proprietary remnants later rewritten by Steven McCanne.
The current project is maintained by The Tcpdump Group. Its GitHub README describes tcpdump as source code for network monitoring and data acquisition and credits continuing improvements to Internet community contributions.
tcpdump became a standard Unix and Unix-like diagnostic tool because it combined packet capture, protocol decoding, and Berkeley Packet Filter expressions in a command-line workflow.
The upstream README notes that many operating systems ship tcpdump as a native package or port, which matches its presence across package managers and base-system environments.
Typical use is interactive or scripted packet capture: selecting an interface, applying a capture filter, printing decoded packets, or writing pcap files for later inspection.
The README points to tcpslice for processing tcpdump capture files and to libpcap as the capture interface dependency, which explains why tcpdump is often packaged alongside libpcap.
tcpdump is one of the canonical networking CLIs that package maintainers expect to exist everywhere. Its packaging touches privilege handling, capture library compatibility, platform packet APIs, and manpage fidelity.
For package nerds, it is also part of a toolkit lineage: libpcap provides the capture layer, tcpdump provides the terminal interface, and Wireshark and many other tools consume the same pcap ecosystem.
安全态势
doc example: packet capture tool.
red 风险 · 高 置信度 · escape-surveillance-offensive
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tcpdump | cli | 全局可执行文件 | |
tcpdump.4.99.6 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:tcpdump |
|---|---|
| 版本 | 4.99.6 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/tcpdump |
| 主页 | https://www.tcpdump.org/ |
| 仓库 | https://github.com/the-tcpdump-group/tcpdump |
| 上游文档 | https://github.com/the-tcpdump-group/tcpdump#readme |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://www.tcpdump.org/release/tcpdump-4.99.6.tar.gz |
| 最后更新 | 2026-06-22T14:06:26-07:00 |
| Pulse | updated |
| 依赖 | libpcap, openssl@4 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tcpdump |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
tcpdump 4.99.5-2
command-line network traffic analyzer
sudo apt install tcpdumptcpdump
nix profile install nixpkgs#tcpdumptcpdump 4.99.4-3ubuntu4
command-line network traffic analyzer
sudo apt install tcpdumptcpdump 4.99.6-r1
Command-line packet analyzer
sudo apk add tcpdumptcpdump-doc 4.99.6-r1
Command-line packet analyzer (documentation)
sudo apk add tcpdump-doctcpdump 4.99.6-3.fc45
A network traffic monitoring tool
sudo dnf install tcpdumptcpdump 4.99.6-1
Powerful command-line packet analyzer
sudo pacman -S tcpdumptcpdump 4.99.6-1.3
A Packet Sniffer
sudo zypper install tcpdumptcpdump
sudo port install tcpdump来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.