3 ppp, pppoe, pptp, pptpd \- point-to-point protocol
96 The Point-to-Point Protocol is used to encapsulate Internet Protocol packets
98 for transfer over serial lines or other protocol connections.
100 can run either as a client or, with the
102 option, as a server. The only differences between a client and a server is
103 that the server will not believe any local address the client tries to
104 supply it and that the server always initiates the authentication of the
109 communicates with the remote system via standard input and output.
110 This is useful if a program wants to use
112 in a communications stream. However, the normal mode is to
113 specify a communications device, usually a serial line with a modem.
115 PPP supports the following options:
118 set the baud rate on the communications device
121 make PPP add HDLC framing. This is necessary when using
122 PPP over a serial line or a TCP connection
129 key pattern when looking for a user name and password
130 for authentication; the default key pattern is
131 .B "proto=pass" "service=ppp"
134 set the maximum transfer unit (default 1450)
137 use this as the primary IP interface; set the default
138 route through this interface and write its configuration
145 instead of standard I/O
148 before starting the PPP protocol with the remote end, shuttle
149 bytes between the device and standard I/O until an EOF on standard
150 input. This allows a user to start
152 and then type commands at a modem before
160 before starting the PPP protocol, write
165 use the IP stack mounted at
169 chat with the modem as specified in the chat file. Each line in
170 the chat file contains a string that is transmitted to the modem
171 and the response expected (e.g. 'AT' 'OK')
174 disallow packet compression
177 disallow ip header compression
184 addresses are specified, don't ask the other end for either
185 or believe it if it supplies one. If either is missing, get
186 it from the remote end.
189 is a PPP over ethernet (PPPoE) client.
192 to start a PPP conversation which is
193 tunneled in PPPoE packets on
194 the ethernet device mounted at
203 insist on an access concentrator named
205 during PPPoE discovery
208 insist on a service named
210 during PPPoE discovery
213 write debugging output to standard error,
220 The other options are relayed to
224 is a client for a PPTP encrypted tunnel.
226 is the name of the server to dial.
228 takes the same options as
230 except for the lack of a
232 option and the addition of a
237 option specifies the local send window size
238 (default 16) in packets.
241 is the server side of a PPTP encrypted tunnel.
243 is the directory of a TCP connection to the client.
244 The TCP connection is used to control the tunnel while
245 packets are sent back and forth using PPP inside of
250 write debugging output to standard error.
253 use the IP stack mounted at
255 to terminate the PPP connection.
258 set the receive window to
264 of the received packets. This is used for testing.
267 .B /sys/src/cmd/ip/ppp
269 .B /sys/src/cmd/ip/pptpd.c
271 .B /sys/src/cmd/ip/pppoe.c
278 should use factotum to execute
279 the client side of the challenge-reponse
280 protocol, but instead it reads a password
281 from factotum and runs the protocol itself.