TCPDUMP . PRINT LESS PROTOCOL INFORMATION . OUTPUT LINES SHORTER

$sudo /usr/sbin/tcpdump -q
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 100535 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
$sudo /usr/sbin/tcpdump -q -i wlan0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlan0, link-type EN10MB (Ethernet), capture size 100535 bytes
22:53:57.772687 IP ubuntu.ftp.heanet.ie.http > debian.local.33649: tcp 1430
22:53:57.772898 IP debian.local.33649 > ubuntu.ftp.heanet.ie.http: tcp 0
^C22:53:57.777681 IP debian.local.51260 > 192.168.0.1.domain: UDP, length 44

3 packets captured
458 packets received by filter
422 packets dropped by kernel
$

Leave a comment

Your email address will not be published. Required fields are marked *