Skip to content

Commit 636e804

Browse files
committed
Update READMEs etc. for the forthcoming ppp-2.4.5 release
Signed-off-by: Paul Mackerras <[email protected]>
1 parent 169be1f commit 636e804

File tree

7 files changed

+51
-688
lines changed

7 files changed

+51
-688
lines changed

README

+27-23
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ Introduction.
88

99
The Point-to-Point Protocol (PPP) provides a standard way to establish
1010
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.
11+
supports IP and IPV6 and the protocols layered above them, such as TCP
12+
and UDP. The Linux port of this package also has support for IPX.
1413

15-
This software consists of two parts:
14+
This PPP implementation consists of two parts:
1615

1716
- Kernel code, which establishes a network interface and passes
1817
packets between the serial port, the kernel networking code and the
@@ -29,6 +28,13 @@ code for NeXTStep, FreeBSD, SunOS 4.x, SVR4, Tru64 (Digital Unix), AIX
2928
and Ultrix but no active maintainers for these platforms. Code for
3029
all of these except AIX is included in the ppp-2.3.11 release.
3130

31+
The kernel code for Linux is no longer distributed with this package,
32+
since the relevant kernel code is in the official Linux kernel source
33+
(and has been for many years) and is included in all reasonably modern
34+
Linux distributions. The Linux kernel code supports using PPP over
35+
things other than serial ports, such as PPP over Ethernet and PPP over
36+
ATM.
37+
3238

3339
Installation.
3440
*************
@@ -55,9 +61,25 @@ use any IP address. (This only applies where the peer is
5561
authenticating itself to you, of course.)
5662

5763

58-
What's new in ppp-2.4.4.
64+
What's new in ppp-2.4.5.
5965
************************
6066

67+
* Under Linux, pppd can now operate in a mode where it doesn't request
68+
the peer's IP address, as some peers refuse to supply an IP address.
69+
Since Linux supports device routes as well as gateway routes, it's
70+
possible to have no remote IP address assigned to the ppp interface
71+
and still route traffic over it.
72+
73+
* The PPP over L2TP plugin is included, which works with the pppol2tp
74+
PPP channel code in the Linux kernel. This allows pppd to be used
75+
to set up tunnels using the Layer 2 Tunneling Protocol.
76+
77+
* Several bugs have been fixed.
78+
79+
80+
What was new in ppp-2.4.4.
81+
**************************
82+
6183
* Pppd will now run /etc/ppp/ip-pre-up, if it exists, after creating
6284
the ppp interface and configuring its IP addresses but before
6385
bringing it up. This can be used, for example, for adding firewall
@@ -226,23 +248,6 @@ BSD-Compress and Deflate (which uses the same algorithm as gzip) don't
226248
ever expand packets.
227249

228250

229-
Patents.
230-
********
231-
232-
The BSD-Compress algorithm used for packet compression is the same as
233-
that used in the Unix "compress" command. It was apparently covered
234-
by U.S. patents 4,814,746 (owned by IBM) and 4,558,302 (owned by
235-
Unisys), and corresponding patents in various other countries (but not
236-
Australia). Apparently the Unisys patent expired in the US on 20 June
237-
2003, but the IBM patent is still pending.
238-
239-
If these patents are of concern in your situation, you can build the
240-
package without including BSD-Compress. To do this, edit
241-
net/ppp-comp.h to change the definition of DO_BSD_COMPRESS to 0. The
242-
bsd-comp.c files are then no longer needed, so the references to
243-
bsd-comp.o may optionally be removed from the Makefiles.
244-
245-
246251
Contacts.
247252
*********
248253

@@ -276,4 +281,3 @@ The primary site for releases of this software is:
276281
ftp://ftp.samba.org/pub/ppp/
277282

278283

279-
($Id: README,v 1.37 2006/05/29 23:51:29 paulus Exp $)

README.MPPE

+5-12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ PPP Support for MPPE (Microsoft Point to Point Encryption)
44
Frank Cusack [email protected]
55
Mar 19, 2002
66

7+
Updated by Paul Mackerras, Sep 2008
8+
79

810
DISCUSSION
911

@@ -59,17 +61,9 @@ RADIUS support for MPPE is from Ralf Hofmann, <[email protected]>.
5961
BUILDING THE PPPD
6062

6163
The userland component of PPPD has no additional requirements above
62-
those for MS-CHAP and MS-CHAPv2. The kernel, however, requires SHA-1
63-
and ARCFOUR. Public domain implementations of these are provided.
64+
those for MS-CHAP and MS-CHAPv2.
6465

65-
Until such time as MPPE support ships with kernels, you can use
66-
the Linux 2.2 or 2.4 implementation that comes with PPPD. Run the
67-
ppp/linux/mppe/mppeinstall.sh script, giving it the location to your
68-
kernel source. Then add the CONFIG_PPP_MPPE option to your config and
69-
rebuild the kernel. The ppp_mppe.o module is added, and the ppp.o module
70-
(2.2) or ppp_generic.o (2.4) is modified (unfortunately). You'll need
71-
the new ppp.o/ppp_generic.o since it does the right thing for the 4
72-
extra bytes problem discussed above.
66+
MPPE support is now included in the mainline Linux kernel releases.
7367

