Ethereal-users: [Ethereal-users] Export "Contents of TCP Stream"

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Fabien Salvi <fabien@xxxxxxxxx>
Date: Fri, 19 Jul 2002 17:39:11 +0200
Hello,

Follow TCP Stream is really a "lovely" feature of Ethereal.
I use it very often, especially for reverse engineering proprietary TCP
based protocol.

But, I would like to export the contents to a file which support colors,
html seems to be the best choice.

I have a look at source code and I've seen that when you "follow tcp
stream", a temporary file is created (/tmp/followXXXX...).

This file contains ascii data (if the stream is readable) plus binary
data.

I wonder if there is a way to transform it or reuse it to transform the
contents in html or something like that.

After searching the mailing-list archives, I have seen answers about
tcpflow.
This is a good tool that can nearly do such of things, but it needs some
modifications for that...

Maybe the best choice is to write a little perl script for transform the
contents of packets in html format with color.

Any idea ?

Thanks in advance for your help...

-------------
Fabien SALVI      Centre de Ressources Informatiques
                  Archamps, France -- http://www.cri74.org
                  PingOO GNU/linux distribution : http://www.pingoo.org