TCP Dump Linux

All

Intro

Understanding bugs on Java/Python is quite interesting, but sometimes we have issues with the network. On those cases, we have the tcpdumps to help:

TCP Dump

tcpdump basically is a common packet analyzer that runs under the command line, as in:

Command

        #sudo tcpdump -D

Btw, reading is much more difficult than actually capturing the data.

For only IPV6 traffic you can use:

#tcpdump ip6

For HTTPS get/post dump, the command is here:

 sudo tcpdump -s 0 -v -n -l | egrep -i "POST /|GET /|Host:"

Some examples can be found here

REFs

inline

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