]> git.ozlabs.org Git - ppp.git/commitdiff
Merge pull request #422 from rfc1036/lcp-rtt
authorPaul Mackerras <paulus@ozlabs.org>
Sat, 30 Sep 2023 12:21:39 +0000 (22:21 +1000)
committerGitHub <noreply@github.com>
Sat, 30 Sep 2023 12:21:39 +0000 (22:21 +1000)
Implement logging the LCP Round Trip Time

1  2 
pppd/pppd.8

diff --combined pppd/pppd.8
index 4bac20aa7ac2aab3df84a8b727d490309dd680cb,6bb28b2962e64af6fd38a3b90ab894ca469db2ea..6c2de4ceb69dd749abd6ca212cf9fd9ab23a5348
@@@ -637,6 -637,10 +637,10 @@@ Set the maximum number of LCP terminate
  Set the LCP restart interval (retransmission timeout) to \fIn\fR
  seconds (default 3).
  .TP
+ .B lcp\-rtt\-file \fIfilename
+ Sets the file where the round-trip time (RTT) of LCP echo-request frames
+ will be logged.
+ .TP
  .B linkname \fIname\fR
  Sets the logical name of the link to \fIname\fR.  Pppd will create a
  file named \fBppp\-\fIname\fB.pid\fR in /var/run (or /etc/ppp on some
@@@ -687,7 -691,7 +691,7 @@@ network control protocol comes up)
  Terminate after \fIn\fR consecutive failed connection attempts.  A
  value of 0 means no limit.  The default value is 10.
  .TP
 -.B max-tls-version \fIstring
 +.B max\-tls-\version \fIstring
  (EAP-TLS, or PEAP) Configures the max allowed TLS version used during
  negotiation with a peer.  The default value for this is \fI1.2\fR.  Values
  allowed for this option is \fI1.0.\fR, \fI1.1\fR, \fI1.2\fR, \fI1.3\fR.
@@@ -760,7 -764,7 +764,7 @@@ name to \fIname\fR.
  Disable Address/Control compression in both directions (send and
  receive).
  .TP
 -.B need-peer-eap
 +.B need\-peer\-eap
  (EAP-TLS) Require the peer to verify our authentication credentials.
  .TP
  .B noauth
@@@ -1136,13 -1140,13 +1140,13 @@@ The device used by pppd with this optio
  Currently supports Microgate SyncLink adapters
  under Linux and FreeBSD 2.2.8 and later.
  .TP
 -.B tls-verify-method \fIstring
 +.B tls\-verify\-method \fIstring
  (EAP-TLS, or PEAP) Match the value specified for \fIremotename\fR to that that
  of the X509 certificates subject name, common name, or suffix of the common
  name.  Respective values allowed for this option is: \fInone\fR, \fIsubject\fR,
  \fIname\fR, or \fIsuffix\fR.  The default value for this option is \fIname\fR.
  .TP
 -.B tls-verify-key-usage
 +.B tls\-verify\-key\-usage
  (EAP-TLS, or PEAP) Enables examination of peer certificate's purpose, and
  extended key usage attributes.
  .TP
@@@ -1233,36 -1237,36 +1237,36 @@@ by specifying ppp'd option \fBnic-eth0\
  option may be avoided if interface name is unambiguous and does not
  look like any other pppd's option.
  .TP
 -.B pppoe-service \fIname
 +.B pppoe\-service \fIname
  Connect to specified PPPoE service name. For backward compatibility also
  \fBrp_pppoe_service\fP option name is supported.
  .TP
 -.B pppoe-ac \fIname
 +.B pppoe\-ac \fIname
  Connect to specified PPPoE access concentrator name. For backward
  compatibility also \fBrp_pppoe_ac\fP option name is supported.
  .TP
 -.B pppoe-sess \fIsessid\fP:\fImacaddr
 +.B pppoe\-sess \fIsessid\fP:\fImacaddr
  Attach to existing PPPoE session. For backward compatibility also
  \fBrp_pppoe_sess\fP option name is supported.
  .TP
 -.B pppoe-verbose \fIn
 +.B pppoe\-verbose \fIn
  Be verbose about discovered access concentrators. When set to 2 or bigger
  value then dump also discovery packets. For backward compatibility also
  \fBrp_pppoe_verbose\fP option name is supported.
  .TP
 -.B pppoe-mac \fImacaddr
 +.B pppoe\-mac \fImacaddr
  Connect to specified MAC address.
  .TP
 -.B pppoe-host-uniq \fIstring
 +.B pppoe\-host\-uniq \fIstring
  Set the PPPoE Host-Uniq tag to the supplied hex string.
  By default PPPoE Host-Uniq tag is set to the pppd's process PID.
  For backward compatibility this option may be specified without
  \fBpppoe-\fP prefix.
  .TP
 -.B pppoe-padi-timeout \fIn
 +.B pppoe\-padi\-timeout \fIn
  Initial timeout for discovery packets in seconds (default 5).
  .TP
 -.B pppoe-padi-attempts \fIn
 +.B pppoe\-padi\-attempts \fIn
  Number of discovery attempts (default 3).
  .SH OPTIONS FILES
  Options can be taken from files as well as the command line.  Pppd
@@@ -1729,7 -1733,7 +1733,7 @@@ We failed to authenticate ourselves to 
  Pppd invokes scripts at various stages in its processing which can be
  used to perform site-specific ancillary processing.  These scripts are
  usually shell scripts, but could be executable code files instead.
 -Pppd does not wait for the scripts to finish (except for the ip-pre-up
 +Pppd does not wait for the scripts to finish (except for the ip\-pre\-up
  script).  The scripts are
  executed as root (with the real and effective user-id set to 0), so
  that they can do things such as update routing tables or run
@@@ -2075,7 -2079,7 +2079,7 @@@ are met
  .br
       (412) 268-4387, fax: (412) 268-7395
  .br
 -     tech-transfer@andrew.cmu.edu
 +     tech\-transfer@andrew.cmu.edu
  .LP
  3b. The name(s) of the authors of this software must not be used to
     endorse or promote products derived from this software without