pppd.8 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973
  1. .\" manual page [] for pppd 2.4
  2. .\" $Id: pppd.8,v 1.90 2008/03/26 12:09:40 paulus Exp $
  3. .\" SH section heading
  4. .\" SS subsection heading
  5. .\" LP paragraph
  6. .\" IP indented paragraph
  7. .\" TP hanging label
  8. .\"
  9. .\" Copyright (c) 1993-2003 Paul Mackerras <paulus@samba.org>
  10. .\"
  11. .\" Permission to use, copy, modify, and distribute this software for any
  12. .\" purpose with or without fee is hereby granted, provided that the above
  13. .\" copyright notice and this permission notice appear in all copies.
  14. .\"
  15. .\" THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
  16. .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  17. .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  18. .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  19. .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  20. .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  21. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  22. .\"
  23. .TH PPPD 8
  24. .SH NAME
  25. pppd \- Point-to-Point Protocol Daemon
  26. .SH SYNOPSIS
  27. .B pppd
  28. [
  29. .I options
  30. ]
  31. .SH DESCRIPTION
  32. .LP
  33. PPP is the protocol used for establishing internet links over dial-up
  34. modems, DSL connections, and many other types of point-to-point
  35. links. The \fIpppd\fR daemon works together with the kernel PPP
  36. driver to establish and maintain a PPP link with another system
  37. (called the \fIpeer\fR) and to negotiate Internet Protocol (IP)
  38. addresses for each end of the link. Pppd can also authenticate the
  39. peer and/or supply authentication information to the peer. PPP can be
  40. used with other network protocols besides IP, but such use is becoming
  41. increasingly rare.
  42. .SH FREQUENTLY USED OPTIONS
  43. .TP
  44. .I ttyname
  45. Use the serial port called \fIttyname\fR to communicate with the
  46. peer. If \fIttyname\fR does not begin with a slash (/),
  47. the string "/dev/" is prepended to \fIttyname\fR to form the
  48. name of the device to open. If no device name is given, or if the
  49. name of the terminal
  50. connected to the standard input is given, pppd will use that terminal,
  51. and will not fork to put itself in the background. A value for this
  52. option from a privileged source cannot be overridden by a
  53. non-privileged user.
  54. .TP
  55. .I speed
  56. An option that is a decimal number is taken as the desired baud rate
  57. for the serial device. On systems such as
  58. 4.4BSD and NetBSD, any speed can be specified. Other systems
  59. (e.g. Linux, SunOS) only support the commonly-used baud rates.
  60. .TP
  61. .B asyncmap \fImap
  62. This option sets the Async-Control-Character-Map (ACCM) for this end
  63. of the link. The ACCM is a set of 32 bits, one for each of the
  64. ASCII control characters with values from 0 to 31, where a 1 bit
  65. indicates that the corresponding control character should not be used
  66. in PPP packets sent to this system. The map is encoded as a
  67. hexadecimal number (without a leading 0x) where the least significant
  68. bit (00000001) represents character 0 and the most significant bit
  69. (80000000) represents character 31.
  70. Pppd will ask the peer to send these characters as a 2-byte
  71. escape sequence.
  72. If multiple \fIasyncmap\fR options are given, the values are ORed
  73. together. If no \fIasyncmap\fR option is given, the default is zero,
  74. so pppd will ask the peer not to escape any control characters.
  75. To escape transmitted characters, use the \fIescape\fR option.
  76. .TP
  77. .B auth
  78. Require the peer to authenticate itself before allowing network
  79. packets to be sent or received. This option is the default if the
  80. system has a default route. If neither this option nor the
  81. \fInoauth\fR option is specified, pppd will only allow the peer to use
  82. IP addresses to which the system does not already have a route.
  83. .TP
  84. .B call \fIname
  85. Read additional options from the file /etc/ppp/peers/\fIname\fR. This
  86. file may contain privileged options, such as \fInoauth\fR, even if pppd
  87. is not being run by root. The \fIname\fR string may not begin with /
  88. or include .. as a pathname component. The format of the options file
  89. is described below.
  90. .TP
  91. .B connect \fIscript
  92. Usually there is something which needs to be done to prepare the link
  93. before the PPP protocol can be started; for instance, with a dial-up
  94. modem, commands need to be sent to the modem to dial the appropriate
  95. phone number. This option specifies an command for pppd to execute
  96. (by passing it to a shell) before attempting to start PPP negotiation.
  97. The chat (8) program is often useful here, as it provides a way to
  98. send arbitrary strings to a modem and respond to received characters.
  99. A value
  100. for this option from a privileged source cannot be overridden by a
  101. non-privileged user.
  102. .TP
  103. .B crtscts
  104. Specifies that pppd should set the serial port to use hardware flow
  105. control using the RTS and CTS signals in the RS-232 interface.
  106. If neither the \fIcrtscts\fR, the
  107. \fInocrtscts\fR, the \fIcdtrcts\fR nor the \fInocdtrcts\fR option
  108. is given, the hardware flow control setting for the serial port is
  109. left unchanged.
  110. Some serial ports (such as Macintosh serial ports) lack a true
  111. RTS output. Such serial ports use this mode to implement
  112. unidirectional flow control. The serial port will
  113. suspend transmission when requested by the modem (via CTS)
  114. but will be unable to request the modem to stop sending to the
  115. computer. This mode retains the ability to use DTR as
  116. a modem control line.
  117. .TP
  118. .B defaultroute
  119. Add a default route to the system routing tables, using the peer as
  120. the gateway, when IPCP negotiation is successfully completed.
  121. This entry is removed when the PPP connection is broken. This option
  122. is privileged if the \fInodefaultroute\fR option has been specified.
  123. .TP
  124. .B disconnect \fIscript
  125. Execute the command specified by \fIscript\fR, by passing it to a
  126. shell, after
  127. pppd has terminated the link. This command could, for example, issue
  128. commands to the modem to cause it to hang up if hardware modem control
  129. signals were not available. The disconnect script is not run if the
  130. modem has already hung up. A value for this option from a privileged
  131. source cannot be overridden by a non-privileged user.
  132. .TP
  133. .B escape \fIxx,yy,...
  134. Specifies that certain characters should be escaped on transmission
  135. (regardless of whether the peer requests them to be escaped with its
  136. async control character map). The characters to be escaped are
  137. specified as a list of hex numbers separated by commas. Note that
  138. almost any character can be specified for the \fIescape\fR option,
  139. unlike the \fIasyncmap\fR option which only allows control characters
  140. to be specified. The characters which may not be escaped are those
  141. with hex values 0x20 - 0x3f or 0x5e.
  142. .TP
  143. .B file \fIname
  144. Read options from file \fIname\fR (the format is described below).
  145. The file must be readable by the user who has invoked pppd.
  146. .TP
  147. .B init \fIscript
  148. Execute the command specified by \fIscript\fR, by passing it to a shell, to
  149. initialize the serial line. This script would typically use the
  150. chat(8) program to configure the modem to enable auto answer. A value
  151. for this option from a privileged source cannot be overridden by a
  152. non-privileged user.
  153. .TP
  154. .B lock
  155. Specifies that pppd should create a UUCP-style lock file for the
  156. serial device to ensure exclusive access to the device. By default,
  157. pppd will not create a lock file.
  158. .TP
  159. .B mru \fIn
  160. Set the MRU [Maximum Receive Unit] value to \fIn\fR. Pppd
  161. will ask the peer to send packets of no more than \fIn\fR bytes.
  162. The value of \fIn\fR must be between 128 and 16384; the default is 1500.
  163. A value of
  164. 296 works well on very slow links (40 bytes for TCP/IP header + 256
  165. bytes of data).
  166. Note that for the IPv6 protocol, the MRU must be at least 1280.
  167. .TP
  168. .B mtu \fIn
  169. Set the MTU [Maximum Transmit Unit] value to \fIn\fR. Unless the
  170. peer requests a smaller value via MRU negotiation, pppd will
  171. request that the kernel networking code send data packets of no more
  172. than \fIn\fR bytes through the PPP network interface. Note that for
  173. the IPv6 protocol, the MTU must be at least 1280.
  174. .TP
  175. .B passive
  176. Enables the "passive" option in the LCP. With this option, pppd will
  177. attempt to initiate a connection; if no reply is received from the
  178. peer, pppd will then just wait passively for a valid LCP packet from
  179. the peer, instead of exiting, as it would without this option.
  180. .SH OPTIONS
  181. .TP
  182. .I <local_IP_address>\fB:\fI<remote_IP_address>
  183. Set the local and/or remote interface IP addresses. Either one may be
  184. omitted. The IP addresses can be specified with a host name or in
  185. decimal dot notation (e.g. 150.234.56.78). The default local
  186. address is the (first) IP address of the system (unless the
  187. \fInoipdefault\fR
  188. option is given). The remote address will be obtained from the peer
  189. if not specified in any option. Thus, in simple cases, this option is
  190. not required. If a local and/or remote IP address is specified with
  191. this option, pppd
  192. will not accept a different value from the peer in the IPCP
  193. negotiation, unless the \fIipcp\-accept\-local\fR and/or
  194. \fIipcp\-accept\-remote\fR options are given, respectively.
  195. .TP
  196. .B +ipv6
  197. Enable the IPv6CP and IPv6 protocols.
  198. .TP
  199. .B ipv6 \fI<local_interface_identifier>\fR,\fI<remote_interface_identifier>
  200. Set the local and/or remote 64-bit interface identifier. Either one may be
  201. omitted. The identifier must be specified in standard ASCII notation of
  202. IPv6 addresses (e.g. ::dead:beef). If the
  203. \fIipv6cp\-use\-ipaddr\fR
  204. option is given, the local identifier is the local IPv4 address (see above).
  205. On systems which supports a unique persistent id, such as EUI\-48 derived
  206. from the Ethernet MAC address, \fIipv6cp\-use\-persistent\fR option can be
  207. used to replace the \fIipv6 <local>,<remote>\fR option. Otherwise the
  208. identifier is randomized.
  209. .TP
  210. .B active\-filter \fIfilter\-expression
  211. Specifies a packet filter to be applied to data packets to determine
  212. which packets are to be regarded as link activity, and therefore reset
  213. the idle timer, or cause the link to be brought up in demand-dialling
  214. mode. This option is useful in conjunction with the
  215. \fBidle\fR option if there are packets being sent or received
  216. regularly over the link (for example, routing information packets)
  217. which would otherwise prevent the link from ever appearing to be idle.
  218. The \fIfilter\-expression\fR syntax is as described for tcpdump(1),
  219. except that qualifiers which are inappropriate for a PPP link, such as
  220. \fBether\fR and \fBarp\fR, are not permitted. Generally the filter
  221. expression should be enclosed in single-quotes to prevent whitespace
  222. in the expression from being interpreted by the shell. This option
  223. is currently only available under Linux, and requires that the kernel
  224. was configured to include PPP filtering support (CONFIG_PPP_FILTER).
  225. Note that it
  226. is possible to apply different constraints to incoming and outgoing
  227. packets using the \fBinbound\fR and \fBoutbound\fR qualifiers.
  228. .TP
  229. .B allow\-ip \fIaddress(es)
  230. Allow peers to use the given IP address or subnet without
  231. authenticating themselves. The parameter is parsed as for each
  232. element of the list of allowed IP addresses in the secrets files (see
  233. the AUTHENTICATION section below).
  234. .TP
  235. .B allow\-number \fInumber
  236. Allow peers to connect from the given telephone number. A trailing
  237. `*' character will match all numbers beginning with the leading part.
  238. .TP
  239. .B bsdcomp \fInr,nt
  240. Request that the peer compress packets that it sends, using the
  241. BSD-Compress scheme, with a maximum code size of \fInr\fR bits, and
  242. agree to compress packets sent to the peer with a maximum code size of
  243. \fInt\fR bits. If \fInt\fR is not specified, it defaults to the value
  244. given for \fInr\fR. Values in the range 9 to 15 may be used for
  245. \fInr\fR and \fInt\fR; larger values give better compression but
  246. consume more kernel memory for compression dictionaries.
  247. Alternatively, a value of 0 for \fInr\fR or \fInt\fR disables
  248. compression in the corresponding direction. Use \fInobsdcomp\fR or
  249. \fIbsdcomp 0\fR to disable BSD-Compress compression entirely.
  250. .TP
  251. .B cdtrcts
  252. Use a non-standard hardware flow control (i.e. DTR/CTS) to control
  253. the flow of data on the serial port. If neither the \fIcrtscts\fR,
  254. the \fInocrtscts\fR, the \fIcdtrcts\fR nor the \fInocdtrcts\fR
  255. option is given, the hardware flow control setting for the serial
  256. port is left unchanged.
  257. Some serial ports (such as Macintosh serial ports) lack a true
  258. RTS output. Such serial ports use this mode to implement true
  259. bi-directional flow control. The sacrifice is that this flow
  260. control mode does not permit using DTR as a modem control line.
  261. .TP
  262. .B chap\-interval \fIn
  263. If this option is given, pppd will rechallenge the peer every \fIn\fR
  264. seconds.
  265. .TP
  266. .B chap\-max\-challenge \fIn
  267. Set the maximum number of CHAP challenge transmissions to \fIn\fR
  268. (default 10).
  269. .TP
  270. .B chap\-restart \fIn
  271. Set the CHAP restart interval (retransmission timeout for challenges)
  272. to \fIn\fR seconds (default 3).
  273. .TP
  274. .B child\-timeout \fIn
  275. When exiting, wait for up to \fIn\fR seconds for any child processes
  276. (such as the command specified with the \fBpty\fR command) to exit
  277. before exiting. At the end of the timeout, pppd will send a SIGTERM
  278. signal to any remaining child processes and exit. A value of 0 means
  279. no timeout, that is, pppd will wait until all child processes have
  280. exited.
  281. .TP
  282. .B connect\-delay \fIn
  283. Wait for up to \fIn\fR milliseconds after the connect script finishes for
  284. a valid PPP packet from the peer. At the end of this time, or when a
  285. valid PPP packet is received from the peer, pppd will commence
  286. negotiation by sending its first LCP packet. The default value is
  287. 1000 (1 second). This wait period only applies if the \fBconnect\fR
  288. or \fBpty\fR option is used.
  289. .TP
  290. .B debug
  291. Enables connection debugging facilities.
  292. If this option is given, pppd will log the contents of all
  293. control packets sent or received in a readable form. The packets are
  294. logged through syslog with facility \fIdaemon\fR and level
  295. \fIdebug\fR. This information can be directed to a file by setting up
  296. /etc/syslog.conf appropriately (see syslog.conf(5)).
  297. .TP
  298. .B default\-asyncmap
  299. Disable asyncmap negotiation, forcing all control characters to be
  300. escaped for both the transmit and the receive direction.
  301. .TP
  302. .B default\-mru
  303. Disable MRU [Maximum Receive Unit] negotiation. With this option,
  304. pppd will use the default MRU value of 1500 bytes for both the
  305. transmit and receive direction.
  306. .TP
  307. .B deflate \fInr,nt
  308. Request that the peer compress packets that it sends, using the
  309. Deflate scheme, with a maximum window size of \fI2**nr\fR bytes, and
  310. agree to compress packets sent to the peer with a maximum window size
  311. of \fI2**nt\fR bytes. If \fInt\fR is not specified, it defaults to
  312. the value given for \fInr\fR. Values in the range 9 to 15 may be used
  313. for \fInr\fR and \fInt\fR; larger values give better compression but
  314. consume more kernel memory for compression dictionaries.
  315. Alternatively, a value of 0 for \fInr\fR or \fInt\fR disables
  316. compression in the corresponding direction. Use \fInodeflate\fR or
  317. \fIdeflate 0\fR to disable Deflate compression entirely. (Note: pppd
  318. requests Deflate compression in preference to BSD-Compress if the peer
  319. can do either.)
  320. .TP
  321. .B demand
  322. Initiate the link only on demand, i.e. when data traffic is present.
  323. With this option, the remote IP address may be specified by the user
  324. on the command line or in an options file, or if not, pppd will use
  325. an arbitrary address in the 10.x.x.x range. Pppd will initially
  326. configure the interface and enable it for IP traffic without
  327. connecting to the peer. When traffic is available, pppd will
  328. connect to the peer and perform negotiation, authentication, etc.
  329. When this is completed, pppd will commence passing data packets
  330. (i.e., IP packets) across the link.
  331. The \fIdemand\fR option implies the \fIpersist\fR option. If this
  332. behaviour is not desired, use the \fInopersist\fR option after the
  333. \fIdemand\fR option. The \fIidle\fR and \fIholdoff\fR
  334. options are also useful in conjunction with the \fIdemand\fR option.
  335. .TP
  336. .B domain \fId
  337. Append the domain name \fId\fR to the local host name for authentication
  338. purposes. For example, if gethostname() returns the name porsche, but
  339. the fully qualified domain name is porsche.Quotron.COM, you could
  340. specify \fIdomain Quotron.COM\fR. Pppd would then use the name
  341. \fIporsche.Quotron.COM\fR for looking up secrets in the secrets file,
  342. and as the default name to send to the peer when authenticating itself
  343. to the peer. This option is privileged.
  344. .TP
  345. .B dryrun
  346. With the \fBdryrun\fR option, pppd will print out all the option
  347. values which have been set and then exit, after parsing the command
  348. line and options files and checking the option values, but before
  349. initiating the link. The option values are logged at level info, and
  350. also printed to standard output unless the device on standard output
  351. is the device that pppd would be using to communicate with the peer.
  352. .TP
  353. .B dump
  354. With the \fBdump\fR option, pppd will print out all the option values
  355. which have been set. This option is like the \fBdryrun\fR option
  356. except that pppd proceeds as normal rather than exiting.
  357. .TP
  358. .B enable-session
  359. Enables session accounting via PAM or wtwp/wtmpx, as appropriate.
  360. When PAM is enabled, the PAM "account" and "session" module stacks
  361. determine behavior, and are enabled for all PPP authentication
  362. protocols. When PAM is disabled, wtmp/wtmpx entries are recorded
  363. regardless of whether the peer name identifies a valid user on the
  364. local system, making peers visible in the last(1) log. This feature
  365. is automatically enabled when the pppd \fBlogin\fR option is used.
  366. Session accounting is disabled by default.
  367. .TP
  368. .B endpoint \fI<epdisc>
  369. Sets the endpoint discriminator sent by the local machine to the peer
  370. during multilink negotiation to \fI<epdisc>\fR. The default is to use
  371. the MAC address of the first ethernet interface on the system, if any,
  372. otherwise the IPv4 address corresponding to the hostname, if any,
  373. provided it is not in the multicast or locally-assigned IP address
  374. ranges, or the localhost address. The endpoint discriminator can be
  375. the string \fBnull\fR or of the form \fItype\fR:\fIvalue\fR, where
  376. type is a decimal number or one of the strings \fBlocal\fR, \fBIP\fR,
  377. \fBMAC\fR, \fBmagic\fR, or \fBphone\fR. The value is an IP address in
  378. dotted-decimal notation for the \fBIP\fR type, or a string of bytes in
  379. hexadecimal, separated by periods or colons for the other types. For
  380. the MAC type, the value may also be the name of an ethernet or similar
  381. network interface. This option is currently only available under
  382. Linux.
  383. .TP
  384. .B eap\-interval \fIn
  385. If this option is given and pppd authenticates the peer with EAP
  386. (i.e., is the server), pppd will restart EAP authentication every
  387. \fIn\fR seconds. For EAP SRP\-SHA1, see also the \fBsrp\-interval\fR
  388. option, which enables lightweight rechallenge.
  389. .TP
  390. .B eap\-max\-rreq \fIn
  391. Set the maximum number of EAP Requests to which pppd will respond (as
  392. a client) without hearing EAP Success or Failure. (Default is 20.)
  393. .TP
  394. .B eap\-max\-sreq \fIn
  395. Set the maximum number of EAP Requests that pppd will issue (as a
  396. server) while attempting authentication. (Default is 10.)
  397. .TP
  398. .B eap\-restart \fIn
  399. Set the retransmit timeout for EAP Requests when acting as a server
  400. (authenticator). (Default is 3 seconds.)
  401. .TP
  402. .B eap\-timeout \fIn
  403. Set the maximum time to wait for the peer to send an EAP Request when
  404. acting as a client (authenticatee). (Default is 20 seconds.)
  405. .TP
  406. .B hide\-password
  407. When logging the contents of PAP packets, this option causes pppd to
  408. exclude the password string from the log. This is the default.
  409. .TP
  410. .B holdoff \fIn
  411. Specifies how many seconds to wait before re-initiating the link after
  412. it terminates. This option only has any effect if the \fIpersist\fR
  413. or \fIdemand\fR option is used. The holdoff period is not applied if
  414. the link was terminated because it was idle.
  415. .TP
  416. .B idle \fIn
  417. Specifies that pppd should disconnect if the link is idle for \fIn\fR
  418. seconds. The link is idle when no data packets (i.e. IP packets) are
  419. being sent or received. Note: it is not advisable to use this option
  420. with the \fIpersist\fR option without the \fIdemand\fR option.
  421. If the \fBactive\-filter\fR
  422. option is given, data packets which are rejected by the specified
  423. activity filter also count as the link being idle.
  424. .TP
  425. .B ipcp\-accept\-local
  426. With this option, pppd will accept the peer's idea of our local IP
  427. address, even if the local IP address was specified in an option.
  428. .TP
  429. .B ipcp\-accept\-remote
  430. With this option, pppd will accept the peer's idea of its (remote) IP
  431. address, even if the remote IP address was specified in an option.
  432. .TP
  433. .B ipcp\-max\-configure \fIn
  434. Set the maximum number of IPCP configure-request transmissions to
  435. \fIn\fR (default 10).
  436. .TP
  437. .B ipcp\-max\-failure \fIn
  438. Set the maximum number of IPCP configure-NAKs returned before starting
  439. to send configure-Rejects instead to \fIn\fR (default 10).
  440. .TP
  441. .B ipcp\-max\-terminate \fIn
  442. Set the maximum number of IPCP terminate-request transmissions to
  443. \fIn\fR (default 3).
  444. .TP
  445. .B ipcp\-restart \fIn
  446. Set the IPCP restart interval (retransmission timeout) to \fIn\fR
  447. seconds (default 3).
  448. .TP
  449. .B ipparam \fIstring
  450. Provides an extra parameter to the ip\-up, ip\-pre\-up and ip\-down
  451. scripts. If this
  452. option is given, the \fIstring\fR supplied is given as the 6th
  453. parameter to those scripts.
  454. .TP
  455. .B ipv6cp\-accept\-local
  456. With this option, pppd will accept the peer's idea of our local IPv6
  457. interface identifier, even if the local IPv6 interface identifier
  458. was specified in an option.
  459. .TP
  460. .B ipv6cp\-max\-configure \fIn
  461. Set the maximum number of IPv6CP configure-request transmissions to
  462. \fIn\fR (default 10).
  463. .TP
  464. .B ipv6cp\-max\-failure \fIn
  465. Set the maximum number of IPv6CP configure-NAKs returned before starting
  466. to send configure-Rejects instead to \fIn\fR (default 10).
  467. .TP
  468. .B ipv6cp\-max\-terminate \fIn
  469. Set the maximum number of IPv6CP terminate-request transmissions to
  470. \fIn\fR (default 3).
  471. .TP
  472. .B ipv6cp\-restart \fIn
  473. Set the IPv6CP restart interval (retransmission timeout) to \fIn\fR
  474. seconds (default 3).
  475. .TP
  476. .B ipx
  477. Enable the IPXCP and IPX protocols. This option is presently only
  478. supported under Linux, and only if your kernel has been configured to
  479. include IPX support.
  480. .TP
  481. .B ipx\-network \fIn
  482. Set the IPX network number in the IPXCP configure request frame to
  483. \fIn\fR, a hexadecimal number (without a leading 0x). There is no
  484. valid default. If this option is not specified, the network number is
  485. obtained from the peer. If the peer does not have the network number,
  486. the IPX protocol will not be started.
  487. .TP
  488. .B ipx\-node \fIn\fB:\fIm
  489. Set the IPX node numbers. The two node numbers are separated from each
  490. other with a colon character. The first number \fIn\fR is the local
  491. node number. The second number \fIm\fR is the peer's node number. Each
  492. node number is a hexadecimal number, at most 10 digits long. The node
  493. numbers on the ipx\-network must be unique. There is no valid
  494. default. If this option is not specified then the node numbers are
  495. obtained from the peer.
  496. .TP
  497. .B ipx\-router\-name \fI<string>
  498. Set the name of the router. This is a string and is sent to the peer
  499. as information data.
  500. .TP
  501. .B ipx\-routing \fIn
  502. Set the routing protocol to be received by this option. More than one
  503. instance of \fIipx\-routing\fR may be specified. The '\fInone\fR'
  504. option (0) may be specified as the only instance of ipx\-routing. The
  505. values may be \fI0\fR for \fINONE\fR, \fI2\fR for \fIRIP/SAP\fR, and
  506. \fI4\fR for \fINLSP\fR.
  507. .TP
  508. .B ipxcp\-accept\-local
  509. Accept the peer's NAK for the node number specified in the ipx\-node
  510. option. If a node number was specified, and non-zero, the default is
  511. to insist that the value be used. If you include this option then you
  512. will permit the peer to override the entry of the node number.
  513. .TP
  514. .B ipxcp\-accept\-network
  515. Accept the peer's NAK for the network number specified in the
  516. ipx\-network option. If a network number was specified, and non-zero, the
  517. default is to insist that the value be used. If you include this
  518. option then you will permit the peer to override the entry of the node
  519. number.
  520. .TP
  521. .B ipxcp\-accept\-remote
  522. Use the peer's network number specified in the configure request
  523. frame. If a node number was specified for the peer and this option was
  524. not specified, the peer will be forced to use the value which you have
  525. specified.
  526. .TP
  527. .B ipxcp\-max\-configure \fIn
  528. Set the maximum number of IPXCP configure request frames which the
  529. system will send to \fIn\fR. The default is 10.
  530. .TP
  531. .B ipxcp\-max\-failure \fIn
  532. Set the maximum number of IPXCP NAK frames which the local system will
  533. send before it rejects the options. The default value is 3.
  534. .TP
  535. .B ipxcp\-max\-terminate \fIn
  536. Set the maximum number of IPXCP terminate request frames before the
  537. local system considers that the peer is not listening to them. The
  538. default value is 3.
  539. .TP
  540. .B kdebug \fIn
  541. Enable debugging code in the kernel-level PPP driver. The argument
  542. values depend on the specific kernel driver, but in general a value of
  543. 1 will enable general kernel debug messages. (Note that these
  544. messages are usually only useful for debugging the kernel driver
  545. itself.) For the Linux 2.2.x kernel driver, the value is a sum of
  546. bits: 1 to
  547. enable general debug messages, 2 to request that the contents of
  548. received packets be printed, and 4 to request that the contents of
  549. transmitted packets be printed. On most systems, messages printed by
  550. the kernel are logged by syslog(1) to a file as directed in the
  551. /etc/syslog.conf configuration file.
  552. .TP
  553. .B ktune
  554. Enables pppd to alter kernel settings as appropriate. Under Linux,
  555. pppd will enable IP forwarding (i.e. set /proc/sys/net/ipv4/ip_forward
  556. to 1) if the \fIproxyarp\fR option is used, and will enable the
  557. dynamic IP address option (i.e. set /proc/sys/net/ipv4/ip_dynaddr to
  558. 1) in demand mode if the local address changes.
  559. .TP
  560. .B lcp\-echo\-failure \fIn
  561. If this option is given, pppd will presume the peer to be dead
  562. if \fIn\fR LCP echo\-requests are sent without receiving a valid LCP
  563. echo\-reply. If this happens, pppd will terminate the
  564. connection. Use of this option requires a non-zero value for the
  565. \fIlcp\-echo\-interval\fR parameter. This option can be used to enable
  566. pppd to terminate after the physical connection has been broken
  567. (e.g., the modem has hung up) in situations where no hardware modem
  568. control lines are available.
  569. .TP
  570. .B lcp\-echo\-interval \fIn
  571. If this option is given, pppd will send an LCP echo\-request frame to
  572. the peer every \fIn\fR seconds. Normally the peer should respond to
  573. the echo\-request by sending an echo\-reply. This option can be used
  574. with the \fIlcp\-echo\-failure\fR option to detect that the peer is no
  575. longer connected.
  576. .TP
  577. .B lcp\-max\-configure \fIn
  578. Set the maximum number of LCP configure-request transmissions to
  579. \fIn\fR (default 10).
  580. .TP
  581. .B lcp\-max\-failure \fIn
  582. Set the maximum number of LCP configure-NAKs returned before starting
  583. to send configure-Rejects instead to \fIn\fR (default 10).
  584. .TP
  585. .B lcp\-max\-terminate \fIn
  586. Set the maximum number of LCP terminate-request transmissions to
  587. \fIn\fR (default 3).
  588. .TP
  589. .B lcp\-restart \fIn
  590. Set the LCP restart interval (retransmission timeout) to \fIn\fR
  591. seconds (default 3).
  592. .TP
  593. .B linkname \fIname\fR
  594. Sets the logical name of the link to \fIname\fR. Pppd will create a
  595. file named \fBppp\-\fIname\fB.pid\fR in /var/run (or /etc/ppp on some
  596. systems) containing its process ID. This can be useful in determining
  597. which instance of pppd is responsible for the link to a given peer
  598. system. This is a privileged option.
  599. .TP
  600. .B local
  601. Don't use the modem control lines. With this option, pppd will ignore
  602. the state of the CD (Carrier Detect) signal from the modem and will
  603. not change the state of the DTR (Data Terminal Ready) signal. This is
  604. the opposite of the \fBmodem\fR option.
  605. .TP
  606. .B logfd \fIn
  607. Send log messages to file descriptor \fIn\fR. Pppd will send log
  608. messages to at most one file or file descriptor (as well as sending
  609. the log messages to syslog), so this option and the \fBlogfile\fR
  610. option are mutually exclusive. The default is for pppd to send log
  611. messages to stdout (file descriptor 1), unless the serial port is
  612. already open on stdout.
  613. .TP
  614. .B logfile \fIfilename
  615. Append log messages to the file \fIfilename\fR (as well as sending the
  616. log messages to syslog). The file is opened with the privileges of
  617. the user who invoked pppd, in append mode.
  618. .TP
  619. .B login
  620. Use the system password database for authenticating the peer using
  621. PAP, and record the user in the system wtmp file. Note that the peer
  622. must have an entry in the /etc/ppp/pap\-secrets file as well as the
  623. system password database to be allowed access. See also the
  624. \fBenable\-session\fR option.
  625. .TP
  626. .B master_detach
  627. If multilink is enabled and this pppd process is the multilink bundle
  628. master, and the link controlled by this pppd process terminates, this
  629. pppd process continues to run in order to maintain the bundle. If the
  630. \fBmaster_detach\fR option has been given, pppd will detach from its
  631. controlling terminal in this situation, even if the \fBnodetach\fR
  632. option has been given.
  633. .TP
  634. .B maxconnect \fIn
  635. Terminate the connection when it has been available for network
  636. traffic for \fIn\fR seconds (i.e. \fIn\fR seconds after the first
  637. network control protocol comes up).
  638. .TP
  639. .B maxfail \fIn
  640. Terminate after \fIn\fR consecutive failed connection attempts. A
  641. value of 0 means no limit. The default value is 10.
  642. .TP
  643. .B modem
  644. Use the modem control lines. This option is the default. With this
  645. option, pppd will wait for the CD (Carrier Detect) signal from the
  646. modem to be asserted when opening the serial device (unless a connect
  647. script is specified), and it will drop the DTR (Data Terminal Ready)
  648. signal briefly when the connection is terminated and before executing
  649. the connect script. On Ultrix, this option implies hardware flow
  650. control, as for the \fIcrtscts\fR option. This is the opposite of the
  651. \fBlocal\fR option.
  652. .TP
  653. .B mp
  654. Enables the use of PPP multilink; this is an alias for the `multilink'
  655. option. This option is currently only available under Linux.
  656. .TP
  657. .B mppe\-stateful
  658. Allow MPPE to use stateful mode. Stateless mode is still attempted first.
  659. The default is to disallow stateful mode.
  660. .TP
  661. .B mpshortseq
  662. Enables the use of short (12-bit) sequence numbers in multilink
  663. headers, as opposed to 24-bit sequence numbers. This option is only
  664. available under Linux, and only has any effect if multilink is
  665. enabled (see the multilink option).
  666. .TP
  667. .B mrru \fIn
  668. Sets the Maximum Reconstructed Receive Unit to \fIn\fR. The MRRU is
  669. the maximum size for a received packet on a multilink bundle, and is
  670. analogous to the MRU for the individual links. This option is
  671. currently only available under Linux, and only has any effect if
  672. multilink is enabled (see the multilink option).
  673. .TP
  674. .B ms\-dns \fI<addr>
  675. If pppd is acting as a server for Microsoft Windows clients, this
  676. option allows pppd to supply one or two DNS (Domain Name Server)
  677. addresses to the clients. The first instance of this option specifies
  678. the primary DNS address; the second instance (if given) specifies the
  679. secondary DNS address. (This option was present in some older
  680. versions of pppd under the name \fBdns\-addr\fR.)
  681. .TP
  682. .B ms\-wins \fI<addr>
  683. If pppd is acting as a server for Microsoft Windows or "Samba"
  684. clients, this option allows pppd to supply one or two WINS (Windows
  685. Internet Name Services) server addresses to the clients. The first
  686. instance of this option specifies the primary WINS address; the second
  687. instance (if given) specifies the secondary WINS address.
  688. .TP
  689. .B multilink
  690. Enables the use of the PPP multilink protocol. If the peer also
  691. supports multilink, then this link can become part of a bundle between
  692. the local system and the peer. If there is an existing bundle to the
  693. peer, pppd will join this link to that bundle, otherwise pppd will
  694. create a new bundle. See the MULTILINK section below. This option is
  695. currently only available under Linux.
  696. .TP
  697. .B name \fIname
  698. Set the name of the local system for authentication purposes to
  699. \fIname\fR. This is a privileged option. With this option, pppd will
  700. use lines in the secrets files which have \fIname\fR as the second
  701. field when looking for a secret to use in authenticating the peer. In
  702. addition, unless overridden with the \fIuser\fR option, \fIname\fR
  703. will be used as the name to send to the peer when authenticating the
  704. local system to the peer. (Note that pppd does not append the domain
  705. name to \fIname\fR.)
  706. .TP
  707. .B noaccomp
  708. Disable Address/Control compression in both directions (send and
  709. receive).
  710. .TP
  711. .B noauth
  712. Do not require the peer to authenticate itself. This option is
  713. privileged.
  714. .TP
  715. .B nobsdcomp
  716. Disables BSD-Compress compression; \fBpppd\fR will not request or
  717. agree to compress packets using the BSD-Compress scheme.
  718. .TP
  719. .B noccp
  720. Disable CCP (Compression Control Protocol) negotiation. This option
  721. should only be required if the peer is buggy and gets confused by
  722. requests from pppd for CCP negotiation.
  723. .TP
  724. .B nocrtscts
  725. Disable hardware flow control (i.e. RTS/CTS) on the serial port.
  726. If neither the \fIcrtscts\fR nor the \fInocrtscts\fR nor the
  727. \fIcdtrcts\fR nor the \fInocdtrcts\fR option is given, the hardware
  728. flow control setting for the serial port is left unchanged.
  729. .TP
  730. .B nocdtrcts
  731. This option is a synonym for \fInocrtscts\fR. Either of these options will
  732. disable both forms of hardware flow control.
  733. .TP
  734. .B nodefaultroute
  735. Disable the \fIdefaultroute\fR option. The system administrator who
  736. wishes to prevent users from creating default routes with pppd
  737. can do so by placing this option in the /etc/ppp/options file.
  738. .TP
  739. .B nodeflate
  740. Disables Deflate compression; pppd will not request or agree to
  741. compress packets using the Deflate scheme.
  742. .TP
  743. .B nodetach
  744. Don't detach from the controlling terminal. Without this option, if a
  745. serial device other than the terminal on the standard input is
  746. specified, pppd will fork to become a background process.
  747. .TP
  748. .B noendpoint
  749. Disables pppd from sending an endpoint discriminator to the peer or
  750. accepting one from the peer (see the MULTILINK section below). This
  751. option should only be required if the peer is buggy.
  752. .TP
  753. .B noip
  754. Disable IPCP negotiation and IP communication. This option should
  755. only be required if the peer is buggy and gets confused by requests
  756. from pppd for IPCP negotiation.
  757. .TP
  758. .B noipv6
  759. Disable IPv6CP negotiation and IPv6 communication. This option should
  760. only be required if the peer is buggy and gets confused by requests
  761. from pppd for IPv6CP negotiation.
  762. .TP
  763. .B noipdefault
  764. Disables the default behaviour when no local IP address is specified,
  765. which is to determine (if possible) the local IP address from the
  766. hostname. With this option, the peer will have to supply the local IP
  767. address during IPCP negotiation (unless it specified explicitly on the
  768. command line or in an options file).
  769. .TP
  770. .B noipx
  771. Disable the IPXCP and IPX protocols. This option should only be
  772. required if the peer is buggy and gets confused by requests from pppd
  773. for IPXCP negotiation.
  774. .TP
  775. .B noktune
  776. Opposite of the \fIktune\fR option; disables pppd from changing system
  777. settings.
  778. .TP
  779. .B nolock
  780. Opposite of the \fIlock\fR option; specifies that pppd should not
  781. create a UUCP-style lock file for the serial device. This option is
  782. privileged.
  783. .TP
  784. .B nolog
  785. Do not send log messages to a file or file descriptor. This option
  786. cancels the \fBlogfd\fR and \fBlogfile\fR options.
  787. .TP
  788. .B nomagic
  789. Disable magic number negotiation. With this option, pppd cannot
  790. detect a looped-back line. This option should only be needed if the
  791. peer is buggy.
  792. .TP
  793. .B nomp
  794. Disables the use of PPP multilink. This option is currently only
  795. available under Linux.
  796. .TP
  797. .B nomppe
  798. Disables MPPE (Microsoft Point to Point Encryption). This is the default.
  799. .TP
  800. .B nomppe\-40
  801. Disable 40-bit encryption with MPPE.
  802. .TP
  803. .B nomppe\-128
  804. Disable 128-bit encryption with MPPE.
  805. .TP
  806. .B nomppe\-stateful
  807. Disable MPPE stateful mode. This is the default.
  808. .TP
  809. .B nompshortseq
  810. Disables the use of short (12-bit) sequence numbers in the PPP
  811. multilink protocol, forcing the use of 24-bit sequence numbers. This
  812. option is currently only available under Linux, and only has any
  813. effect if multilink is enabled.
  814. .TP
  815. .B nomultilink
  816. Disables the use of PPP multilink. This option is currently only
  817. available under Linux.
  818. .TP
  819. .B nopcomp
  820. Disable protocol field compression negotiation in both the receive and
  821. the transmit direction.
  822. .TP
  823. .B nopersist
  824. Exit once a connection has been made and terminated. This is the
  825. default unless the \fIpersist\fR or \fIdemand\fR option has been
  826. specified.
  827. .TP
  828. .B nopredictor1
  829. Do not accept or agree to Predictor\-1 compression.
  830. .TP
  831. .B noproxyarp
  832. Disable the \fIproxyarp\fR option. The system administrator who
  833. wishes to prevent users from creating proxy ARP entries with pppd can
  834. do so by placing this option in the /etc/ppp/options file.
  835. .TP
  836. .B noremoteip
  837. Allow pppd to operate without having an IP address for the peer. This
  838. option is only available under Linux. Normally, pppd will request the
  839. peer's IP address, and if the peer does not supply it, pppd will use
  840. an arbitrary address in the 10.x.x.x subnet.
  841. With this option, if the peer does
  842. not supply its IP address, pppd will not ask the peer for it, and will
  843. not set the destination address of the ppp interface. In this
  844. situation, the ppp interface can be used for routing by creating
  845. device routes, but the peer itself cannot be addressed directly for IP
  846. traffic.
  847. .TP
  848. .B notty
  849. Normally, pppd requires a terminal device. With this option, pppd
  850. will allocate itself a pseudo-tty master/slave pair and use the slave
  851. as its terminal device. Pppd will create a child process to act as a
  852. `character shunt' to transfer characters between the pseudo-tty master
  853. and its standard input and output. Thus pppd will transmit characters
  854. on its standard output and receive characters on its standard input
  855. even if they are not terminal devices. This option increases the
  856. latency and CPU overhead of transferring data over the ppp interface
  857. as all of the characters sent and received must flow through the
  858. character shunt process. An explicit device name may not be given if
  859. this option is used.
  860. .TP
  861. .B novj
  862. Disable Van Jacobson style TCP/IP header compression in both the
  863. transmit and the receive direction.
  864. .TP
  865. .B novjccomp
  866. Disable the connection-ID compression option in Van Jacobson style
  867. TCP/IP header compression. With this option, pppd will not omit the
  868. connection-ID byte from Van Jacobson compressed TCP/IP headers, nor
  869. ask the peer to do so.
  870. .TP
  871. .B papcrypt
  872. Indicates that all secrets in the /etc/ppp/pap\-secrets file which are
  873. used for checking the identity of the peer are encrypted, and thus
  874. pppd should not accept a password which, before encryption, is
  875. identical to the secret from the /etc/ppp/pap\-secrets file.
  876. .TP
  877. .B pap\-max\-authreq \fIn
  878. Set the maximum number of PAP authenticate-request transmissions to
  879. \fIn\fR (default 10).
  880. .TP
  881. .B pap\-restart \fIn
  882. Set the PAP restart interval (retransmission timeout) to \fIn\fR
  883. seconds (default 3).
  884. .TP
  885. .B pap\-timeout \fIn
  886. Set the maximum time that pppd will wait for the peer to authenticate
  887. itself with PAP to \fIn\fR seconds (0 means no limit).
  888. .TP
  889. .B pass\-filter \fIfilter\-expression
  890. Specifies a packet filter to applied to data packets being sent or
  891. received to determine which packets should be allowed to pass.
  892. Packets which are rejected by the filter are silently discarded. This
  893. option can be used to prevent specific network daemons (such as
  894. routed) using up link bandwidth, or to provide a very basic firewall
  895. capability.
  896. The \fIfilter\-expression\fR syntax is as described for tcpdump(1),
  897. except that qualifiers which are inappropriate for a PPP link, such as
  898. \fBether\fR and \fBarp\fR, are not permitted. Generally the filter
  899. expression should be enclosed in single-quotes to prevent whitespace
  900. in the expression from being interpreted by the shell. Note that it
  901. is possible to apply different constraints to incoming and outgoing
  902. packets using the \fBinbound\fR and \fBoutbound\fR qualifiers. This
  903. option is currently only available under Linux, and requires that the
  904. kernel was configured to include PPP filtering support (CONFIG_PPP_FILTER).
  905. .TP
  906. .B password \fIpassword\-string
  907. Specifies the password to use for authenticating to the peer. Use
  908. of this option is discouraged, as the password is likely to be visible
  909. to other users on the system (for example, by using ps(1)).
  910. .TP
  911. .B persist
  912. Do not exit after a connection is terminated; instead try to reopen
  913. the connection. The \fBmaxfail\fR option still has an effect on
  914. persistent connections.
  915. .TP
  916. .B plugin \fIfilename
  917. Load the shared library object file \fIfilename\fR as a plugin. This
  918. is a privileged option. If \fIfilename\fR does not contain a slash
  919. (/), pppd will look in the \fB/usr/lib/pppd/\fIversion\fR directory
  920. for the plugin, where
  921. \fIversion\fR is the version number of pppd (for example, 2.4.2).
  922. .TP
  923. .B predictor1
  924. Request that the peer compress frames that it sends using Predictor-1
  925. compression, and agree to compress transmitted frames with Predictor-1
  926. if requested. This option has no effect unless the kernel driver
  927. supports Predictor-1 compression.
  928. .TP
  929. .B privgroup \fIgroup\-name
  930. Allows members of group \fIgroup\-name\fR to use privileged options.
  931. This is a privileged option. Use of this option requires care as
  932. there is no guarantee that members of \fIgroup\-name\fR cannot use pppd
  933. to become root themselves. Consider it equivalent to putting the
  934. members of \fIgroup\-name\fR in the kmem or disk group.
  935. .TP
  936. .B proxyarp
  937. Add an entry to this system's ARP [Address Resolution Protocol] table
  938. with the IP address of the peer and the Ethernet address of this
  939. system. This will have the effect of making the peer appear to other
  940. systems to be on the local ethernet.
  941. .TP
  942. .B pty \fIscript
  943. Specifies that the command \fIscript\fR is to be used to communicate
  944. rather than a specific terminal device. Pppd will allocate itself a
  945. pseudo-tty master/slave pair and use the slave as its terminal
  946. device. The \fIscript\fR will be run in a child process with the
  947. pseudo-tty master as its standard input and output. An explicit
  948. device name may not be given if this option is used. (Note: if the
  949. \fIrecord\fR option is used in conjunction with the \fIpty\fR option,
  950. the child process will have pipes on its standard input and output.)
  951. .TP
  952. .B receive\-all
  953. With this option, pppd will accept all control characters from the
  954. peer, including those marked in the receive asyncmap. Without this
  955. option, pppd will discard those characters as specified in RFC1662.
  956. This option should only be needed if the peer is buggy.
  957. .TP
  958. .B record \fIfilename
  959. Specifies that pppd should record all characters sent and received to
  960. a file named \fIfilename\fR. This file is opened in append mode,
  961. using the user's user-ID and permissions. This option is implemented
  962. using a pseudo-tty and a process to transfer characters between the
  963. pseudo-tty and the real serial device, so it will increase the latency
  964. and CPU overhead of transferring data over the ppp interface. The
  965. characters are stored in a tagged format with timestamps, which can be
  966. displayed in readable form using the pppdump(8) program.
  967. .TP
  968. .B remotename \fIname
  969. Set the assumed name of the remote system for authentication purposes
  970. to \fIname\fR.
  971. .TP
  972. .B remotenumber \fInumber
  973. Set the assumed telephone number of the remote system for authentication
  974. purposes to \fInumber\fR.
  975. .TP
  976. .B refuse\-chap
  977. With this option, pppd will not agree to authenticate itself to the
  978. peer using CHAP.
  979. .TP
  980. .B refuse\-mschap
  981. With this option, pppd will not agree to authenticate itself to the
  982. peer using MS\-CHAP.
  983. .TP
  984. .B refuse\-mschap\-v2
  985. With this option, pppd will not agree to authenticate itself to the
  986. peer using MS\-CHAPv2.
  987. .TP
  988. .B refuse\-eap
  989. With this option, pppd will not agree to authenticate itself to the
  990. peer using EAP.
  991. .TP
  992. .B refuse\-pap
  993. With this option, pppd will not agree to authenticate itself to the
  994. peer using PAP.
  995. .TP
  996. .B require\-chap
  997. Require the peer to authenticate itself using CHAP [Challenge
  998. Handshake Authentication Protocol] authentication.
  999. .TP
  1000. .B require\-mppe
  1001. Require the use of MPPE (Microsoft Point to Point Encryption). This
  1002. option disables all other compression types. This option enables
  1003. both 40-bit and 128-bit encryption. In order for MPPE to successfully
  1004. come up, you must have authenticated with either MS\-CHAP or MS\-CHAPv2.
  1005. This option is presently only supported under Linux, and only if your
  1006. kernel has been configured to include MPPE support.
  1007. .TP
  1008. .B require\-mppe\-40
  1009. Require the use of MPPE, with 40-bit encryption.
  1010. .TP
  1011. .B require\-mppe\-128
  1012. Require the use of MPPE, with 128-bit encryption.
  1013. .TP
  1014. .B require\-mschap
  1015. Require the peer to authenticate itself using MS\-CHAP [Microsoft Challenge
  1016. Handshake Authentication Protocol] authentication.
  1017. .TP
  1018. .B require\-mschap\-v2
  1019. Require the peer to authenticate itself using MS\-CHAPv2 [Microsoft Challenge
  1020. Handshake Authentication Protocol, Version 2] authentication.
  1021. .TP
  1022. .B require\-eap
  1023. Require the peer to authenticate itself using EAP [Extensible
  1024. Authentication Protocol] authentication.
  1025. .TP
  1026. .B require\-pap
  1027. Require the peer to authenticate itself using PAP [Password
  1028. Authentication Protocol] authentication.
  1029. .TP
  1030. .B set \fIname\fR=\fIvalue
  1031. Set an environment variable for scripts that are invoked by pppd.
  1032. When set by a privileged source, the variable specified by \fIname\fR
  1033. cannot be changed by options contained in an unprivileged source. See
  1034. also the \fIunset\fR option and the environment described in
  1035. \fISCRIPTS\fR.
  1036. .TP
  1037. .B show\-password
  1038. When logging the contents of PAP packets, this option causes pppd to
  1039. show the password string in the log message.
  1040. .TP
  1041. .B silent
  1042. With this option, pppd will not transmit LCP packets to initiate a
  1043. connection until a valid LCP packet is received from the peer (as for
  1044. the `passive' option with ancient versions of pppd).
  1045. .TP
  1046. .B srp\-interval \fIn
  1047. If this parameter is given and pppd uses EAP SRP\-SHA1 to authenticate
  1048. the peer (i.e., is the server), then pppd will use the optional
  1049. lightweight SRP rechallenge mechanism at intervals of \fIn\fR
  1050. seconds. This option is faster than \fBeap\-interval\fR
  1051. reauthentication because it uses a hash\-based mechanism and does not
  1052. derive a new session key.
  1053. .TP
  1054. .B srp\-pn\-secret \fIstring
  1055. Set the long-term pseudonym-generating secret for the server. This
  1056. value is optional and if set, needs to be known at the server
  1057. (authenticator) side only, and should be different for each server (or
  1058. poll of identical servers). It is used along with the current date to
  1059. generate a key to encrypt and decrypt the client's identity contained
  1060. in the pseudonym.
  1061. .TP
  1062. .B srp\-use\-pseudonym
  1063. When operating as an EAP SRP\-SHA1 client, attempt to use the pseudonym
  1064. stored in ~/.ppp_pseudonym first as the identity, and save in this
  1065. file any pseudonym offered by the peer during authentication.
  1066. .TP
  1067. .B sync
  1068. Use synchronous HDLC serial encoding instead of asynchronous.
  1069. The device used by pppd with this option must have sync support.
  1070. Currently supports Microgate SyncLink adapters
  1071. under Linux and FreeBSD 2.2.8 and later.
  1072. .TP
  1073. .B unit \fInum
  1074. Sets the ppp unit number (for a ppp0 or ppp1 etc interface name) for outbound
  1075. connections.
  1076. .TP
  1077. .B unset \fIname
  1078. Remove a variable from the environment variable for scripts that are
  1079. invoked by pppd. When specified by a privileged source, the variable
  1080. \fIname\fR cannot be set by options contained in an unprivileged
  1081. source. See also the \fIset\fR option and the environment described
  1082. in \fISCRIPTS\fR.
  1083. .TP
  1084. .B updetach
  1085. With this option, pppd will detach from its controlling terminal once
  1086. it has successfully established the ppp connection (to the point where
  1087. the first network control protocol, usually the IP control protocol,
  1088. has come up).
  1089. .TP
  1090. .B usehostname
  1091. Enforce the use of the hostname (with domain name appended, if given)
  1092. as the name of the local system for authentication purposes (overrides
  1093. the \fIname\fR option). This option is not normally needed since the
  1094. \fIname\fR option is privileged.
  1095. .TP
  1096. .B usepeerdns
  1097. Ask the peer for up to 2 DNS server addresses. The addresses supplied
  1098. by the peer (if any) are passed to the /etc/ppp/ip\-up script in the
  1099. environment variables DNS1 and DNS2, and the environment variable
  1100. USEPEERDNS will be set to 1. In addition, pppd will create an
  1101. /etc/ppp/resolv.conf file containing one or two nameserver lines with
  1102. the address(es) supplied by the peer.
  1103. .TP
  1104. .B user \fIname
  1105. Sets the name used for authenticating the local system to the peer to
  1106. \fIname\fR.
  1107. .TP
  1108. .B vj\-max\-slots \fIn
  1109. Sets the number of connection slots to be used by the Van Jacobson
  1110. TCP/IP header compression and decompression code to \fIn\fR, which
  1111. must be between 2 and 16 (inclusive).
  1112. .TP
  1113. .B welcome \fIscript
  1114. Run the executable or shell command specified by \fIscript\fR before
  1115. initiating PPP negotiation, after the connect script (if any) has
  1116. completed. A value for this option from a privileged source cannot be
  1117. overridden by a non-privileged user.
  1118. .TP
  1119. .B xonxoff
  1120. Use software flow control (i.e. XON/XOFF) to control the flow of data on
  1121. the serial port.
  1122. .SH OPTIONS FILES
  1123. Options can be taken from files as well as the command line. Pppd
  1124. reads options from the files /etc/ppp/options, ~/.ppprc and
  1125. /etc/ppp/options.\fIttyname\fR (in that order) before processing the
  1126. options on the command line. (In fact, the command-line options are
  1127. scanned to find the terminal name before the options.\fIttyname\fR
  1128. file is read.) In forming the name of the options.\fIttyname\fR file,
  1129. the initial /dev/ is removed from the terminal name, and any remaining
  1130. / characters are replaced with dots.
  1131. .PP
  1132. An options file is parsed into a series of words, delimited by
  1133. whitespace. Whitespace can be included in a word by enclosing the
  1134. word in double-quotes ("). A backslash (\e) quotes the following character.
  1135. A hash (#) starts a comment, which continues until the end of the
  1136. line. There is no restriction on using the \fIfile\fR or \fIcall\fR
  1137. options within an options file.
  1138. .SH SECURITY
  1139. .I pppd
  1140. provides system administrators with sufficient access control that PPP
  1141. access to a server machine can be provided to legitimate users without
  1142. fear of compromising the security of the server or the network it's
  1143. on. This control is provided through restrictions on which IP
  1144. addresses the peer may use, based on its authenticated identity (if
  1145. any), and through restrictions on which options a non-privileged user
  1146. may use. Several of pppd's options are privileged, in particular
  1147. those which permit potentially insecure configurations; these options
  1148. are only accepted in files which are under the control of the system
  1149. administrator, or if pppd is being run by root.
  1150. .PP
  1151. The default behaviour of pppd is to allow an unauthenticated peer to
  1152. use a given IP address only if the system does not already have a
  1153. route to that IP address. For example, a system with a
  1154. permanent connection to the wider internet will normally have a
  1155. default route, and thus all peers will have to authenticate themselves
  1156. in order to set up a connection. On such a system, the \fIauth\fR
  1157. option is the default. On the other hand, a system where the
  1158. PPP link is the only connection to the internet will not normally have
  1159. a default route, so the peer will be able to use almost any IP address
  1160. without authenticating itself.
  1161. .PP
  1162. As indicated above, some security-sensitive options are privileged,
  1163. which means that they may not be used by an ordinary non-privileged
  1164. user running a setuid-root pppd, either on the command line, in the
  1165. user's ~/.ppprc file, or in an options file read using the \fIfile\fR
  1166. option. Privileged options may be used in /etc/ppp/options file or in
  1167. an options file read using the \fIcall\fR option. If pppd is being
  1168. run by the root user, privileged options can be used without
  1169. restriction.
  1170. .PP
  1171. When opening the device, pppd uses either the invoking user's user ID
  1172. or the root UID (that is, 0), depending on whether the device name was
  1173. specified by the user or the system administrator. If the device name
  1174. comes from a privileged source, that is, /etc/ppp/options or an
  1175. options file read using the \fIcall\fR option, pppd uses full root
  1176. privileges when opening the device. Thus, by creating an appropriate
  1177. file under /etc/ppp/peers, the system administrator can allow users to
  1178. establish a ppp connection via a device which they would not normally
  1179. have permission to access. Otherwise pppd uses the invoking user's
  1180. real UID when opening the device.
  1181. .SH AUTHENTICATION
  1182. Authentication is the process whereby one peer convinces the other of
  1183. its identity. This involves the first peer sending its name to the
  1184. other, together with some kind of secret information which could only
  1185. come from the genuine authorized user of that name. In such an
  1186. exchange, we will call the first peer the "client" and the other the
  1187. "server". The client has a name by which it identifies itself to the
  1188. server, and the server also has a name by which it identifies itself
  1189. to the client. Generally the genuine client shares some secret (or
  1190. password) with the server, and authenticates itself by proving that it
  1191. knows that secret. Very often, the names used for authentication
  1192. correspond to the internet hostnames of the peers, but this is not
  1193. essential.
  1194. .LP
  1195. At present, pppd supports three authentication protocols: the Password
  1196. Authentication Protocol (PAP), Challenge Handshake Authentication
  1197. Protocol (CHAP), and Extensible Authentication Protocol (EAP). PAP
  1198. involves the client sending its name and a cleartext password to the
  1199. server to authenticate itself. In contrast, the server initiates the
  1200. CHAP authentication exchange by sending a challenge to the client (the
  1201. challenge packet includes the server's name). The client must respond
  1202. with a response which includes its name plus a hash value derived from
  1203. the shared secret and the challenge, in order to prove that it knows
  1204. the secret. EAP supports CHAP-style authentication, and also includes
  1205. the SRP\-SHA1 mechanism, which is resistant to dictionary-based attacks
  1206. and does not require a cleartext password on the server side.
  1207. .LP
  1208. The PPP protocol, being symmetrical, allows both peers to require the
  1209. other to authenticate itself. In that case, two separate and
  1210. independent authentication exchanges will occur. The two exchanges
  1211. could use different authentication protocols, and in principle,
  1212. different names could be used in the two exchanges.
  1213. .LP
  1214. The default behaviour of pppd is to agree to authenticate if
  1215. requested, and to not require authentication from the peer. However,
  1216. pppd will not agree to authenticate itself with a particular protocol
  1217. if it has no secrets which could be used to do so.
  1218. .LP
  1219. Pppd stores secrets for use in authentication in secrets
  1220. files (/etc/ppp/pap\-secrets for PAP, /etc/ppp/chap\-secrets for CHAP,
  1221. MS\-CHAP, MS\-CHAPv2, and EAP MD5-Challenge, and /etc/ppp/srp\-secrets
  1222. for EAP SRP\-SHA1).
  1223. All secrets files have the same format. The secrets files can
  1224. contain secrets for pppd to use in authenticating itself to other
  1225. systems, as well as secrets for pppd to use when authenticating other
  1226. systems to itself.
  1227. .LP
  1228. Each line in a secrets file contains one secret. A given secret is
  1229. specific to a particular combination of client and server - it can
  1230. only be used by that client to authenticate itself to that server.
  1231. Thus each line in a secrets file has at least 3 fields: the name of
  1232. the client, the name of the server, and the secret. These fields may
  1233. be followed by a list of the IP addresses that the specified client
  1234. may use when connecting to the specified server.
  1235. .LP
  1236. A secrets file is parsed into words as for a options file, so the
  1237. client name, server name and secrets fields must each be one word,
  1238. with any embedded spaces or other special characters quoted or
  1239. escaped. Note that case is significant in the client and server names
  1240. and in the secret.
  1241. .LP
  1242. If the secret starts with an `@', what follows is assumed to be the
  1243. name of a file from which to read the secret. A "*" as the client or
  1244. server name matches any name. When selecting a secret, pppd takes the
  1245. best match, i.e. the match with the fewest wildcards.
  1246. .LP
  1247. Any following words on the same line are taken to be a list of
  1248. acceptable IP addresses for that client. If there are only 3 words on
  1249. the line, or if the first word is "\-", then all IP addresses are
  1250. disallowed. To allow any address, use "*". A word starting with "!"
  1251. indicates that the specified address is \fInot\fR acceptable. An
  1252. address may be followed by "/" and a number \fIn\fR, to indicate a
  1253. whole subnet, i.e. all addresses which have the same value in the most
  1254. significant \fIn\fR bits. In this form, the address may be followed
  1255. by a plus sign ("+") to indicate that one address from the subnet is
  1256. authorized, based on the ppp network interface unit number in use.
  1257. In this case, the host part of the address will be set to the unit
  1258. number plus one.
  1259. .LP
  1260. Thus a secrets file contains both secrets for use in authenticating
  1261. other hosts, plus secrets which we use for authenticating ourselves to
  1262. others. When pppd is authenticating the peer (checking the peer's
  1263. identity), it chooses a secret with the peer's name in the first
  1264. field and the name of the local system in the second field. The
  1265. name of the local system defaults to the hostname, with the domain
  1266. name appended if the \fIdomain\fR option is used. This default can be
  1267. overridden with the \fIname\fR option, except when the
  1268. \fIusehostname\fR option is used. (For EAP SRP\-SHA1, see the
  1269. srp\-entry(8) utility for generating proper validator entries to be
  1270. used in the "secret" field.)
  1271. .LP
  1272. When pppd is choosing a secret to use in authenticating itself to the
  1273. peer, it first determines what name it is going to use to identify
  1274. itself to the peer. This name can be specified by the user with the
  1275. \fIuser\fR option. If this option is not used, the name defaults to
  1276. the name of the local system, determined as described in the previous
  1277. paragraph. Then pppd looks for a secret with this name in the first
  1278. field and the peer's name in the second field. Pppd will know the
  1279. name of the peer if CHAP or EAP authentication is being used, because
  1280. the peer will have sent it in the challenge packet. However, if PAP
  1281. is being used, pppd will have to determine the peer's name from the
  1282. options specified by the user. The user can specify the peer's name
  1283. directly with the \fIremotename\fR option. Otherwise, if the remote
  1284. IP address was specified by a name (rather than in numeric form), that
  1285. name will be used as the peer's name. Failing that, pppd will use the
  1286. null string as the peer's name.
  1287. .LP
  1288. When authenticating the peer with PAP, the supplied password is first
  1289. compared with the secret from the secrets file. If the password
  1290. doesn't match the secret, the password is encrypted using crypt() and
  1291. checked against the secret again. Thus secrets for authenticating the
  1292. peer can be stored in encrypted form if desired. If the
  1293. \fIpapcrypt\fR option is given, the first (unencrypted) comparison is
  1294. omitted, for better security.
  1295. .LP
  1296. Furthermore, if the \fIlogin\fR option was specified, the username and
  1297. password are also checked against the system password database. Thus,
  1298. the system administrator can set up the pap\-secrets file to allow PPP
  1299. access only to certain users, and to restrict the set of IP addresses
  1300. that each user can use. Typically, when using the \fIlogin\fR option,
  1301. the secret in /etc/ppp/pap\-secrets would be "", which will match any
  1302. password supplied by the peer. This avoids the need to have the same
  1303. secret in two places.
  1304. .LP
  1305. Authentication must be satisfactorily completed before IPCP (or any
  1306. other Network Control Protocol) can be started. If the peer is
  1307. required to authenticate itself, and fails to do so, pppd will
  1308. terminated the link (by closing LCP). If IPCP negotiates an
  1309. unacceptable IP address for the remote host, IPCP will be closed. IP
  1310. packets can only be sent or received when IPCP is open.
  1311. .LP
  1312. In some cases it is desirable to allow some hosts which can't
  1313. authenticate themselves to connect and use one of a restricted set of
  1314. IP addresses, even when the local host generally requires
  1315. authentication. If the peer refuses to authenticate itself when
  1316. requested, pppd takes that as equivalent to authenticating with PAP
  1317. using the empty string for the username and password. Thus, by adding
  1318. a line to the pap\-secrets file which specifies the empty string for
  1319. the client and password, it is possible to allow restricted access to
  1320. hosts which refuse to authenticate themselves.
  1321. .SH ROUTING
  1322. .LP
  1323. When IPCP negotiation is completed successfully, pppd will inform the
  1324. kernel of the local and remote IP addresses for the ppp interface.
  1325. This is sufficient to create a host route to the remote end of the
  1326. link, which will enable the peers to exchange IP packets.
  1327. Communication with other machines generally requires further
  1328. modification to routing tables and/or ARP (Address Resolution
  1329. Protocol) tables. In most cases the \fIdefaultroute\fR and/or
  1330. \fIproxyarp\fR options are sufficient for this, but in some cases
  1331. further intervention is required. The /etc/ppp/ip\-up script can be
  1332. used for this.
  1333. .LP
  1334. Sometimes it is desirable to add a default route through the remote
  1335. host, as in the case of a machine whose only connection to the
  1336. Internet is through the ppp interface. The \fIdefaultroute\fR option
  1337. causes pppd to create such a default route when IPCP comes up, and
  1338. delete it when the link is terminated.
  1339. .LP
  1340. In some cases it is desirable to use proxy ARP, for example on a
  1341. server machine connected to a LAN, in order to allow other hosts to
  1342. communicate with the remote host. The \fIproxyarp\fR option causes
  1343. pppd to look for a network interface on the same subnet as the remote
  1344. host (an interface supporting broadcast and ARP, which is up and not a
  1345. point-to-point or loopback interface). If found, pppd creates a
  1346. permanent, published ARP entry with the IP address of the remote host
  1347. and the hardware address of the network interface found.
  1348. .LP
  1349. When the \fIdemand\fR option is used, the interface IP addresses have
  1350. already been set at the point when IPCP comes up. If pppd has not
  1351. been able to negotiate the same addresses that it used to configure
  1352. the interface (for example when the peer is an ISP that uses dynamic
  1353. IP address assignment), pppd has to change the interface IP addresses
  1354. to the negotiated addresses. This may disrupt existing connections,
  1355. and the use of demand dialling with peers that do dynamic IP address
  1356. assignment is not recommended.
  1357. .SH MULTILINK
  1358. Multilink PPP provides the capability to combine two or more PPP links
  1359. between a pair of machines into a single `bundle', which appears as a
  1360. single virtual PPP link which has the combined bandwidth of the
  1361. individual links. Currently, multilink PPP is only supported under
  1362. Linux.
  1363. .LP
  1364. Pppd detects that the link it is controlling is connected to the same
  1365. peer as another link using the peer's endpoint discriminator and the
  1366. authenticated identity of the peer (if it authenticates itself). The
  1367. endpoint discriminator is a block of data which is hopefully unique
  1368. for each peer. Several types of data can be used, including
  1369. locally-assigned strings of bytes, IP addresses, MAC addresses,
  1370. randomly strings of bytes, or E\-164 phone numbers. The endpoint
  1371. discriminator sent to the peer by pppd can be set using the endpoint
  1372. option.
  1373. .LP
  1374. In some circumstances the peer may send no endpoint discriminator or a
  1375. non-unique value. The bundle option adds an extra string which is
  1376. added to the peer's endpoint discriminator and authenticated identity
  1377. when matching up links to be joined together in a bundle. The bundle
  1378. option can also be used to allow the establishment of multiple bundles
  1379. between the local system and the peer. Pppd uses a TDB database in
  1380. /var/run/pppd2.tdb to match up links.
  1381. .LP
  1382. Assuming that multilink is enabled and the peer is willing to
  1383. negotiate multilink, then when pppd is invoked to bring up the first
  1384. link to the peer, it will detect that no other link is connected to
  1385. the peer and create a new bundle, that is, another ppp network
  1386. interface unit. When another pppd is invoked to bring up another link
  1387. to the peer, it will detect the existing bundle and join its link to
  1388. it.
  1389. .LP
  1390. If the first link terminates (for example, because of a hangup or a
  1391. received LCP terminate-request) the bundle is not destroyed unless
  1392. there are no other links remaining in the bundle. Rather than
  1393. exiting, the first pppd keeps running after its link terminates, until
  1394. all the links in the bundle have terminated. If the first pppd
  1395. receives a SIGTERM or SIGINT signal, it will destroy the bundle and
  1396. send a SIGHUP to the pppd processes for each of the links in the
  1397. bundle. If the first pppd receives a SIGHUP signal, it will terminate
  1398. its link but not the bundle.
  1399. .LP
  1400. Note: demand mode is not currently supported with multilink.
  1401. .SH EXAMPLES
  1402. .LP
  1403. The following examples assume that the /etc/ppp/options file contains
  1404. the \fIauth\fR option (as in the default /etc/ppp/options file in the
  1405. ppp distribution).
  1406. .LP
  1407. Probably the most common use of pppd is to dial out to an ISP. This
  1408. can be done with a command such as
  1409. .IP
  1410. pppd call isp
  1411. .LP
  1412. where the /etc/ppp/peers/isp file is set up by the system
  1413. administrator to contain something like this:
  1414. .IP
  1415. ttyS0 19200 crtscts
  1416. .br
  1417. connect '/usr/sbin/chat \-v \-f /etc/ppp/chat\-isp'
  1418. .br
  1419. noauth
  1420. .LP
  1421. In this example, we are using chat to dial the ISP's modem and go
  1422. through any logon sequence required. The /etc/ppp/chat\-isp file
  1423. contains the script used by chat; it could for example contain
  1424. something like this:
  1425. .IP
  1426. ABORT "NO CARRIER"
  1427. .br
  1428. ABORT "NO DIALTONE"
  1429. .br
  1430. ABORT "ERROR"
  1431. .br
  1432. ABORT "NO ANSWER"
  1433. .br
  1434. ABORT "BUSY"
  1435. .br
  1436. ABORT "Username/Password Incorrect"
  1437. .br
  1438. "" "at"
  1439. .br
  1440. OK "at&d0&c1"
  1441. .br
  1442. OK "atdt2468135"
  1443. .br
  1444. "name:" "^Umyuserid"
  1445. .br
  1446. "word:" "\eqmypassword"
  1447. .br
  1448. "ispts" "\eq^Uppp"
  1449. .br
  1450. "~\-^Uppp\-~"
  1451. .LP
  1452. See the chat(8) man page for details of chat scripts.
  1453. .LP
  1454. Pppd can also be used to provide a dial-in ppp service for users. If
  1455. the users already have login accounts, the simplest way to set up the
  1456. ppp service is to let the users log in to their accounts and run pppd
  1457. (installed setuid-root) with a command such as
  1458. .IP
  1459. pppd proxyarp
  1460. .LP
  1461. To allow a user to use the PPP facilities, you need to allocate an IP
  1462. address for that user's machine and create an entry in
  1463. /etc/ppp/pap\-secrets, /etc/ppp/chap\-secrets, or /etc/ppp/srp\-secrets
  1464. (depending on which authentication method the PPP implementation on
  1465. the user's machine supports), so that the user's machine can
  1466. authenticate itself. For example, if Joe has a machine called
  1467. "joespc" that is to be allowed to dial in to the machine called
  1468. "server" and use the IP address joespc.my.net, you would add an entry
  1469. like this to /etc/ppp/pap\-secrets or /etc/ppp/chap\-secrets:
  1470. .IP
  1471. joespc server "joe's secret" joespc.my.net
  1472. .LP
  1473. (See srp\-entry(8) for a means to generate the server's entry when
  1474. SRP\-SHA1 is in use.)
  1475. Alternatively, you can create a username called (for example) "ppp",
  1476. whose login shell is pppd and whose home directory is /etc/ppp.
  1477. Options to be used when pppd is run this way can be put in
  1478. /etc/ppp/.ppprc.
  1479. .LP
  1480. If your serial connection is any more complicated than a piece of
  1481. wire, you may need to arrange for some control characters to be
  1482. escaped. In particular, it is often useful to escape XON (^Q) and
  1483. XOFF (^S), using \fIasyncmap a0000\fR. If the path includes a telnet,
  1484. you probably should escape ^] as well (\fIasyncmap 200a0000\fR). If
  1485. the path includes an rlogin, you will need to use the \fIescape ff\fR
  1486. option on the end which is running the rlogin client, since many
  1487. rlogin implementations are not transparent; they will remove the
  1488. sequence [0xff, 0xff, 0x73, 0x73, followed by any 8 bytes] from the
  1489. stream.
  1490. .SH DIAGNOSTICS
  1491. .LP
  1492. Messages are sent to the syslog daemon using facility LOG_DAEMON.
  1493. (This can be overridden by recompiling pppd with the macro
  1494. LOG_PPP defined as the desired facility.) See the syslog(8)
  1495. documentation for details of where the syslog daemon will write the
  1496. messages. On most systems, the syslog daemon uses the
  1497. /etc/syslog.conf file to specify the destination(s) for syslog
  1498. messages. You may need to edit that file to suit.
  1499. .LP
  1500. The \fIdebug\fR option causes the contents of all control packets sent
  1501. or received to be logged, that is, all LCP, PAP, CHAP, EAP, or IPCP packets.
  1502. This can be useful if the PPP negotiation does not succeed or if
  1503. authentication fails.
  1504. If debugging is enabled at compile time, the \fIdebug\fR option also
  1505. causes other debugging messages to be logged.
  1506. .LP
  1507. Debugging can also be enabled or disabled by sending a SIGUSR1 signal
  1508. to the pppd process. This signal acts as a toggle.
  1509. .SH EXIT STATUS
  1510. The exit status of pppd is set to indicate whether any error was
  1511. detected, or the reason for the link being terminated. The values
  1512. used are:
  1513. .TP
  1514. .B 0
  1515. Pppd has detached, or otherwise the connection was successfully
  1516. established and terminated at the peer's request.
  1517. .TP
  1518. .B 1
  1519. An immediately fatal error of some kind occurred, such as an essential
  1520. system call failing, or running out of virtual memory.
  1521. .TP
  1522. .B 2
  1523. An error was detected in processing the options given, such as two
  1524. mutually exclusive options being used.
  1525. .TP
  1526. .B 3
  1527. Pppd is not setuid-root and the invoking user is not root.
  1528. .TP
  1529. .B 4
  1530. The kernel does not support PPP, for example, the PPP kernel driver is
  1531. not included or cannot be loaded.
  1532. .TP
  1533. .B 5
  1534. Pppd terminated because it was sent a SIGINT, SIGTERM or SIGHUP
  1535. signal.
  1536. .TP
  1537. .B 6
  1538. The serial port could not be locked.
  1539. .TP
  1540. .B 7
  1541. The serial port could not be opened.
  1542. .TP
  1543. .B 8
  1544. The connect script failed (returned a non-zero exit status).
  1545. .TP
  1546. .B 9
  1547. The command specified as the argument to the \fIpty\fR option could
  1548. not be run.
  1549. .TP
  1550. .B 10
  1551. The PPP negotiation failed, that is, it didn't reach the point where
  1552. at least one network protocol (e.g. IP) was running.
  1553. .TP
  1554. .B 11
  1555. The peer system failed (or refused) to authenticate itself.
  1556. .TP
  1557. .B 12
  1558. The link was established successfully and terminated because it was
  1559. idle.
  1560. .TP
  1561. .B 13
  1562. The link was established successfully and terminated because the
  1563. connect time limit was reached.
  1564. .TP
  1565. .B 14
  1566. Callback was negotiated and an incoming call should arrive shortly.
  1567. .TP
  1568. .B 15
  1569. The link was terminated because the peer is not responding to echo
  1570. requests.
  1571. .TP
  1572. .B 16
  1573. The link was terminated by the modem hanging up.
  1574. .TP
  1575. .B 17
  1576. The PPP negotiation failed because serial loopback was detected.
  1577. .TP
  1578. .B 18
  1579. The init script failed (returned a non-zero exit status).
  1580. .TP
  1581. .B 19
  1582. We failed to authenticate ourselves to the peer.
  1583. .SH SCRIPTS
  1584. Pppd invokes scripts at various stages in its processing which can be
  1585. used to perform site-specific ancillary processing. These scripts are
  1586. usually shell scripts, but could be executable code files instead.
  1587. Pppd does not wait for the scripts to finish (except for the ip-pre-up
  1588. script). The scripts are
  1589. executed as root (with the real and effective user-id set to 0), so
  1590. that they can do things such as update routing tables or run
  1591. privileged daemons. Be careful that the contents of these scripts do
  1592. not compromise your system's security. Pppd runs the scripts with
  1593. standard input, output and error redirected to /dev/null, and with an
  1594. environment that is empty except for some environment variables that
  1595. give information about the link. The environment variables that pppd
  1596. sets are:
  1597. .TP
  1598. .B DEVICE
  1599. The name of the serial tty device being used.
  1600. .TP
  1601. .B IFNAME
  1602. The name of the network interface being used.
  1603. .TP
  1604. .B IPLOCAL
  1605. The IP address for the local end of the link. This is only set when
  1606. IPCP has come up.
  1607. .TP
  1608. .B IPREMOTE
  1609. The IP address for the remote end of the link. This is only set when
  1610. IPCP has come up.
  1611. .TP
  1612. .B PEERNAME
  1613. The authenticated name of the peer. This is only set if the peer
  1614. authenticates itself.
  1615. .TP
  1616. .B SPEED
  1617. The baud rate of the tty device.
  1618. .TP
  1619. .B ORIG_UID
  1620. The real user-id of the user who invoked pppd.
  1621. .TP
  1622. .B PPPLOGNAME
  1623. The username of the real user-id that invoked pppd. This is always set.
  1624. .P
  1625. For the ip-down and auth-down scripts, pppd also sets the following
  1626. variables giving statistics for the connection:
  1627. .TP
  1628. .B CONNECT_TIME
  1629. The number of seconds from when the PPP negotiation started until the
  1630. connection was terminated.
  1631. .TP
  1632. .B BYTES_SENT
  1633. The number of bytes sent (at the level of the serial port) during the
  1634. connection.
  1635. .TP
  1636. .B BYTES_RCVD
  1637. The number of bytes received (at the level of the serial port) during
  1638. the connection.
  1639. .TP
  1640. .B LINKNAME
  1641. The logical name of the link, set with the \fIlinkname\fR option.
  1642. .TP
  1643. .B DNS1
  1644. If the peer supplies DNS server addresses, this variable is set to the
  1645. first DNS server address supplied (whether or not the usepeerdns
  1646. option was given).
  1647. .TP
  1648. .B DNS2
  1649. If the peer supplies DNS server addresses, this variable is set to the
  1650. second DNS server address supplied (whether or not the usepeerdns
  1651. option was given).
  1652. .P
  1653. Pppd invokes the following scripts, if they exist. It is not an error
  1654. if they don't exist.
  1655. .TP
  1656. .B /etc/ppp/auth\-up
  1657. A program or script which is executed after the remote system
  1658. successfully authenticates itself. It is executed with the parameters
  1659. .IP
  1660. \fIinterface\-name peer\-name user\-name tty\-device speed\fR
  1661. .IP
  1662. Note that this script is not executed if the peer doesn't authenticate
  1663. itself, for example when the \fInoauth\fR option is used.
  1664. .TP
  1665. .B /etc/ppp/auth\-down
  1666. A program or script which is executed when the link goes down, if
  1667. /etc/ppp/auth\-up was previously executed. It is executed in the same
  1668. manner with the same parameters as /etc/ppp/auth\-up.
  1669. .TP
  1670. .B /etc/ppp/ip\-pre\-up
  1671. A program or script which is executed just before the ppp network
  1672. interface is brought up. It is executed with the same parameters as
  1673. the ip\-up script (below). At this point the interface exists and has
  1674. IP addresses assigned but is still down. This can be used to
  1675. add firewall rules before any IP traffic can pass through the
  1676. interface. Pppd will wait for this script to finish before bringing
  1677. the interface up, so this script should run quickly.
  1678. .TP
  1679. .B /etc/ppp/ip\-up
  1680. A program or script which is executed when the link is available for
  1681. sending and receiving IP packets (that is, IPCP has come up). It is
  1682. executed with the parameters
  1683. .IP
  1684. \fIinterface\-name tty\-device speed local\-IP\-address
  1685. remote\-IP\-address ipparam\fR
  1686. .TP
  1687. .B /etc/ppp/ip\-down
  1688. A program or script which is executed when the link is no longer
  1689. available for sending and receiving IP packets. This script can be
  1690. used for undoing the effects of the /etc/ppp/ip\-up and
  1691. /etc/ppp/ip\-pre\-up scripts. It is
  1692. invoked in the same manner and with the same parameters as the ip\-up
  1693. script.
  1694. .TP
  1695. .B /etc/ppp/ipv6\-up
  1696. Like /etc/ppp/ip\-up, except that it is executed when the link is available
  1697. for sending and receiving IPv6 packets. It is executed with the parameters
  1698. .IP
  1699. \fIinterface\-name tty\-device speed local\-link\-local\-address
  1700. remote\-link\-local\-address ipparam\fR
  1701. .TP
  1702. .B /etc/ppp/ipv6\-down
  1703. Similar to /etc/ppp/ip\-down, but it is executed when IPv6 packets can no
  1704. longer be transmitted on the link. It is executed with the same parameters
  1705. as the ipv6\-up script.
  1706. .TP
  1707. .B /etc/ppp/ipx\-up
  1708. A program or script which is executed when the link is available for
  1709. sending and receiving IPX packets (that is, IPXCP has come up). It is
  1710. executed with the parameters
  1711. .IP
  1712. \fIinterface\-name tty\-device speed network\-number local\-IPX\-node\-address
  1713. remote\-IPX\-node\-address local\-IPX\-routing\-protocol remote\-IPX\-routing\-protocol
  1714. local\-IPX\-router\-name remote\-IPX\-router\-name ipparam pppd\-pid\fR
  1715. .IP
  1716. The local\-IPX\-routing\-protocol and remote\-IPX\-routing\-protocol field
  1717. may be one of the following:
  1718. .IP
  1719. NONE to indicate that there is no routing protocol
  1720. .br
  1721. RIP to indicate that RIP/SAP should be used
  1722. .br
  1723. NLSP to indicate that Novell NLSP should be used
  1724. .br
  1725. RIP NLSP to indicate that both RIP/SAP and NLSP should be used
  1726. .TP
  1727. .B /etc/ppp/ipx\-down
  1728. A program or script which is executed when the link is no longer
  1729. available for sending and receiving IPX packets. This script can be
  1730. used for undoing the effects of the /etc/ppp/ipx\-up script. It is
  1731. invoked in the same manner and with the same parameters as the ipx\-up
  1732. script.
  1733. .SH FILES
  1734. .TP
  1735. .B /var/run/ppp\fIn\fB.pid \fR(BSD or Linux), \fB/etc/ppp/ppp\fIn\fB.pid \fR(others)
  1736. Process-ID for pppd process on ppp interface unit \fIn\fR.
  1737. .TP
  1738. .B /var/run/ppp\-\fIname\fB.pid \fR(BSD or Linux),
  1739. \fB/etc/ppp/ppp\-\fIname\fB.pid \fR(others)
  1740. Process-ID for pppd process for logical link \fIname\fR (see the
  1741. \fIlinkname\fR option).
  1742. .TP
  1743. .B /var/run/pppd2.tdb
  1744. Database containing information about pppd processes, interfaces and
  1745. links, used for matching links to bundles in multilink operation. May
  1746. be examined by external programs to obtain information about running
  1747. pppd instances, the interfaces and devices they are using, IP address
  1748. assignments, etc.
  1749. .B /etc/ppp/pap\-secrets
  1750. Usernames, passwords and IP addresses for PAP authentication. This
  1751. file should be owned by root and not readable or writable by any other
  1752. user. Pppd will log a warning if this is not the case.
  1753. .TP
  1754. .B /etc/ppp/chap\-secrets
  1755. Names, secrets and IP addresses for CHAP/MS\-CHAP/MS\-CHAPv2 authentication.
  1756. As for /etc/ppp/pap\-secrets, this file should be owned by root and not
  1757. readable or writable by any other user. Pppd will log a warning if
  1758. this is not the case.
  1759. .TP
  1760. .B /etc/ppp/srp\-secrets
  1761. Names, secrets, and IP addresses for EAP authentication. As for
  1762. /etc/ppp/pap\-secrets, this file should be owned by root and not
  1763. readable or writable by any other user. Pppd will log a warning if
  1764. this is not the case.
  1765. .TP
  1766. .B ~/.ppp_pseudonym
  1767. Saved client-side SRP\-SHA1 pseudonym. See the \fIsrp\-use\-pseudonym\fR
  1768. option for details.
  1769. .TP
  1770. .B /etc/ppp/options
  1771. System default options for pppd, read before user default options or
  1772. command-line options.
  1773. .TP
  1774. .B ~/.ppprc
  1775. User default options, read before /etc/ppp/options.\fIttyname\fR.
  1776. .TP
  1777. .B /etc/ppp/options.\fIttyname
  1778. System default options for the serial port being used, read after
  1779. ~/.ppprc. In forming the \fIttyname\fR part of this
  1780. filename, an initial /dev/ is stripped from the port name (if
  1781. present), and any slashes in the remaining part are converted to
  1782. dots.
  1783. .TP
  1784. .B /etc/ppp/peers
  1785. A directory containing options files which may contain privileged
  1786. options, even if pppd was invoked by a user other than root. The
  1787. system administrator can create options files in this directory to
  1788. permit non-privileged users to dial out without requiring the peer to
  1789. authenticate, but only to certain trusted peers.
  1790. .SH SEE ALSO
  1791. .BR chat (8),
  1792. .BR pppstats (8)
  1793. .TP
  1794. .B RFC1144
  1795. Jacobson, V.
  1796. \fICompressing TCP/IP headers for low-speed serial links.\fR
  1797. February 1990.
  1798. .TP
  1799. .B RFC1321
  1800. Rivest, R.
  1801. .I The MD5 Message-Digest Algorithm.
  1802. April 1992.
  1803. .TP
  1804. .B RFC1332
  1805. McGregor, G.
  1806. .I PPP Internet Protocol Control Protocol (IPCP).
  1807. May 1992.
  1808. .TP
  1809. .B RFC1334
  1810. Lloyd, B.; Simpson, W.A.
  1811. .I PPP authentication protocols.
  1812. October 1992.
  1813. .TP
  1814. .B RFC1661
  1815. Simpson, W.A.
  1816. .I The Point-to-Point Protocol (PPP).
  1817. July 1994.
  1818. .TP
  1819. .B RFC1662
  1820. Simpson, W.A.
  1821. .I PPP in HDLC-like Framing.
  1822. July 1994.
  1823. .TP
  1824. .B RFC2284
  1825. Blunk, L.; Vollbrecht, J.,
  1826. .I PPP Extensible Authentication Protocol (EAP).
  1827. March 1998.
  1828. .TP
  1829. .B RFC2472
  1830. Haskin, D.
  1831. .I IP Version 6 over PPP
  1832. December 1998.
  1833. .TP
  1834. .B RFC2945
  1835. Wu, T.,
  1836. .I The SRP Authentication and Key Exchange System
  1837. September 2000.
  1838. .TP
  1839. .B draft\-ietf\-pppext\-eap\-srp\-03.txt
  1840. Carlson, J.; et al.,
  1841. .I EAP SRP\-SHA1 Authentication Protocol.
  1842. July 2001.
  1843. .SH NOTES
  1844. Some limited degree of control can be exercised over a running pppd
  1845. process by sending it a signal from the list below.
  1846. .TP
  1847. .B SIGINT, SIGTERM
  1848. These signals cause pppd to terminate the link (by closing LCP),
  1849. restore the serial device settings, and exit. If a connector or
  1850. disconnector process is currently running, pppd will send the same
  1851. signal to its process group, so as to terminate the connector or
  1852. disconnector process.
  1853. .TP
  1854. .B SIGHUP
  1855. This signal causes pppd to terminate the link, restore the serial
  1856. device settings, and close the serial device. If the \fIpersist\fR or
  1857. \fIdemand\fR option has been specified, pppd will try to reopen the
  1858. serial device and start another connection (after the holdoff period).
  1859. Otherwise pppd will exit. If this signal is received during the
  1860. holdoff period, it causes pppd to end the holdoff period immediately.
  1861. If a connector or disconnector process is running, pppd will send the
  1862. same signal to its process group.
  1863. .TP
  1864. .B SIGUSR1
  1865. This signal toggles the state of the \fIdebug\fR option.
  1866. .TP
  1867. .B SIGUSR2
  1868. This signal causes pppd to renegotiate compression. This can be
  1869. useful to re-enable compression after it has been disabled as a result
  1870. of a fatal decompression error. (Fatal decompression errors generally
  1871. indicate a bug in one or other implementation.)
  1872. .SH AUTHORS
  1873. Paul Mackerras (paulus@samba.org), based on earlier work by
  1874. Drew Perkins,
  1875. Brad Clements,
  1876. Karl Fox,
  1877. Greg Christy,
  1878. and
  1879. Brad Parker.
  1880. .SH COPYRIGHT
  1881. Pppd is copyrighted and made available under conditions which provide
  1882. that it may be copied and used in source or binary forms provided that
  1883. the conditions listed below are met. Portions of pppd are covered by
  1884. the following copyright notices:
  1885. .LP
  1886. Copyright (c) 1984-2000 Carnegie Mellon University. All rights
  1887. reserved.
  1888. .br
  1889. Copyright (c) 1993-2004 Paul Mackerras. All rights reserved.
  1890. .br
  1891. Copyright (c) 1995 Pedro Roque Marques. All rights reserved.
  1892. .br
  1893. Copyright (c) 1995 Eric Rosenquist. All rights reserved.
  1894. .br
  1895. Copyright (c) 1999 Tommi Komulainen. All rights reserved.
  1896. .br
  1897. Copyright (C) Andrew Tridgell 1999
  1898. .br
  1899. Copyright (c) 2000 by Sun Microsystems, Inc. All rights reserved.
  1900. .br
  1901. Copyright (c) 2001 by Sun Microsystems, Inc. All rights reserved.
  1902. .br
  1903. Copyright (c) 2002 Google, Inc. All rights reserved.
  1904. .LP
  1905. The copyright notices contain the following statements.
  1906. .LP
  1907. Redistribution and use in source and binary forms, with or without
  1908. modification, are permitted provided that the following conditions
  1909. are met:
  1910. .LP
  1911. 1. Redistributions of source code must retain the above copyright
  1912. notice, this list of conditions and the following disclaimer.
  1913. .LP
  1914. 2. Redistributions in binary form must reproduce the above copyright
  1915. notice, this list of conditions and the following disclaimer in
  1916. the documentation and/or other materials provided with the
  1917. distribution.
  1918. .LP
  1919. 3. The name "Carnegie Mellon University" must not be used to
  1920. endorse or promote products derived from this software without
  1921. prior written permission. For permission or any legal
  1922. details, please contact
  1923. .br
  1924. Office of Technology Transfer
  1925. .br
  1926. Carnegie Mellon University
  1927. .br
  1928. 5000 Forbes Avenue
  1929. .br
  1930. Pittsburgh, PA 15213-3890
  1931. .br
  1932. (412) 268-4387, fax: (412) 268-7395
  1933. .br
  1934. tech-transfer@andrew.cmu.edu
  1935. .LP
  1936. 3b. The name(s) of the authors of this software must not be used to
  1937. endorse or promote products derived from this software without
  1938. prior written permission.
  1939. .LP
  1940. 4. Redistributions of any form whatsoever must retain the following
  1941. acknowledgements:
  1942. .br
  1943. "This product includes software developed by Computing Services
  1944. at Carnegie Mellon University (http://www.cmu.edu/computing/)."
  1945. .br
  1946. "This product includes software developed by Paul Mackerras
  1947. <paulus@samba.org>".
  1948. .br
  1949. "This product includes software developed by Pedro Roque Marques
  1950. <pedro_m@yahoo.com>".
  1951. .br
  1952. "This product includes software developed by Tommi Komulainen
  1953. <Tommi.Komulainen@iki.fi>".
  1954. .LP
  1955. CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO
  1956. THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1957. AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE
  1958. FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  1959. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
  1960. AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  1961. OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  1962. .LP
  1963. THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO
  1964. THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  1965. AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
  1966. SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  1967. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
  1968. AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  1969. OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.