]> git.ozlabs.org Git - ppp.git/blob - README
CI: Updated the 'checkout' actions that were using Node.js 16 to Node.js 20. (#489)
[ppp.git] / README
1 This is the README file for ppp-2.5, a package which implements the
2 Point-to-Point Protocol (PPP) to provide Internet connections over
3 serial lines and other types of links which can be considered to be
4 point-to-point links.
5
6
7 Introduction.
8 *************
9
10 The Point-to-Point Protocol (PPP) provides a standard way to establish
11 a network connection over a serial link.  At present, this package
12 supports IP and IPV6 and the protocols layered above them, such as TCP
13 and UDP.
14
15 This PPP implementation 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 Solaris, and as a line discipline under Linux.
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 platforms supported by this package are Linux and Solaris.  I have
28 code for NeXTStep, FreeBSD, SunOS 4.x, SVR4, Tru64 (Digital Unix), AIX
29 and Ultrix but no active maintainers for these platforms.  Code for
30 all of these except AIX is included in the ppp-2.3.11 release.
31
32 The kernel code for Linux is no longer distributed with this package,
33 since the relevant kernel code is in the official Linux kernel source
34 (and has been for many years) and is included in all reasonably modern
35 Linux distributions.  The Linux kernel code supports using PPP over
36 things other than serial ports, such as PPP over Ethernet and PPP over
37 ATM.
38
39
40 Installation.
41 *************
42
43 The file SETUP contains general information about setting up your
44 system for using PPP.  There is also a README file for each supported
45 system, which contains more specific details for installing PPP on
46 that system.  The supported systems, and the corresponding README
47 files, are:
48
49         Linux                           README.linux
50         Solaris                         README.sol2
51
52 In each case you start by running the ./configure script.  This works
53 out which operating system you are using and creates the appropriate
54 makefiles.  You then run `make' to compile the user-level code, and
55 (as root) `make install' to install the user-level programs pppd, chat
56 and pppstats.
57
58 N.B. Since 2.3.0, leaving the permitted IP addresses column of the
59 pap-secrets or chap-secrets file empty means that no addresses are
60 permitted.  You need to put a "*" in that column to allow the peer to
61 use any IP address.  (This only applies where the peer is
62 authenticating itself to you, of course.)
63
64
65 What's new in ppp-2.5.1
66 ***********************
67
68 * Pppd can now measure and log the round-trip time (RTT) of LCP
69   echo-requests and record them in a binary file structured as a
70   circular buffer.  Other programs or scripts can examine the file and
71   provide real-time statistics on link latency.  This is enabled by a
72   new "lcp-rtt-file" option.
73
74 * New scripts net-init, net-pre-up and net-down are executed in the
75   process of bringing the network interface up and down.  They provide
76   additional, more deterministic ways for pppd to interact with the
77   rest of the networking configuration.
78
79 * Pppd will now create the directory for the TDB connection database
80   if it doesn't already exist.
81
82 * Various other bug fixes and minor enhancements.
83
84
85 What was new in ppp-2.5.0.
86 **************************
87
88 The 2.5.0 release is a major release of pppd which contains breaking 
89 changes for third-party plugins, a complete revamp of the build-system
90 and that allows for flexibility of configuring features as needed.
91
92 In Summary:
93 * Support for PEAP authentication by Eivind Næss and Rustam Kovhaev
94 * Support for loading PKCS12 certificate envelopes 
95 * Adoption of GNU Autoconf / Automake build environment, by Eivind Næss
96   and others.
97 * Support for pkgconfig tool has been added by Eivind Næss.
98 * Bunch of fixes and cleanup to PPPoE and IPv6 support by Pali Rohár.
99 * Major revision to PPPD's Plugin API by Eivind Næss.
100   - Defines in which describes what features was included in pppd
101   - Functions now prefixed with explicit ppp_* to indicate that
102     pppd functions being called.
103   - Header files were renamed to better align with their features,
104     and now use proper include guards
105   - A pppdconf.h file is supplied to allow third-party modules to use
106     the same feature defines pppd was compiled with.
107   - No extern declarations of internal variable names of pppd, 
108     continued use of these extern variables are considered 
109     unstable.
110 * Lots of internal fixes and cleanups for Radius and PPPoE by Jaco Kroon
111 * Dropped IPX support, as Linux has dropped support in version 5.15
112   for this protocol.
113 * Many more fixes and cleanups.
114 * Pppd is no longer installed setuid-root.
115 * New pppd options:
116   - ipv6cp-noremote, ipv6cp-nosend, ipv6cp-use-remotenumber,
117     ipv6-up-script, ipv6-down-script
118   - -v, show-options
119   - usepeerwins, ipcp-no-address, ipcp-no-addresses, nosendip
120 * On Linux, any baud rate can be set on a serial port provided the
121   kernel serial driver supports that.
122
123 Note that if you have built and installed previous versions of this
124 package and you want to continue having configuration and TDB files in
125 /etc/ppp, you will need to use the --sysconfdir option to ./configure.
126
127 For a list of the changes made during the 2.4 series releases of this
128 package, see the Changes-2.4 file.
129
130
131 Compression methods.
132 ********************
133
134 This package supports two packet compression methods: Deflate and
135 BSD-Compress.  Other compression methods which are in common use
136 include Predictor, LZS, and MPPC.  These methods are not supported for
137 two reasons - they are patent-encumbered, and they cause some packets
138 to expand slightly, which pppd doesn't currently allow for.
139 BSD-Compress and Deflate (which uses the same algorithm as gzip) don't
140 ever expand packets.
141
142
143 Contacts.
144 *********
145
146 Most communication relating to this package happens on github at
147 https://github.com/ppp-project/ppp/.  The linux-ppp@vger.kernel.org
148 mailing list also exists and can be used.
149
150 If you find bugs in this package, the best thing to do is to create an
151 issue on github.  If you can't or don't want to do that, you can post
152 to linux-ppp@vger.kernel.org, or report them to the maintainer for the
153 port for the operating system you are using:
154
155 Linux                   Paul Mackerras <paulus@ozlabs.org>
156 Solaris                 James Carlson <carlson@workingcode.com>
157
158
159 Copyrights:
160 ***********
161
162 All of the code can be freely used and redistributed.  The individual
163 source files each have their own copyright and permission notice.
164 Pppd, pppstats and pppdump are under BSD-style notices.  Some of the
165 pppd plugins are GPL'd.  Chat is public domain.
166
167
168 Distribution:
169 *************
170
171 The primary site for releases of this software is:
172
173         ftp://ftp.samba.org/pub/ppp/
174
175