tcpdump

All posts tagged tcpdump

If you created a rather large tcpdump and are having issues with Wireshark taking forever.. then split your tcpdump into smaller files.

Remote Capture

In bash, remote capture is possible with the following command:

 

The main problem is that you have to exclude the traffic generated by the ssh session from capturing. Several patches are available to do this, but excluding port 22 is probably the easiest solution for now.

The second problem is that ssh cannot ask for a password on stdin. You should either set up ssh-agent, or setup passwordless ssh keys , so that you don’t need a password.

This can be worked around by combining SSH with a FIFO, this is typically how I setup my sessions.