]> git.ozlabs.org Git - ppp.git/blob - README
tty_recv_config doesn't return a value any more.
[ppp.git] / README
1 This is the README file for ppp-2.4, a package which implements the
2 Point-to-Point Protocol (PPP) to provide Internet connections over
3 serial lines.
4
5
6 Introduction.
7 *************
8
9 The Point-to-Point Protocol (PPP) provides a standard way to establish
10 a network connection over a serial link.  At present, this package
11 supports IP and the protocols layered above IP, such as TCP and UDP.
12 The Linux and Solaris ports of this package have optional support for
13 IPV6; the Linux port of this package also has support for IPX.
14
15 This software consists of two parts:
16
17 - Kernel code, which establishes a network interface and passes
18 packets between the serial port, the kernel networking code and the
19 PPP daemon (pppd).  This code is implemented using STREAMS modules on
20 SunOS 4.x and Solaris, and as a line discipline under Linux and FreeBSD.
21
22 - The PPP daemon (pppd), which negotiates with the peer to establish
23 the link and sets up the ppp network interface.  Pppd includes support
24 for authentication, so you can control which other systems may make a
25 PPP connection and what IP addresses they may use.
26
27 The primary platforms supported by this package are Linux and Solaris.
28 Code for SunOS 4.x is included here but is largely untested.  I have
29 code for NeXTStep, FreeBSD, SVR4, Tru64 (Digital Unix), AIX and Ultrix
30 but no active maintainers for these platforms.  Code for all of these
31 except AIX is included in the ppp-2.3.11 release.
32
33
34 Installation.
35 *************
36
37 The file SETUP contains general information about setting up your
38 system for using PPP.  There is also a README file for each supported
39 system, which contains more specific details for installing PPP on
40 that system.  The supported systems, and the corresponding README
41 files, are:
42
43         Linux                           README.linux
44         Solaris                         README.sol2
45         SunOS 4.x                       README.sunos4
46
47 In each case you start by running the ./configure script.  This works
48 out which operating system you are using and creates symbolic links to
49 the appropriate makefiles.  You then run `make' to compile the
50 user-level code, and (as root) `make install' to install the
51 user-level programs pppd, chat and pppstats.
52
53 N.B. Since 2.3.0, leaving the permitted IP addresses column of the
54 pap-secrets or chap-secrets file empty means that no addresses are
55 permitted.  You need to put a "*" in that column to allow the peer to
56 use any IP address.  (This only applies where the peer is
57 authenticating itself to you, of course.)
58
59
60 What's new in ppp-2.4.2.
61 ************************
62
63 * Support for MS-CHAP v2 authentication, plus support for
64   authenticating the peer with MS-CHAP v1 or v2.
65
66 * MPPE
67
68 * CBCP updates
69
70 * EAP
71
72 * PPPOE
73
74 * Password-via-pipe plugin
75
76 * Solaris updates
77
78 * ECP
79
80 * Radius plugin code included
81
82 * Extra hooks for plugins
83
84 * maxoctets option
85
86 * ipcp-no-addresses and ipcp-no-address options
87
88 * remotenumber and allow-number options
89
90 * lock filename changes?
91
92
93 What was new in ppp-2.4.1.
94 **************************
95
96 * Pppd can now print out the set of options that are in effect.  The
97   new `dump' option causes pppd to print out the option values after
98   option parsing is complete.  The `dryrun' option causes pppd to
99   print the options and then exit.
100
101 * The option parsing code has been fixed so that options in the
102   per-tty options file are parsed correctly, and don't override values
103   from the command line in most cases.
104
105 * The plugin option now looks in /usr/lib/pppd/<pppd-version> (for
106   example, /usr/lib/pppd/2.4.1b1) for shared objects for plugins if
107   there is no slash in the plugin name.
108
109 * When loading a plugin, pppd will now check the version of pppd for
110   which the plugin was compiled, and refuse to load it if it is
111   different to pppd's version string.  To enable this, the plugin
112   source needs to #include "pppd.h" and have a line saying:
113         char pppd_version[] = VERSION;
114
115 * There is a bug in zlib, discovered by James Carlson, which can cause
116   kernel memory corruption if Deflate is used with the lowest setting,
117   8.  As a workaround pppd will now insist on using at least 9.
118
119 * Pppd should compile on Solaris and SunOS again.
120
121 * Pppd should now set the MTU correctly on demand-dialled interfaces.
122
123
124 What was new in ppp-2.4.0.
125 **************************
126
127 * Multilink: this package now allows you to combine multiple serial
128   links into one logical link or `bundle', for increased bandwidth and
129   reduced latency.  This is currently only supported under the
130   Linux-2.3.99pre5 or later kernels.
131
132 * All the pppd processes running on a system now write information
133   into a common database.  I used the `tdb' code from samba for this.
134
135 * New hooks have been added.
136
137 For a list of the changes made during the 2.3 series releases of this
138 package, see the Changes-2.3 file.
139
140
141 Compression methods.
142 ********************
143
144 This package supports two packet compression methods: Deflate and
145 BSD-Compress.  Other compression methods which are in common use
146 include Predictor, LZS, and MPPC.  These methods are not supported for
147 two reasons - they are patent-encumbered, and they cause some packets
148 to expand slightly, which pppd doesn't currently allow for.
149 BSD-Compress is also patent-encumbered (its inclusion in this package
150 can be considered a historical anomaly :-) but it doesn't ever expand
151 packets.  Neither does Deflate, which uses the same algorithm as gzip.
152
153
154 Patents.
155 ********
156
157 The BSD-Compress algorithm used for packet compression is the same as
158 that used in the Unix "compress" command.  It is apparently covered by
159 U.S. patents 4,814,746 (owned by IBM) and 4,558,302 (owned by Unisys),
160 and corresponding patents in various other countries (but not
161 Australia).  If this is of concern, you can build the package without
162 including BSD-Compress.  To do this, edit net/ppp-comp.h to change the
163 definition of DO_BSD_COMPRESS to 0.  The bsd-comp.c files are then no
164 longer needed, so the references to bsd-comp.o may optionally be
165 removed from the Makefiles.
166
167
168 Contacts.
169 *********
170
171 The comp.protocols.ppp newsgroup is a useful place to get help if you
172 have trouble getting your ppp connections to work.  Please do not send
173 me questions of the form "please help me get connected to my ISP" -
174 I'm sorry, but I simply do not have the time to answer all the
175 questions like this that I get.
176
177 If you find bugs in this package, please report them to the maintainer
178 for the port for the operating system you are using:
179
180 Linux                   Paul Mackerras <paulus@linuxcare.com>
181 Solaris                 James Carlson <james.d.carlson@east.sun.com>
182 SunOS 4.x               Adi Masputra <adi.masputra@sun.com>
183
184
185 Copyrights:
186 ***********
187
188 All of the code can be freely used and redistributed.  The individual
189 source files each have their own copyright and permission notice; some
190 have a BSD-style notice and some are under the GPL.
191
192
193 Distribution:
194 *************
195
196 The primary site for releases of this software is:
197
198         ftp://ftp.samba.org/pub/ppp/
199
200
201 ($Id: README,v 1.27 2003/04/30 04:55:19 fcusack Exp $)