Changes-2.3 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  1. What was new in ppp-2.3.11.
  2. ***************************
  3. * Support for Solaris 8 has been added, including support for
  4. replumbing and IPV6.
  5. * The Solaris `snoop' utility should now work on ppp interfaces.
  6. * New hooks have been added - pap_logout_hook, ip_up_hook, and
  7. ip_down_hook.
  8. * A new `passprompt' plugin is included, thanks to Alan Curry, which
  9. makes it possible for pppd to call an external program to get the
  10. PAP password to send to the peer.
  11. * The error messages for the situation where authentication is
  12. required because the system has a default route have been improved.
  13. * There is a new connect_delay option which specifies how long pppd
  14. should pause after the connect script finishes. Previously this
  15. delay was fixed at 1 second. (This delay terminates as soon as pppd
  16. sees a valid PPP frame from the peer.)
  17. * The `hide-password' option is now the default, and there is a new
  18. `show-password' option to enable the printing of password strings in
  19. the debug output.
  20. * A fairly complete list of the names of PPP protocols has been added
  21. so that when pppd rejects a frame because its protocol is not
  22. supported, it can print the name of the unsupported protocol.
  23. * Synchronous serial lines are supported under Linux 2.3.x.
  24. * The bug where pppd would not recognize a modem hangup under Linux
  25. 2.3.x kernels has been fixed.
  26. What was new in ppp-2.3.10.
  27. ***************************
  28. * Pppd now supports `plugins', which are pieces of code (packaged as
  29. shared libraries) which can be loaded into pppd at runtime and which
  30. can affect its behaviour. The intention is that plugins provide a
  31. way for people to customize the behaviour of pppd for their own
  32. needs without needing to change the base pppd source. I have added
  33. some hooks into pppd (places where pppd will call a function
  34. pointer, if non-zero, to replace some of pppd's code) and I will be
  35. receptive to suggestions about places to add more hooks. Plugins
  36. are supported under Linux and Solaris at present.
  37. * We have a new maintainer for the Solaris port, Adi Masputra of Sun
  38. Microsystems, and he has updated the Solaris port so that it should
  39. work on 64-bit machines under Solaris 7 and later.
  40. * Pppd now has an `allow-ip' option, which takes an argument which is
  41. an IP address (or subnet) which peers are permitted to use without
  42. authenticating themselves. The argument takes the same form as each
  43. element of the allowed IP address list in the secrets files. The
  44. allow-ip option is privileged and may be specified multiple times.
  45. Using the allow-ip option should be cleaner than putting a line like
  46. `"" * "" address' in /etc/ppp/pap-secrets.
  47. * Chat can now substitute environment variables into the script. This
  48. is enabled by the -E flag. (Thanks to Andreas Arens for the patch.)
  49. * If the PAP username and password from the peer contains unprintable
  50. characters, they will be translated to a printable form before
  51. looking in the pap-secrets file. Characters >= 0x80 are translated
  52. to a M- form, and characters from 0 to 0x1f (and 0x7f as well) are
  53. translated to a ^X form. If this change causes you grief, let me
  54. know what would be a better translation. It appears that some peers
  55. send nulls or other control characters in their usernames and
  56. passwords.
  57. * Pppd has new `ktune' and `noktune' options, which enable/disable
  58. it to change kernel settings as appropriate. This is only
  59. implemented under Linux, and requires the /proc filesystem to be
  60. mounted. Under Linux, with the ktune option, pppd will enable IP
  61. forwarding in the kernel if the proxyarp option is used, and will
  62. enable the dynamic IP address kernel option in demand mode if the
  63. local IP address changes.
  64. * Pppd no longer requires a remote address to be specified for demand
  65. dialling. If none is specified, it will use a default value of
  66. 10.112.112.112+unit_number. (It will not propose this default to
  67. the peer.)
  68. * The default holdoff is now 0 if no connect script is given.
  69. * The IPV6 code from Tommi Komulainen, which I unfortunately only
  70. partially merged in to ppp-2.3.9, has been fixed and updated.
  71. * The linux compilation glitches should be fixed now.
  72. What was new in ppp-2.3.9.
  73. **************************
  74. * Support for the new generic PPP layer under development for the
  75. Linux kernel.
  76. * You can now place extra options to apply to specific users at the
  77. end of the line with their password in the pap-secrets or
  78. chap-secrets file, separated from the IP address(es) with a "--"
  79. separator. These options are parsed after the peer is authenticated
  80. but before network protocol (IPCP, IPXCP) or CCP negotiation
  81. commences.
  82. * Pppd will apply the holdoff period if the link was terminated by the
  83. peer. It doesn't apply it if the link was terminated because the
  84. local pppd thought it was idle.
  85. * Synchronous support for Solaris has been added, thanks to John
  86. Morrison, and for FreeBSD, thanks to Paul Fulghum.
  87. * IPV6 support has been merged in, from Tommi Komulainen. At the
  88. moment it only supports Linux and it is not tested by me.
  89. * The `nodefaultip' option can be used in demand mode to say that pppd
  90. should not suggest its local IP address to the peer.
  91. * The `init' option has been added; this causes pppd to run a script
  92. to initialize the serial device (e.g. by sending an init string to
  93. the modem). Unlike the connect option, this can be used in a
  94. dial-in situation. (Thanks to Tobias Ringstrom.)
  95. * There is a new `logfile' option to send log messages to a file as
  96. well as syslog.
  97. * There is a new, privileged `linkname' option which sets a logical
  98. name for the link. Pppd will create a /var/run/ppp-<linkname>.pid
  99. file containing its process ID.
  100. * There is a new `maxfail' option which specifies how many consecutive
  101. failed connection attempts are permitted before pppd will exit. The
  102. default value is 10, and 0 means infinity. :-)
  103. * Sundry bugs fixed.
  104. What was new in ppp-2.3.8.
  105. **************************
  106. * The exit status of pppd will now indicate whether the link was
  107. successfully established, or if not, what error was encountered.
  108. * Pppd has two new options: fdlog <n> will send log messages to file
  109. descriptor <n> instead of standard output, and nofdlog will stop log
  110. messages from being sent to any file descriptor (they will still be
  111. sent to syslog). Pppd now will not send log messages to a file
  112. descriptor if the serial port is open on that file descriptor.
  113. * Pppd sets an environment variable called PPPLOGNAME for scripts that
  114. it runs, indicating the login name of the user who invoked pppd.
  115. * Pppd sets environment variables CONNECT_TIME, BYTES_SENT and
  116. BYTES_RCVD for the ip-down and auth-down scripts indicating the
  117. statistics for the connection just terminated. (CONNECT_TIME is in
  118. seconds.)
  119. * If the user has the serial device open on standard input and
  120. specifies a symbolic link to the serial device on the command line,
  121. pppd will detect this and behave correctly (i.e. not detach from its
  122. controlling terminal). Furthermore, if the serial port is open for
  123. reading and writing on standard input, pppd will assume that it is
  124. locked by its invoker and not lock it itself.
  125. * Chat now has a feature where if a string to be sent begins with an
  126. at sign (@), the rest of the string is taken as the name of a file
  127. (regular file or named pipe), and the actual string to send is taken
  128. from that file.
  129. * Support for FreeBSD-2.2.8 and 3.0 has been added, thanks to Paul
  130. Fulghum.
  131. * The Tru64 (aka Digital Unix aka OSF/1) port has been updated.
  132. * The system panics on Solaris SMP systems related to PPP connections
  133. being established and terminated should no longer occur.
  134. * Fixed quite a few bugs.
  135. What was new in ppp-2.3.7.
  136. **************************
  137. * Pppd can now automatically allocate itself a pseudo-tty to use as
  138. the serial device. This has made three new options possible:
  139. - `pty script' will run `script' with its standard input and output
  140. connected to the master side of the pty. For example:
  141. pppd pty 'ssh -t server.my.net pppd'
  142. is a basic command for setting up a PPP link (tunnel) over ssh.
  143. (In practice you may need to specify other options such as IP
  144. addresses, etc.)
  145. - `notty' tells pppd to communicate over its standard input and
  146. output, which do not have to be a terminal device.
  147. - `record filename' tells pppd to record all of the characters sent
  148. and received over the serial device to a file called `filename'.
  149. The data is recorded in a tagged format with timestamps, which can
  150. be printed in a readable form with the pppdump program, which is
  151. included in this distribution.
  152. * Pppd now logs the connect time and number of bytes sent and received
  153. (at the level of the serial device) when the connection is
  154. terminated.
  155. * If you use the updetach or nodetach option, pppd will print its
  156. messages to standard output as well as logging them with syslog
  157. (provided of course pppd isn't using its standard input or output as
  158. its serial device).
  159. * There is a new `privgroup groupname' option (a privileged option).
  160. If the user running pppd is in group `groupname', s/he can use
  161. privileged options without restriction.
  162. * There is a new `receive-all' option, which causes pppd to accept all
  163. control characters, even the ones that the peer should be escaping
  164. (i.e. the receive asyncmap is 0). This is useful with some buggy
  165. peers.
  166. * The default asyncmap is now 0.
  167. * There is a new `sync' option, currently only implemented under
  168. Linux, which allows pppd to run on synchronous HDLC devices.
  169. * If a value for the device name or for the connect, disconnect,
  170. welcome or pty option is given in a privileged option file
  171. (i.e. /etc/ppp/options or a file loaded with the `call' option), it
  172. cannot be overridden by a non-privileged user.
  173. * Many bugs have been fixed, notably:
  174. - signals are not blocked unnecessarily, as they were in 2.3.6.
  175. - the usepeerdns option should work now.
  176. - the SPEED environment variable for scripts is set correctly.
  177. - the /etc/ppp/auth-down script is not run until auth-up completes.
  178. - the device is opened as root if it is the device on standard
  179. input.
  180. - pppd doesn't die with the ioctl(PPPIOCSASYNCMAP) error under linux
  181. if a hangup occurs at the wrong time.
  182. * Some error messages have been changed to be clearer (I hope :-)
  183. What was new in ppp-2.3.6.
  184. **************************
  185. * Pppd now opens the tty device as the user (rather than as root) if
  186. the device name was given by the user, i.e. on the command line or
  187. in the ~/.ppprc file. If the device name was given in
  188. /etc/ppp/options or in a file loaded with the `call' option, the
  189. device is opened as root.
  190. * The default behaviour of pppd is now to let a peer which has not
  191. authenticated itself (e.g. your ISP) use any IP address to which the
  192. system does not already have a route. (This is currently only
  193. supported under Linux, Solaris and Digital Unix; on the other
  194. systems, the peer must now authenticate itself unless the noauth
  195. option is used.)
  196. * Added new option `usepeerdns', thanks to Nick Walker
  197. <nickwalker@email.com>. If the peer supplies DNS addresses, these
  198. will be written to /etc/ppp/resolv.conf. The ip-up script can then
  199. be used to add these addresses to /etc/resolv.conf if desired (see
  200. the ip-up.local.add and ip-down.local.add files in the scripts
  201. directory).
  202. * The Solaris ppp driver should now work correctly on SMP systems.
  203. * Minor corrections so that the code can compile under Solaris 7,
  204. and under Linux with glibc-2.1.
  205. * The Linux kernel driver has been restructured for improved
  206. performance.
  207. * Pppd now won't start the ip-down script until the ip-up script has
  208. finished.
  209. What was new in ppp-2.3.5.
  210. **************************
  211. * Minor corrections to the Digital UNIX and NetBSD ports.
  212. * A workaround to avoid tickling a bug in the `se' serial port driver
  213. on Sun PCI Ultra machines running Solaris.
  214. * Fixed a bug in the negotiation of the Microsoft WINS server address
  215. option.
  216. * Fixed a bug in the Linux port where it would fail for kernel
  217. versions above 2.1.99.
  218. What was new in ppp-2.3.4.
  219. **************************
  220. * The NeXT port has been updated, thanks to Steve Perkins.
  221. * ppp-2.3.4 compiles and works under Solaris 2.6, using either gcc or
  222. cc.
  223. * With the Solaris, SVR4 and SunOS ports, you can control the choice
  224. of C compiler, C compiler options, and installation directories by
  225. editing the svr4/Makedefs or sunos4/Makedefs file.
  226. * Until now, we have been using the number 24 to identify Deflate
  227. compression in the CCP negotiations, which was the number in the draft
  228. RFC describing Deflate. The number actually assigned to Deflate is
  229. 26. The code has been changed to use 26, but to allow the use of 24
  230. for now for backwards compatibility. (This can be disabled with the
  231. `nodeflatedraft' option to pppd.)
  232. * Fixed some bugs in the linux driver and deflate compressor which
  233. were causing compression problems, including corrupting long
  234. incompressible packets sometimes.
  235. * Fixes to the PAM and shadow password support in pppd, from Al
  236. Longyear and others.
  237. * Pppd now sets some environment variables for scripts it invokes
  238. (ip-up/down, auth-ip/down), giving information about the connection.
  239. The variables it sets are PEERNAME, IPLOCAL, IPREMOTE, UID, DEVICE,
  240. SPEED, and IFNAME.
  241. * Pppd now has an `updetach' option, which will cause it to detach
  242. from its controlling terminal once the link has come up (i.e. once it
  243. is available for IP traffic).
  244. What was new in ppp-2.3.3.
  245. **************************
  246. * Fixed compilation problems under SunOS.
  247. * Fixed a bug introduced into chat in 2.3.2, and compilation problems
  248. introduced into the MS-CHAP implementation in 2.3.2.
  249. * The linux kernel driver has been updated for recent 2.1-series
  250. kernel changes, and it now will ask kerneld to load compression
  251. modules when required, if the kernel is configured to support kerneld.
  252. * Pppd should now compile correctly under linux on systems with glibc.
  253. What was new in ppp-2.3.2.
  254. **************************
  255. * In 2.3.1, I made a change which was intended to make pppd able to
  256. detect loss of CD during or immediately after the connection script
  257. runs. Unfortunately, this had the side-effect that the connection
  258. script wouldn't work at all on some systems. This change has been
  259. reversed.
  260. * Fix compilation problems in the Linux kernel driver.
  261. What was new in ppp-2.3.1.
  262. **************************
  263. * Enhancements to chat, thanks to Francis Demierre. Chat can now
  264. accept comments in the chat script file, and has new SAY, HANGUP,
  265. CLR_ABORT and CLR_REPORT keywords.
  266. * Fixed a bug which causes 2.3.0 to crash Solaris systems.
  267. * Bug-fixes and restructuring of the Linux kernel driver.
  268. * The holdoff behaviour of pppd has been changed slightly: now, if
  269. the link comes up for IP (or other network protocol) traffic, we
  270. consider that the link has been successfully established, and don't
  271. enforce the holdoff period after the link goes down.
  272. * Pppd should now correctly wait for CD (carrier detect) from the
  273. modem, even when the serial port initially had CLOCAL set, and it
  274. should also detect loss of CD during or immediately after the
  275. connection script runs.
  276. * Under linux, pppd will work with older 2.2.0* version kernel
  277. drivers, although demand-dialling is not supported with them.
  278. * Minor bugfixes for pppd.
  279. What was new in ppp-2.3.
  280. ************************
  281. * Demand-dialling. Pppd now has a mode where it will establish the
  282. network interface immediately when it starts, but not actually bring
  283. the link up until it sees some data to be sent. Look for the demand
  284. option description in the pppd man page. Demand-dialling is not
  285. supported under Ultrix or NeXTStep.
  286. * Idle timeout. Pppd will optionally terminate the link if no data
  287. packets are sent or received within a certain time interval.
  288. * Pppd now runs the /etc/ppp/auth-up script, if it exists, when the
  289. peer successfully authenticates itself, and /etc/ppp/auth-down when
  290. the connection is subsequently terminated. This can be useful for
  291. accounting purposes.
  292. * A new packet compression scheme, Deflate, has been implemented.
  293. This uses the same compression method as `gzip'. This method is free
  294. of patent or copyright restrictions, and it achieves better
  295. compression than BSD-Compress. It does consume more CPU cycles for
  296. compression than BSD-Compress, but this shouldn't be a problem for
  297. links running at 100kbit/s or less.
  298. * There is no code in this distribution which is covered by Brad
  299. Clements' restrictive copyright notice. The STREAMS modules for SunOS
  300. and OSF/1 have been rewritten, based on the Solaris 2 modules, which
  301. were written from scratch without any Clements code.
  302. * Pppstats has been reworked to clean up the output format somewhat.
  303. It also has a new -d option which displays data rate in kbyte/s for
  304. those columns which would normally display bytes.
  305. * Pppd options beginning with - or + have been renamed, e.g. -ip
  306. became noip, +chap became require-chap, etc. The old options are
  307. still accepted for compatibility but may be removed in future.
  308. * Pppd now has some options (such as the new `noauth' option) which
  309. can only be specified if it is being run by root, or in an
  310. "privileged" options file: /etc/ppp/options or an options file in the
  311. /etc/ppp/peers directory. There is a new "call" option to read
  312. options from a file in /etc/ppp/peers, making it possible for non-root
  313. users to make unauthenticated connections, but only to certain trusted
  314. peers. My intention is to make the `auth' option the default in a
  315. future release.
  316. * Several minor new features have been added to pppd, including the
  317. maxconnect and welcome options. Pppd will now terminate the
  318. connection when there are no network control protocols running. The
  319. allowed IP address(es) field in the secrets files can now specify
  320. subnets (with a notation like 123.45.67.89/24) and addresses which are
  321. not acceptable (put a ! on the front).
  322. * Numerous bugs have been fixed (no doubt some have been introduced :-)
  323. Thanks to those who reported bugs in ppp-2.2.