Sebastian Lenzlinger 6316ae378d Add some notes.
2024-05-02 04:06:46 +02:00

1.3 KiB

docs

Options

tcpdump

Option Description
-c count
--count
to specify number of packets to capture
-i interface
--interface=
specify the interface e.g. 'eth0' or 'wlan0' etc.
-F file Get filter expression from file
-I
--monitor-mode
Put interface into monitor mode
-n No name resolution for addresses (host, port no. etc)
-#
--number
Print a packet number at beginning of line
-t Don't print a timestamp on each dump line.
-tt Print the timestamp, as seconds since January 1, 1970, 00:00:00, UTC, and fractions of a second since that time, on each dump line.
-ttt Print a delta (res dep on --time-stamp-precision option) between current and previous line on each dump line. default is microsecond resolution.
-tttt Print a timestamp, as hours, minutes, seconds, and fractions of a second since midnight, preceded by the date, on each dump line.
-ttttt Print a delta (res dep on --time-stamp-precision) between current and first line on each dump line. default is microsecond resolution.
-w file Write raw packets to file
-e print link level header. See manpage for more details