Date: Wed, 28 Feb 1996 17:46:08 -0800 From: Lyndon Nerenberg VE7TCP <lyndon@orthanc.com> To: hackers@freebsd.org Subject: tcpdump changes Message-ID: <199602290146.RAA05053@multivac.orthanc.com>
next in thread | raw e-mail | index | archive | help
I'm thinking of making a change to tcpdump and would like to solicit comments ... The '-x' option prints a hex dump of packet contents (modulo capture length). I would like to modify it to also include an ASCII representation of the same data. (Makes it easier to trace things like SMTP protocol sessions.) The ASCII representation would be printed in a second column to the right of the existing hex dump (with the hex output suitably shifted to the left to make space). For display purposes anything failing isprint() would print as a '.'. (Can anyone think of a rational for supporting locale's in this context?) Is there anything out there (expect scripts or the like) that will break if the output format of -x changes? I would like to avoid adding another option for ASCII output if at all possible. --lyndon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602290146.RAA05053>