Affected by GO-2026-6121
and 1 other vulnerabilities
GO-2026-6121 : GoPacket's Diameter AVP decoder: uint32 underflow on vendor header size leads to unbounded ~4 GiB allocation (unauthenticated remote DoS) in github.com/gopacket/gopacket
GO-2026-6122 : GoPacket's sFlow ExtendedGatewayFlow decoder: unbounded attacker-controlled allocation (104-byte UDP datagram -> up to 16 GiB make) -> unauthenticated remote DoS in github.com/gopacket/gopacket
Discover Packages
github.com/gopacket/gopacket
examples
util
package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Aug 1, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package util provides shared utilities for all gopacket examples.
Run starts up stuff at the beginning of a main function, and returns a
function to defer until the function completes. It should be used like this:
func main() {
defer util.Run()()
... stuff ...
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.