Haven't had a chance to play with them; putting them here so I don't forget:
TCPRePlay : UNIX tools for analyzing and manipulating pcap files
TraceWrangler: A windows program for manipulating pcapng files (such as anonimzing)
An oldy, but goodie. This one I've many times
TCPtrace: a UNIX tool for analyzing and graphing TCP flows.
Showing posts with label tcpdump. Show all posts
Showing posts with label tcpdump. Show all posts
Thursday, August 8, 2013
Monday, November 5, 2012
tcpdump & tee
This is something I always forget how to do: run a tcpdump while both looking at the packets AND writing them to a file at the same time. I always remember it involves 'tee', but never the exact syntax. So, here is the command:
tcpdump -i eth1 -U -w - | tee dump.pcap | tcpdump -n -r -
This will listen:
tcpdump -i eth1 -U -w - | tee dump.pcap | tcpdump -n -r -
This will listen:
- listen on eth1 (-i eth1)
- Don't wait until the output buffer fills before writing packets (-U)
- Write packets to STDOUT (-w -)
- Read from STDIN write to file and write to STDOUT (
tee dump.pcap) - Read packets from STDIN (and don't resolve names) (tcpdump -n -r -)
Subscribe to:
Posts (Atom)