Ubuntu: sniff tcp communications (binary output)

sudo apt-get install tcpflow sudo tcpflow -p -c -i <netinterface> port <portnum> # Example: tcpflow -p -c -i eth0 port 80
TCPFlow tool help me to sniff tcp communication on any port (source or target). It could be combined with "grep" to filter text while running. <netinterface> is the network interface's name, it could by "any" or name like "eth0", "wlan1" etc. <portnum> is the port number to be tracked (it does not matter if is source or target port).

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.