[CentOS] tcpdump; how to dump all

Fri Jan 14 13:21:23 UTC 2011
Kwan Lowe <kwan.lowe at gmail.com>

On Fri, Jan 14, 2011 at 5:28 AM, Giles Coochey <giles at coochey.net> wrote:
>>How can I dump every packets received by filter ?
>
> I use the following command to make packet captures:
>
> tcpdump -i eth0 -s 0 -w capture.cap
>
> It creates a file capture.cap that can be read by a packet analyzer - e.g.
> wireshark.

I often run a variation of the above in a screen session then
disconnect.. There's probably an easier way, but I do so I don't  see
my own traffic.