awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 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 search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

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.
  • Networking Libraries - Library for packet processing.
6,781 stars·1,154 forks·Go·BSD-3-Clause·30 views

Star history

Star history chart for google/gopacketStar history chart for google/gopacket

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does google/gopacket do?

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.

What are the main features of google/gopacket?

The main features of google/gopacket are: Go Libraries, Live Capture Libraries, Framework-Based Decoders, Network Packet Parsers, Cross-Platform Captures, Unified Capture APIs, Decode-Only Processors, Layered Decoder Stacks.

Which projects share features with google/gopacket?

Projects with overlapping indexed features include: 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 — :package: Send network packets over a TCP or UDP connection. anacrolix/utp — Use anacrolix/go-libutp instead. ccding/go-stun — A go implementation of the STUN client (RFC 3489 and RFC 5389).

Projects sharing features with Gopacket

These projects share indexed features with Gopacket. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • usarmyresearchlab/dshellUSArmyResearchLab avatar

    USArmyResearchLab/Dshell

    5,487View on 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
    View on GitHub↗5,487
  • akrennmair/gopcapakrennmair avatar

    akrennmair/gopcap

    491View on GitHub↗

    A simple wrapper around libpcap for the Go programming language

    Go
    View on GitHub↗491
  • aerogo/packetaerogo avatar

    aerogo/packet

    2View on GitHub↗

    :package: Send network packets over a TCP or UDP connection.

    Go
    View on GitHub↗2
  • anacrolix/utpanacrolix avatar

    anacrolix/utp

    179View on GitHub↗

    Use anacrolix/go-libutp instead

    Go
    View on GitHub↗179
Compare all 30 related projects→