Skip to content

Command Reference

These are the core CLI commands for offline-only use.

Display Help

./build/pqc-sniffer --help

Display Version

./build/pqc-sniffer --version

Generate a Config Interactively

./build/pqc-sniffer --setup --config /etc/pqc-sniffer/offline.yaml

Validate a Config File

./build/pqc-sniffer --config ./offline.yaml --validate-config

Run in Foreground

sudo ./build/pqc-sniffer --config ./offline.yaml --foreground

Override the Capture Interface

sudo ./build/pqc-sniffer --config ./offline.yaml --foreground --interface eth1

Override Deployment Metadata

sudo ./build/pqc-sniffer \
  --config ./offline.yaml \
  --foreground \
  --customer-id customer-12345 \
  --sniffer-id lab-offline-01

Notes

  • --config is required unless you are running --setup
  • --foreground is recommended during setup and troubleshooting
  • --dry-run skips writes and is not the normal offline NDJSON workflow

Common Operator Pattern

./build/pqc-sniffer --config ./offline.yaml --validate-config
sudo ./build/pqc-sniffer --config ./offline.yaml --foreground
tail -5 /var/log/pqc-sniffer/connections.ndjson