3 ppp, pppoe, pptp, pptpd \- point-to-point protocol
100 The Point-to-Point Protocol is used to encapsulate Internet Protocol packets
102 for transfer over serial lines or other protocol connections.
104 can run either as a client or, with the
106 option, as a server. The only differences between a client and a server is
107 that the server will not believe any local address the client tries to
108 supply it and that the server always initiates the authentication of the
113 communicates with the remote system via standard input and output.
114 This is useful if a program wants to use
116 in a communications stream. However, the normal mode is to
117 specify a communications device, usually a serial line with a modem.
120 supports the following options:
123 as server, don't request authentication from the client
126 set the baud rate on the communications device
129 disallow packet compression
132 disallow IP header compression
135 make PPP add HDLC framing. This is necessary when using
136 PPP over a serial line or a TCP connection
143 key pattern when looking for a user name and password
147 set the maximum transfer unit (default 1450)
150 chat with the modem as specified in the chat file. Each line in
151 the chat file contains a string that is transmitted to the modem
152 and the response expected (e.g. 'AT' 'OK')
155 use this as the primary IP interface; set the default
156 route through this interface and write its configuration
163 instead of standard I/O
169 before starting the PPP protocol, write
174 before starting the PPP protocol with the remote end, shuttle
175 bytes between the device and standard I/O until an EOF on standard
176 input. This allows a user to start
178 and then type commands at a modem before
183 use the IP stack mounted at
191 addresses are specified, don't ask the other end for either
192 or believe it if it supplies one. If either is missing, get
193 it from the remote end.
196 is a PPP over ethernet (PPPoE) client.
199 to start a PPP conversation which is
200 tunneled in PPPoE packets on
201 the ethernet device mounted at
210 insist on an access concentrator named
212 during PPPoE discovery
215 write debugging output to standard error,
222 insist on a service named
224 during PPPoE discovery
227 The other options are relayed to
231 is a client for a PPTP encrypted tunnel.
233 is the name of the server to dial.
235 takes the same options as
237 except for the lack of a
239 option and the addition of a
244 option specifies the local send window size
245 (default 16) in packets.
248 is the server side of a PPTP encrypted tunnel.
250 is the directory of a TCP connection to the client.
251 The TCP connection is used to control the tunnel while
252 packets are sent back and forth using PPP inside of
257 write debugging output to standard error.
262 of the received packets. This is used for testing.
265 use the IP stack mounted at
267 to terminate the PPP connection.
270 set the receive window to
274 .B /sys/src/cmd/ip/ppp
276 .B /sys/src/cmd/ip/pptpd.c
278 .B /sys/src/cmd/ip/pppoe.c