7468

7569
CONFIGURATION
@@ -79,7 +73,6 @@ than 2.4.15, you will need to add
7973

8074
alias ppp-compress-18 ppp_mppe
8175

82-
to /etc/modules.conf. (A patch for earlier versions of modutils is included
83-
with the kernel patches.)
76+
to /etc/modules.conf.
8477

8578

README.MSCHAP80

+4-58
Original file line numberDiff line numberDiff line change
@@ -25,65 +25,11 @@ a value of 5. If you enable PPP debugging with the "debug" option and
2525
see something like the following in your logs, the remote server is
2626
requesting MS-CHAP:
2727

28-
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap 80> <magic 0x46a3>]
29-
^^^^^^^^^^^^
28+
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth MS> <magic 0x46a3>]
29+
^^^^^^^
3030

31-
The standard pppd implementation will indicate its lack of support for
32-
MS-CHAP by NAKing it:
33-
34-
sent [LCP ConfNak id=0x2 <auth chap 05>]
35-
36-
Windows NT Server systems are often configured to "Accept only
37-
Microsoft Authentication" (this is intended to enhance security). Up
38-
until now, that meant that you couldn't use this version of PPPD to
39-
connect to such a system.
40-
41-
42-
BUILDING THE PPPD
43-
44-
MS-CHAP uses a combination of MD4 hashing and DES encryption for
45-
authentication. You may need to get Eric Young's libdes library in
46-
order to use my MS-CHAP extensions. A lot of UNIX systems already
47-
have DES encryption available via the crypt(3), encrypt(3) and
48-
setkey(3) interfaces. Some may (such as that on Digital UNIX)
49-
provide only the encryption mechanism and will not perform
50-
decryption. This is okay. We only need to encrypt to perform
51-
MS-CHAP authentication.
52-
53-
If you have encrypt/setkey available, then hopefully you need only
54-
define these two things in your Makefile: -DUSE_CRYPT and -DCHAPMS.
55-
Skip the paragraphs below about obtaining and building libdes. Do
56-
the "make clean" and "make" as described below. Linux users
57-
should not need to modify their Makefiles. Instead,
58-
just do "make CHAPMS=1 USE_CRYPT=1".
59-
60-
If you don't have encrypt and setkey, you will need Eric Young's
61-
libdes library. You can find it in:
62-
63-
ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.psy.uq.oz.au/DES/libdes-3.06.tar.gz
64-
65-
Australian residents can get libdes from Eric Young's site:
66-
67-
ftp://ftp.psy.uq.oz.au/pub/Crypto/DES/libdes-3.06.tar.gz
68-
69-
It is also available on many other sites (ask Archie).
70-
71-
I used libdes-3.06, but hopefully anything newer than that will work
72-
also. Get the library, build and test it on your system, and install
73-
it somewhere (typically /usr/local/lib and /usr/local/include).
74-
75-
76-
77-
You should now be ready to (re)compile the PPPD. Go to the pppd
78-
subdirectory and make sure the Makefile contains "-DCHAPMS" in the
79-
CFLAGS or COMPILE_FLAGS macro, and that the LIBS macro (or LDADD for
80-
BSD systems) contains "-ldes". Depending on your system and where the
81-
DES library was installed, you may also need to alter the include and
82-
library paths used by your compiler.
83-
84-
Do a "make clean" and then a "make" to rebuild pppd. Assuming all
85-
goes well, install the new pppd and move on to the CONFIGURATION
86-
section.
31+
MS-CHAP is enabled by default under Linux in pppd/Makefile.linux by
32+
the line "CHAPMS=y".
8733

8834

8935
CONFIGURATION

README.linux

+9-27
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
8 March 2001
66

77
for ppp-2.4.2
8+
Updated for ppp-2.4.5, Sep 08
89

910
1. Introduction
1011
---------------
@@ -13,8 +14,8 @@ The Linux PPP implementation includes both kernel and user-level
1314
parts. This package contains the user-level part, which consists of
1415
the PPP daemon (pppd) and associated utilities. In the past this
1516
package has contained updated kernel drivers. This is no longer
16-
necessary, as the current 2.2 and 2.4 kernel sources contain
17-
up-to-date drivers.
17+
necessary, as the current kernel sources contain up-to-date drivers
18+
(and have done since the 2.4.x kernel series).
1819

