Re: getting packet sizes from tcpdump

Glynn Clements (glynn@sensei.co.uk)
Sun, 12 Dec 1999 17:41:03 +0100 (GMT--1:00)


Amin Omidzadeh Khosrowshahi wrote:

> tcpdump dumps the traffic on a specified device but doesn't give me the size of
> packets.. how can I get the size of each packet and totaly all packets?

You can use the -e switch to print the link-level header. For an
ethernet device, this will include the packet length.

-- 
Glynn Clements <glynn@sensei.co.uk>

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu