tcpdump is a powerful command-line packet analyzer and traffic capture utility. It is useful to troubleshoot network problems.

Installation

Either install using the pakfire WUI or in a shell as root using:
pakfire install -y tcpdump

Usage

There is no web interface for this Addon. To run the Addon open the client console or terminal and access the IPFire box via SSH.

To obtain a list of possible commands:
tcpdump -h

The output is similar to this:

[root@ipfire ~]# tcpdump -h
tcpdump version 4.9.2
libpcap version 1.8.1
OpenSSL 1.1.0j  20 Nov 2018
Usage: tcpdump [-aAbdDefhHIJKlLnNOpqStuUvxX#] [ -B size ] [ -c count ]
        [ -C file_size ] [ -E algo:secret ] [ -F file ] [ -G seconds ]
        [ -i interface ] [ -j tstamptype ] [ -M secret ] [ --number ]
        [ -Q in|out|inout ]
        [ -r file ] [ -s snaplen ] [ --time-stamp-precision precision ]
        [ --immediate-mode ] [ -T type ] [ --version ] [ -V file ]
        [ -w file ] [ -W filecount ] [ -y datalinktype ] [ -z postrotate-command ]
        [ -Z user ] [ expression ]