logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ndpiReader - example tool for libndpi

Description

       The ndpiReader command is an example tool that uses libndpi.  ndpiReader is able to read from a pcap file
       or  catpure  traffic from a network interface and process it with libndpi.  It implements only some basic
       features just to show what can be done with libndpi.

Name

       ndpiReader - example tool for libndpi

Options

-ifile.pcap|device
              Specify a pcap file/playlist to read packets from or a device for  live  capture  (comma-separated
              list).

       -fbpf_filter
              Specify a BPF filter for filtering selected traffic.

       -sduration
              Maximum capture duration in seconds (live traffic capture only).

       -pfile.protos
              Specify a protocol file (eg. protos.txt).

       -lnum_loops
              Number of detection loops (test only).

       -nnum_threads
              Number of threads. Default: number of interfaces in -i. Ignored with pcap files.

       -jfile.json
              Specify a file to write the content of packets in .json format.

       -gid:id...
              Thread affinity mask (one core id per thread).

       -d     Disable protocol guess and use only DPI.

       -t     Dissect GTP tunnels.

       -h     Display a usage message.

       -v1|2 Verbose 'unknown protocol' packet print. 1=verbose, 2=very verbose.

       -V1|2 Verbose libndpi trace log print. 1=trace, 2=debug.

                                                   2014-08-15                                      NDPIREADER(1)

Synopsis

ndpiReader -i file.pcap|device [options]

See Also