TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG-DEVEL:113] Debugging client/server connections
On Wed, Feb 23, 2000 at 05:49:49PM -0600, Bob Tanner wrote:
> I am involved with a client/server project. The client is written in perl and
> the server is written in Java.
>
> We are have a bear of a time debugging the protocol, so I thought we could
> snoop on the socket and see what is going on.
>
> I am using tcpdump, but it seems like major overkill and I'll admit I
> do not know exactly what the output means. So, are there simple IP
> sniffers that would help in this debugging process?
I have a combined port forwarder/traffic dumper that would work
well. Or, at least, I did. I could re-create it pretty quickly I
think. It's based on my StreamModule libraries.
It forwards traffic back and forth and just dumps the
timestamped packets into a file. I had a program that could parse the
file and produce ASCIIish output.
The two 'sides' of the conversation get dumped into different
files.
Have fun (if at all possible),
--
Its name is Public Opinion. It is held in reverence. It settles everything.
Some think it is the voice of God. Loyalty to petrified opinion never yet
broke a chain or freed a human soul. ---Mark Twain
-- Eric Hopper (hopper@omnifarious.mn.org http://omnifarious.mn.org/~hopper) --
PGP signature