man(1) Manual page archive


     pppdec(1)                                               pppdec(1)

     NAME
          pppdec - decode ppp conversations

     SYNOPSIS
          pppdec [ -a ][ -d ] [ file... ]

     DESCRIPTION
          pppdec decodes the given ppp logfiles (standard input) to a
          textural description.  The -a option causes all packets,
          even those corrupted, to be decoded.  Internal pppdec debug
          may be enabled with -d, multiple instances increase the
          quantity of the chatter.

          The logfiles pppdec expects are simple, consisting of lines
          of hex byte values prefixed by either TX or RX indicating
          the part of the conversation they apply to; Any other text
          is ignored.

     EXAMPLE LOGFILE
               PPP connecting
               RX 7f 34 54 32 e3 2 c3 2 33 2 4f 32
               TX 73 482 2 f f6 e9 32 98 88 f4 27

     BUGS
          pppdec was designed for debugging problems in establishing
          connections and therefore makes little attempt to decode IP
          packets.

          The logfile parser is poor, it should be more tolerant.

     SOURCE
          /sys/src/cmd/pppdec