From owner-freebsd-questions Mon Jan 3 12:20:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pebkac.owp.csus.edu (pebkac.owp.csus.edu [130.86.232.245]) by hub.freebsd.org (Postfix) with ESMTP id 5B56B152B2 for ; Mon, 3 Jan 2000 12:20:42 -0800 (PST) (envelope-from joseph.scott@owp.csus.edu) Received: from owp.csus.edu (mail.owp.csus.edu [130.86.232.247]) by pebkac.owp.csus.edu (8.9.3/8.9.3) with ESMTP id MAA04334; Mon, 3 Jan 2000 12:20:41 -0800 (PST) (envelope-from joseph.scott@owp.csus.edu) Message-ID: <387104B9.8A32C05C@owp.csus.edu> Date: Mon, 03 Jan 2000 20:21:14 +0000 From: Joseph Scott X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: Jon Rust Cc: freebsd-questions@FreeBSD.ORG Subject: Re: tcpdump => ascii References: <38710103.AA8454FC@owp.csus.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jon Rust wrote: > > At 8:05 PM +0000 1/3/00, Joseph Scott wrote: > >Jon Rust wrote: > >> > >> I used to run all BSD/OS machines. The version of tcpdump included > >> with BSD/OS used a flag, -X, to display the output (specifically, the > >> payload) in human readable format. Very useful. FreeBSD's tcpdump > >> doesn't seem to have such a flag. I'm attempting to watch an SMTP > >> session to what's going wrong with a user's attempt to send mail. How > >> can I decode the output? > > > > Personally I've always used tcpshow to do this ( in the ports > >collection ). However after looking that man page for tcpdump I > >believe the -d option will do the same thing that you saw with -X > > No, -d is for something totally different AFAICT. I'll check out tcpshow. Opps. You're right, my bad. -d displays the packet matching code in readable format, not the contents of the packets. Yeah, tcpshow then will do the trick. /usr/ports/net/tcpshow Sorry about that. -- Joseph Scott joseph.scott@owp.csus.edu Office Of Water Programs - CSU Sacramento To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message