repositorypackage
0.0.0-20210424215528-a80e3a73df5a
Repository: https://github.com/hugojf/dumpcap.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
dumpcap
Provides an interface to Wireshark's dumpcap
tool for the go programming language (golang).
You can use dumpcap
to
- find out about available network interfaces and their supported capabilities. See here for an example.
- Receive live statistics about traffic seen on each interface. See here for example.
- Capture traffic and save it to disk for further processing. See here for an example.
On most BSD/Linux distributions dumpcap
comes suid'd so one can capture traffic using this isolated single-purpose process and does not need root credibilities to dissect captured traffic.
You may be interested in gopacket to dissect network data from within go.