NEW Version! as of November 13, 1997

Received: (from vandry@localhost) by Iodine.Mlink.NET (8.8.5/8.7.3) id NAA29488; Mon, 28 Apr 1997 13:36:25 -0400 (EDT)
Date: Mon, 28 Apr 1997 13:36:25 -0400 (EDT)
From: Phillip Vandry <vandry@Mlink.NET>
Message-Id: <199704281736.NAA29488@Iodine.Mlink.NET>
To: avenger@emails.com
cc: ascend-users@bungi.com
X-Mailer: exmh 2.0gamma
Subject: Re: (ASCEND) Ascend Debug Mode
In-reply-to: Your message of "Sat, 26 Apr 1997 14:13:57 EDT."
<FGfYzU6fzhYM092yn@emails.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

>    I was wondering if there is any tool that can decode  the  Ascend
> debug  mode?   I'm interested in automated decoding of the "pppdump"
> to see what kind of packets are  going on the link without having to
> do it "by hand".
>    Besides that ... is there any kind  of  manual  about  the  debug
> mode?   Ascend  manuals  don't  give a clue and the "help ascend" is
> only a bit helpfull.

I've got a util to do that. It reads output of "wandsess" or "wanopen"
and turns it into PPP packets. It decodes many LCP and NCP packets. For
data packets, it decodes IP headers and much of the ICMP/UDP/TCP
header.

It doesn't currently work very well with modems because it wants the packets
to come in whole - packets from modems often trickle in a few bytes at a
time. But it works great with ISDN.

I usually use it by turning on logging to a file in my terminal
(in xterm: Ctrl-Button1, select Log to File), and watch the decoded file
in another window like this:

tail +1f Xtermlog.whatever.filename | hex2ppp

It's a really simple program, so it should run on just about anything. Go
to http://www.mlink.net/~vandry/hex2ppp.html.

-Phil

Source code here