blob: 1116b85617c655ee72075eac0f5b6882fb12611f [file] [log] [blame]
xf.li84027492024-04-09 00:17:51 -07001.\" @(#) $Id: pppdump.8,v 1.2 2004/11/13 12:22:49 paulus Exp $
lh9ed821d2023-04-07 01:36:19 -07002.TH PPPDUMP 8 "1 April 1999"
3.SH NAME
4pppdump \- convert PPP record file to readable format
5.SH SYNOPSIS
6.B pppdump
7[
8.B \-h
9|
10.B \-p
11[
12.B \-d
13]] [
14.B \-r
15] [
xf.li84027492024-04-09 00:17:51 -070016.B \-a
17] [
lh9ed821d2023-04-07 01:36:19 -070018.B \-m \fImru
19] [
20.I file \fR...
21]
22.ti 12
23.SH DESCRIPTION
24The
25.B pppdump
26utility converts the files written using the \fIrecord\fR option of
27.B pppd
28into a human-readable format. If one or more filenames are specified,
29.B pppdump
30will read each in turn; otherwise it will read its standard input. In
31each case the result is written to standard output.
32.PP
33The options are as follows:
34.TP
35.B \-h
36Prints the bytes sent and received in hexadecimal. If neither this
37option nor the \fB\-p\fR option is specified, the bytes are printed as
38the characters themselves, with non-printing and non-ASCII characters
39printed as escape sequences.
40.TP
41.B \-p
42Collects the bytes sent and received into PPP packets, interpreting
43the async HDLC framing and escape characters and checking the FCS
44(frame check sequence) of each packet. The packets are printed as hex
45values and as characters (non-printable characters are printed as
46`.').
47.TP
48.B \-d
49With the \fB\-p\fR option, this option causes
50.B pppdump
51to decompress packets which have been compressed with the BSD-Compress
52or Deflate methods.
53.TP
54.B \-r
55Reverses the direction indicators, so that `sent' is printed for
56bytes or packets received, and `rcvd' is printed for bytes or packets
57sent.
58.TP
xf.li84027492024-04-09 00:17:51 -070059.B \-a
60Prints absolute times.
61.TP
lh9ed821d2023-04-07 01:36:19 -070062.B \-m \fImru
63Use \fImru\fR as the MRU (maximum receive unit) for both directions of
64the link when checking for over-length PPP packets (with the \fB\-p\fR
65option).
66.SH SEE ALSO
67pppd(8)