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