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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s