awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google avatar

google/gopacket

0
View on GitHub↗

Gopacket

gopacket is a Go library for live packet capture and multi-layer protocol decoding. It provides a framework for parsing raw network bytes into structured protocol layers, enabling inspection and analysis of network traffic directly from interfaces or packet capture files.

The library distinguishes itself through a layered protocol stack that organizes decoders as independent, composable layers, and an interface-based decoder registry that supports extensible custom protocol development. It offers zero-copy packet decoding for high-throughput parsing, stream-based TCP reassembly to reconstruct ordered application data from out-of-order segments, and buffer-pooled memory management to reduce garbage collection pressure during capture. Packet processing is decode-only, preserving original raw bytes for forensic workflows.

gopacket supports live traffic capture via platform-specific backends like AF_PACKET on Linux and pcap on BSD/macOS, and enables network forensics investigation, packet analysis automation, and structured inspection of network traffic.

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Features

  • Go Libraries - Provides a Go library for decoding and manipulating network packets at multiple protocol layers.
  • Live Capture Libraries - Sniffs packets directly from network interfaces using platform-specific capture libraries for real-time monitoring.
  • Framework-Based Decoders - Provides a framework for parsing raw bytes into structured protocol layers and custom protocol development.
  • Network Packet Parsers - Parses raw network bytes into structured protocol layers for inspection and analysis in Go applications.
  • Cross-Platform Captures - Sniffs network packets directly from interfaces using platform-specific capture libraries like libpcap.
  • Unified Capture APIs - Provides a unified Go API for live packet capture across Linux AF_PACKET and BSD/macOS pcap.
  • Decode-Only Processors - Provides decode-only packet processing that preserves raw bytes for forensic analysis.
  • Layered Decoder Stacks - Organises protocol decoders as a stack of independent layers for flexible packet header traversal.
  • TCP Stream Reassembly - Reconstructs ordered application data from out-of-order TCP segments using sequence number tracking.
  • Network Forensics - Analyzes captured packet data from files or live interfaces to investigate network events and security incidents.
  • Zero-Copy Parsing - Decodes network packets directly from raw byte buffers without intermediate copying for high throughput.
  • Interface-Based Registries - Ships an interface-based decoder registry for extensible custom protocol development.
  • Packet Analysis Tools - Enables building automated tools that process, filter, and inspect network packets programmatically in Go.
  • Networking Libraries - Library for packet processing.
  • Networking - Packet processing library with libpcap bindings.
  • 网络库 - Library for packet processing.
6,781 星标·1,154 分支·Go·BSD-3-Clause·10 次浏览

Star 历史

google/gopacket 的 Star 历史图表google/gopacket 的 Star 历史图表

常见问题解答

google/gopacket 是做什么的?

gopacket is a Go library for live packet capture and multi-layer protocol decoding. It provides a framework for parsing raw network bytes into structured protocol layers, enabling inspection and analysis of network traffic directly from interfaces or packet capture files.

google/gopacket 的主要功能有哪些?

google/gopacket 的主要功能包括:Go Libraries, Live Capture Libraries, Framework-Based Decoders, Network Packet Parsers, Cross-Platform Captures, Unified Capture APIs, Decode-Only Processors, Layered Decoder Stacks。

google/gopacket 有哪些开源替代品?

google/gopacket 的开源替代品包括: usarmyresearchlab/dshell — Dshell is a network forensic analysis framework and traffic processor designed for the deep packet inspection of IPv4… c-robinson/iplib — A library for working with IP addresses and networks in Go. akrennmair/gopcap — A simple wrapper around libpcap for the Go programming language. aerogo/packet. anacrolix/utp. ccding/go-stun.

Gopacket 的开源替代方案

相似的开源项目,按与 Gopacket 的功能重合度排序。
  • usarmyresearchlab/dshellUSArmyResearchLab 的头像

    USArmyResearchLab/Dshell

    5,487在 GitHub 上查看↗

    Dshell is a network forensic analysis framework and traffic processor designed for the deep packet inspection of IPv4 and IPv6 traffic. It functions as an extensible forensic plugin system that captures, inspects, and analyzes network data to identify security anomalies and reconstruct communication streams. The system utilizes a plugin-based processing engine that allows for custom plugin development and plugin chaining. This modular architecture enables the creation of specialized analysis pipelines where network data is passed through a sequence of processing units for multi-step analysis.

    Python
    在 GitHub 上查看↗5,487
  • akrennmair/gopcapakrennmair 的头像

    akrennmair/gopcap

    491在 GitHub 上查看↗

    A simple wrapper around libpcap for the Go programming language

    Go
    在 GitHub 上查看↗491
  • aerogo/packetA

    aerogo/packet

    0在 GitHub 上查看↗
    在 GitHub 上查看↗0
  • anacrolix/utpA

    anacrolix/utp

    0在 GitHub 上查看↗
    在 GitHub 上查看↗0
查看 Gopacket 的所有 30 个替代方案
→