On Thu, 17 Jun 1999, Gilbert Ramirez wrote:
> Does anyone have a trace that actually gets decoded as PPP in ethereal?
> All I get when tracing my PPP link on Linux is raw packet data from the
> packet-raw.c decoder. I'm working on converting packet-ppp.c to my new
> proto_tree method, but I have no way of verifying my work.
>
> Any small PPP trace that you have that actually gets decoded via
> packet-ppp.c would be greatly appreciated.
The pppoe sample trace I posted earlier contains PPP protocol data
encapsulated in PPPoE. The decode process goes through
dissect_payload_ppp() which is just a slightly modified version of the
original dissect_ppp() and from there into the rest of the PPP protocol
decodes like ipcp and lcp. The trace does a pretty good job of exercising
the routines in packet-ppp.c.
I tried decoding a capture taken directly from a serial ppp#
interface a few months before I did any work on packet-ppp.c, and seem to
recall that it didn't work correctly. I'll pull a copy of the current
tree down to my home system later this week and give it a shot with the
modem if nobody beats me to it.
-jsj