package
0.0.0-20210316091426-5126b6f88831
Repository: https://github.com/bwnetflow/processor_enricher.git
Documentation: pkg.go.dev

# Functions

This function matches the address in the correct Trie and annotates the flow message with the result.
Adds Geoloc of the provided (remote) address to the flow message.
Normalize Bytes, Packets and set the Normalized field.
Annotate a ProtoName field to the flow message.
Annotate a flow with data from SNMP.
Close geolocation database.
This will read the prefix list CSV and populate both Tries (v4 and v6).
Open geolocation database.
Init Caching, compile the Regex and set the SNMP Community global.

# Variables

TODO: make configurable.
We have to use separate tries for IPv4 and IPv6 TODO: maybe replace this with the newer, not homemade kentik/patricia.
We have to use separate tries for IPv4 and IPv6 TODO: maybe replace this with the newer, not homemade kentik/patricia.

# Structs

CombinedEnricher combines the different enrichers into one.