CentOS listen to everything on the wire

Posted by Poni on Server Fault See other posts from Server Fault or by Poni
Published on 2011-11-26T23:04:59Z Indexed on 2011/11/27 1:52 UTC
Read the original article Hit count: 448

Filed under:

I know there's a native command on linux that will output (to stdout) every "event" related to a certain network interface (be it eth0 etc').
Like there's tail -f <file> to listen on file changes..
I just can't find it.

I want to see all events, incoming packets, even dropped ones. At lowest level possible. In every protocol (TCP, UDP etc').
I think WireShark is a bit too big for this as I need something very simple just to see the events, it's for testing.

What's the command?

© Server Fault or respective owner

Related posts about networking