Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 1997 15:34:22 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        bmah@CA.Sandia.GOV
Cc:        Nate Williams <nate@mt.sri.com>, hackers@freebsd.org
Subject:   Re: Getting ethernet packets content under FreeBSD? 
Message-ID:  <199711212234.PAA15870@mt.sri.com>
In-Reply-To: <199711212231.OAA18274@stennis.ca.sandia.gov>
References:  <199711212146.OAA15613@mt.sri.com> <199711212231.OAA18274@stennis.ca.sandia.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Is it possible to easily?  I'm trying to debug a protocol, and w/out the
> > contents of the data being sent in the packets it's awful hard to do.
> > Is there anyway of dumping out the actual packet contents somewhere
> > instead of dumping out the packet headers, which are less than useful
> > for upper-layer TCP/IP protocol debugging.
> 
> Does "tcpdump -x -e -s 1500" not do what you want?

Probably, I just couldn't figure out how do to it. :)

> The tcpdump maintainers deliberately left out an ASCII packet-printer, but 
> coding one up is pretty easy if that's what you need.

I can always run it through hexdump. :)


Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711212234.PAA15870>