Categorygithub.com/corny/pcap-classifier
modulepackage
0.0.0-20220326111018-576166b08b6c
Repository: https://github.com/corny/pcap-classifier.git
Documentation: pkg.go.dev

# README

pcap-classifier

Classifies packets and writes packet counter and byte counter to InfluxDB.

Dependencies

apt install libpcap-dev

# Structs

CaptureConfig is the configuration for the pcap capturing.
Config is the top configuration object.
Counter counts bytes and packets per packet type.
InfluxConfig is the configuration for InfluxDB.

# Type aliases

Stats is a map from packet type to counter.