macOS
brew install libpcaplocal Homebrew formula metadata
sudo port install libpcapMacPorts ports tree · net/libpcap/Portfile · ソース: api.github.com
brew
libpcap のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install libpcaplocal Homebrew formula metadata
sudo port install libpcapMacPorts ports tree · net/libpcap/Portfile · ソース: api.github.com
sudo apk add libpcapAlpine Linux edge package indexes · libpcap · ソース: dl-cdn.alpinelinux.org
sudo dnf install libpcapFedora Rawhide package metadata · libpcap · ソース: dl.fedoraproject.org
nix profile install nixpkgs#libpcapnixpkgs package indexes · pkgs/by-name/li/libpcap/package.nix · ソース: api.github.com
sudo pacman -S libpcapArch Linux sync databases · libpcap · ソース: geo.mirror.pkgbuild.com
sudo apt install libpcap-devDebian stable package indexes · libpcap-dev · ソース: deb.debian.org
sudo zypper install libpcap-developenSUSE Tumbleweed package metadata · libpcap-devel · ソース: download.opensuse.org
概要
Portable library for network traffic capture
履歴
libpcap is the portable packet-capture library maintained with tcpdump by The Tcpdump Group. It gives programs a common C API for capturing packets and compiling packet filters across Unix-like operating systems whose native capture interfaces differ.
The project grew out of the tcpdump and Berkeley Packet Filter lineage. Steve McCanne's SharkFest 2011 talk traces the packet-capture work back to a 1988 Berkeley/Lawrence Berkeley Laboratory setting, while the 1993 BPF paper documents the kernel/user-level filtering architecture that made efficient capture practical.
The Tcpdump Group later maintained libpcap as a separate library paired with tcpdump. The repository and CHANGES file show long-running attention to operating-system capture backends, filter syntax, savefile reading, remote capture support, and ABI concerns.
libpcap became infrastructure rather than an end-user application: tcpdump, analyzers, monitors, and security tools can link against one API while relying on each operating system's capture mechanism underneath. The upstream README explicitly addresses Linux distributions and BSD systems that ship libpcap and warns packagers not to encode release-specific sonames.
Its adoption is also tied to the pcap file and filter culture around tcpdump: packet captures, reproducible troubleshooting, and command-line network forensics all use libpcap conventions even when users interact through higher-level tools.
Developers use libpcap to enumerate capture devices, open live or saved captures, compile packet filters, and read packet records. Package-manager users usually install it as a dependency of network tools or as development headers for software that needs packet capture.
The small `pcap-config` utility is package-nerd visible because build systems and ports use it to discover compiler and linker flags for libpcap.
libpcap matters because it is a thin but durable portability layer over messy kernel capture APIs. It is the package that turns packet capture from an operating-system-specific problem into a linkable library dependency.
It is also a classic packaging stress test: headers, shared-library ABI, privileged capture behavior, optional capture backends, and security-sensitive parsers all meet in one small C library.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
pcap-config | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:libpcap |
|---|---|
| バージョン | 1.10.6 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/libpcap |
| ホームページ | https://www.tcpdump.org/ |
| リポジトリ | https://github.com/the-tcpdump-group/libpcap |
| 上流ドキュメント | https://www.tcpdump.org/manpages |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://www.tcpdump.org/release/libpcap-1.10.6.tar.gz |
| 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 | libpcap |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libpcap-dev 1.10.5-2
development library for libpcap (transitional package)
sudo apt install libpcap-devlibpcap0.8-dev 1.10.5-2
development library and header files for libpcap0.8t64
sudo apt install libpcap0.8-devlibpcap0.8t64 1.10.5-2
system interface for user-level packet capture
sudo apt install libpcap0.8t64libpcap
nix profile install nixpkgs#libpcaplibpcap-dev 1.10.4-4.1ubuntu3
development library for libpcap (transitional package)
sudo apt install libpcap-devlibpcap0.8-dev 1.10.4-4.1ubuntu3
development library and header files for libpcap0.8t64
sudo apt install libpcap0.8-devlibpcap0.8t64 1.10.4-4.1ubuntu3
system interface for user-level packet capture
sudo apt install libpcap0.8t64libpcap 1.10.6-r1
Portable library for network traffic capture
sudo apk add libpcaplibpcap-dev 1.10.6-r1
Portable library for network traffic capture (development files)
sudo apk add libpcap-devlibpcap-doc 1.10.6-r1
Portable library for network traffic capture (documentation)
sudo apk add libpcap-doclibpcap 1.10.6-2.fc44
A system-independent interface for user-level packet capture
sudo dnf install libpcaplibpcap-devel 1.10.6-2.fc44
Libraries and header files for the libpcap library
sudo dnf install libpcap-devellibpcap 1.10.6-1
A system-independent interface for user-level packet capture
sudo pacman -S libpcaplibpcap-devel 1.10.6-1.4
A Library for Network Sniffers
sudo zypper install libpcap-devellibpcap-devel-32bit 1.10.6-1.4
A Library for Network Sniffers
sudo zypper install libpcap-devel-32bitlibpcap-devel-static 1.10.6-1.4
A Library for Network Sniffers
sudo zypper install libpcap-devel-staticソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.