1920
The Linux PPP implementation is capable of being used both for
2021
initiating PPP connections (as a `client') or for handling incoming
@@ -47,7 +48,7 @@ the link down, when it negotiates a graceful disconnect.
4748

4849
2.1 Kernel driver
4950

50-
Assuming you are running a recent 2.2 or 2.4 (or later) series kernel,
51+
Assuming you are running a recent 2.4 or 2.6 (or later) series kernel,
5152
the kernel source code will contain an up-to-date kernel PPP driver.
5253
If the PPP driver was included in your kernel configuration when your
5354
kernel was built, then you only need to install the user-level
@@ -64,7 +65,7 @@ under /lib/modules and is loaded into the kernel when needed.
6465

6566
The 2.2 series kernels contain an older version of the kernel PPP
6667
driver, one which doesn't support multilink. If you want multilink,
67-
you need to run the latest 2.4 series kernel. The kernel PPP driver
68+
you need to run a 2.4 or 2.6 series kernel. The kernel PPP driver
6869
was completely rewritten for the 2.4 series kernels to support
6970
multilink and to allow it to operate over diverse kinds of
7071
communication medium (the 2.2 driver only operates over serial ports
@@ -94,7 +95,7 @@ If you obtained this package in .rpm or .deb format, you simply follow
9495
the usual procedure for installing the package.
9596

9697
If you are using the .tar.gz form of this package, then cd into the
97-
ppp-2.4.1b1 directory you obtained by unpacking the archive and issue
98+
ppp-2.4.5 directory you obtained by unpacking the archive and issue
9899
the following commands:
99100

100101
$ ./configure
@@ -111,34 +112,15 @@ files.
111112
2.3 System setup for 2.4 kernels
112113

113114
Under the 2.4 series kernels, pppd needs to be able to open /dev/ppp,
114-
character device (108,0). If you are using devfs (the device
115-
filesystem), the /dev/ppp node will automagically appear when the
116-
ppp_generic module is loaded, or at startup if ppp_generic is compiled
117-
in.
115+
character device (108,0). If you are using udev (as most distributions
116+
do), the /dev/ppp node should be created by udevd.
118117

119-
If you have ppp_generic as a module, and you are using devfsd (the
120-
devfs daemon), you will need to add a line like this to your
121-
/etc/devfsd.conf:
122-
123-
LOOKUP ppp MODLOAD
124-
125-
Otherwise you will need to create a /dev/ppp device node with the
118+
Otherwise you may need to create a /dev/ppp device node with the
126119
commands:
127120

128121
# mknod /dev/ppp c 108 0
129122
# chmod 600 /dev/ppp
130123

131-
If you use module autoloading and have PPP as a module, you will need
132-
to add the following to your /etc/modules.conf or /etc/conf.modules:
133-
134-
alias /dev/ppp ppp_generic
135-
alias char-major-108 ppp_generic
136-
alias tty-ldisc-3 ppp_async
137-
alias tty-ldisc-14 ppp_synctty
138-
alias ppp-compress-21 bsd_comp
139-
alias ppp-compress-24 ppp_deflate
140-
alias ppp-compress-26 ppp_deflate
141-
142124

143125
2.4 System setup under 2.2 series kernels
144126

README.pppoe

+5-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
8 August 2001
66

77
for ppp-2.4.2
8+
Updated for ppp-2.4.5 by Paul Mackerras, Sep 08
89

910
1. Introduction
1011
---------------
1112

1213
This document describes the support for PPP over Ethernet (PPPoE)
13-
included with this packages. It is assumed that the reader is
14+
included with this package. It is assumed that the reader is
1415
familiar with Linux PPP (as it pertains to tty/modem-based
1516
connections). In particular, users of PPP in the Linux 2.2 series
1617
kernels should ensure they are familiar with the changes to the PPP
@@ -19,7 +20,7 @@ PPPoE features.
1920

2021
If you are not familiar with PPP, I recommend looking at other
2122
packages which include end-user configuration tools, such as Roaring
22-
Penguin (http://www.roaringpenguin.com/pppoe)
23+
Penguin (http://www.roaringpenguin.com/pppoe).
2324

2425
PPPoE is a protocol typically used by *DSL providers to manage IP
2526
addresses and authenticate users. Essentially, PPPoE provides for a
@@ -42,10 +43,8 @@ This section is a quick guide for getting PPPoE working, to allow one
4243
to connect to their ISP who is providing PPPoE based services.
4344

4445
1. Enable "Prompt for development and/or incomplete code/drivers" and
45-
"PPP over Ethernet" in your kernel configuration. If you choose to
46-
use the PPP over Ethernet driver as a module adding "alias
47-
net-pf-24 pppoe" to /etc/modules.conf will enable auto-loading
48-
of the modules.
46+
"PPP over Ethernet" in your kernel configuration. Most distributions
47+
will include the kernel PPPoE module by default.
4948

5049
2. Compile and install your kernel.
5150

README.pwfd

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The passwordfd feature offers a simpler and more secure solution. The program
1717
that starts the pppd opens a pipe and writes the password into it. The pppd
1818
simply reads the password from that pipe.
1919

20-
This methods is used for quiet a while on SuSE Linux by the programs wvdial,
20+
This methods is used for quite a while on SuSE Linux by the programs wvdial,
2121
kppp and smpppd.
2222

2323

0 commit comments

Comments
 (0)