]> git.ozlabs.org Git - ppp.git/blob - README
b815d77d248de5ca9423a31874e12091b510d787
[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 * Fixed several bugs, including potential buffer overflows in chat.
93
94
95 What was new in ppp-2.4.1.
96 **************************
97
98 * Pppd can now print out the set of options that are in effect.  The
99   new `dump' option causes pppd to print out the option values after
100   option parsing is complete.  The `dryrun' option causes pppd to
101   print the options and then exit.
102
103 * The option parsing code has been fixed so that options in the
104   per-tty options file are parsed correctly, and don't override values
105   from the command line in most cases.
106
107 * The plugin option now looks in /usr/lib/pppd/<pppd-version> (for
108   example, /usr/lib/pppd/2.4.1b1) for shared objects for plugins if
109   there is no slash in the plugin name.
110
111 * When loading a plugin, pppd will now check the version of pppd for
112   which the plugin was compiled, and refuse to load it if it is
113   different to pppd's version string.  To enable this, the plugin
114   source needs to #include "pppd.h" and have a line saying:
115         char pppd_version[] = VERSION;
116
117 * There is a bug in zlib, discovered by James Carlson, which can cause
118   kernel memory corruption if Deflate is used with the lowest setting,
119   8.  As a workaround pppd will now insist on using at least 9.
120
121 * Pppd should compile on Solaris and SunOS again.
122
123 * Pppd should now set the MTU correctly on demand-dialled interfaces.
124
125
126 What was new in ppp-2.4.0.
127 **************************
128
129 * Multilink: this package now allows you to combine multiple serial
130   links into one logical link or `bundle', for increased bandwidth and
131   reduced latency.  This is currently only supported under the
132   Linux-2.3.99pre5 or later kernels.
133
134 * All the pppd processes running on a system now write information
135   into a common database.  I used the `tdb' code from samba for this.
136
137 * New hooks have been added.
138
139 For a list of the changes made during the 2.3 series releases of this
140 package, see the Changes-2.3 file.
141
142
143 Compression methods.
144 ********************
145
146 This package supports two packet compression methods: Deflate and
147 BSD-Compress.  Other compression methods which are in common use
148 include Predictor, LZS, and MPPC.  These methods are not supported for
149 two reasons - they are patent-encumbered, and they cause some packets
150 to expand slightly, which pppd doesn't currently allow for.
151 BSD-Compress is also patent-encumbered (its inclusion in this package
152 can be considered a historical anomaly :-) but it doesn't ever expand
153 packets.  Neither does Deflate, which uses the same algorithm as gzip.
154
155
156 Patents.
157 ********
158
159 The BSD-Compress algorithm used for packet compression is the same as
160 that used in the Unix "compress" command.  It is apparently covered by
161 U.S. patents 4,814,746 (owned by IBM) and 4,558,302 (owned by Unisys),
162 and corresponding patents in various other countries (but not
163 Australia).  If this is of concern, you can build the package without
164 including BSD-Compress.  To do this, edit net/ppp-comp.h to change the
165 definition of DO_BSD_COMPRESS to 0.  The bsd-comp.c files are then no
166 longer needed, so the references to bsd-comp.o may optionally be
167 removed from the Makefiles.
168
169
170 Contacts.
171 *********
172
173 The comp.protocols.ppp newsgroup is a useful place to get help if you
174 have trouble getting your ppp connections to work.  Please do not send
175 me questions of the form "please help me get connected to my ISP" -
176 I'm sorry, but I simply do not have the time to answer all the
177 questions like this that I get.
178
179 If you find bugs in this package, please report them to the maintainer
180 for the port for the operating system you are using:
181
182 Linux                   Paul Mackerras <paulus@linuxcare.com>
183 Solaris                 James Carlson <james.d.carlson@east.sun.com>
184 SunOS 4.x               Adi Masputra <adi.masputra@sun.com>
185
186
187 Copyrights:
188 ***********
189
190 All of the code can be freely used and redistributed.  The individual
191 source files each have their own copyright and permission notice; some
192 have a BSD-style notice and some are under the GPL.
193
194
195 Distribution:
196 *************
197
198 The primary site for releases of this software is:
199
200         ftp://ftp.samba.org/pub/ppp/
201
202
203 ($Id: README,v 1.28 2003/05/01 12:43:16 paulus Exp $)