Visor provides a set of utilities for convenient analysis and visualization of network traffic
We support:
Collecting network packets passing through nftables rules marked as 'nftrace set 1'.
Storing collected traces in the Clickhouse database.
Providing access to stored traces and flexible analytics.
Visor includes following utilities:
pkt-tracer - daemon for collecting network packets that pass through nftables rules marked as 'nftrace set 1', and forward them to a server for storage.
trace-hub - server that implements an API for receiving and storing traces in a database and providing access to them via an API.
visor-cli - command-line network traffic analyzer for fetching and analyzing traces by applied filters.
visor-ui - terminal user interface tier of visor-cli.
You can also use environment variables instead of configuration file such as:
TH_LOGGER_LEVEL - log level (DEBUG by default)
TH_SERVER_ENDPOINT - server endpoint address (tcp://127.0.0.1:9000 by default)
TH_STORAGE_CLICKHOUSE_URL - URL for connecting to ClickHouse DB (tcp://localhost:19000/swarm?max_execution_time=60&dial_timeout=10s&client_info_product=trace-hub/0.0.1&compress=lz4&block_buffer_size=10&max_compression_buffer=10240&skip_verify=true by default)
Run pkt-tracer daemon using a configuration file or environment variables