nProbe Modes

nProbe can be used in three modes, namely:

  • Probe
  • Collector (flow collection only, no Probe)
  • Proxy: Receive flows via NetFlow and emit them (optionally combining with captured traffic) to a remote collector.

Probe mode

nprobe -i eth0 -n collector_ip:2055
nProbe in Probe Mode

nProbe in Probe Mode

Collector mode

nprobe -3 2055
nProbe in Collector Mode

nProbe in Collector Mode

Proxy mode

nprobe -3 2055 -n collector_ip:2055 -V 9
nProbe in Proxy Mode

nProbe in Proxy Mode

In proxy mode you can convert from NetFlow v5 v9/NetFlow Lite/sFlow/IPFIX/jFlow to NetFlow v5, v9 or IPFIX in order to smoothly upgrade to newer netflow protocol versions while capitalizing on previous protocol versions. So you can for instance convert flows coming from your v5 router into IPFIX and vice-versa. Note that with some combinations (e.g. from v9 to v5) you might loose some flow information. In this mode collected flows are converted to an internal flow representation, put in cache, and then exported according to the default or -T, if specified.

Proxy mode with Collector PassThrough

nprobe -3 2055 --collector-passthrough --zmq tcp://192.168.1.200:5678
nProbe in Proxy Mode with Collector PassThrough

nProbe in Proxy Mode with Collector PassThrough

Similar to proxy mode but much faster as flows are not put in cache but converted for export via ZMQ, Syslog, and Kafka (via the export plugin). In this case the flow structure is preserved, -T is ignored, and flow is exported in JSON format as is without any conversion. This mode is recommended when you want to collect flows from NetFlow/IPFIX/sFlow and send them to a JSON-based consumer.