Go to file
Paul Mackerras 0a35b8ffdb plugins/pppoatm: Remove dead code ans_byaddr and related functions
Provoked by apparent possible out-of-bounds memory access in the
unused code.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2024-08-21 17:52:08 +10:00
.github/workflows CI: Updated the 'checkout' actions that were using Node.js 16 to Node.js 20. (#489) 2024-04-26 19:11:31 +10:00
chat chat: Fix loop condition to avoid possible 1-byte buffer overrun 2023-03-18 17:34:07 +11:00
common Use autoconf/automake to configure and make ppp 2021-07-20 08:24:08 -07:00
contrib Move pppgetpass.8 to EXTRA_DIST (#412) 2023-05-01 13:33:10 +10:00
etc.ppp Add support for EAP-TLS (including experimental TLS v1.3 support). 2020-10-19 18:00:54 +02:00
include Remove include/net/slcompress.h 2023-12-27 15:30:07 +00:00
m4 Use pkg-config to detect PAM when possible (#479) 2024-04-26 19:10:16 +10:00
modules Change my paulus@samba.org email address to paulus@ozlabs.org 2023-11-09 12:19:59 +11:00
pppd plugins/pppoatm: Remove dead code ans_byaddr and related functions 2024-08-21 17:52:08 +10:00
pppdump pppdump: Remove support for decompressing compressed packets 2024-08-20 17:31:11 +10:00
pppstats Remove <linux/if_ppp.h> and <net/if_ppp.h> headers 2023-11-09 17:20:36 +11:00
sample pppd: Drop linux IPX support (#326) 2022-01-13 17:48:14 +11:00
scripts scripts/lcp_rtt_exporter: include content length in response (#467) 2023-12-21 19:51:57 +00:00
solaris Change my paulus@samba.org email address to paulus@ozlabs.org 2023-11-09 12:19:59 +11:00
.gitignore Fix include paths for plugins to use the public API of pppd 2022-07-15 15:25:39 -07:00
AUTHORS Change my paulus@samba.org email address to paulus@ozlabs.org 2023-11-09 12:19:59 +11:00
autogen.sh Use autoconf/automake to configure and make ppp 2021-07-20 08:24:08 -07:00
ChangeLog Use autoconf/automake to configure and make ppp 2021-07-20 08:24:08 -07:00
Changes-2.3 Changes for ppp-2.4.0 beta 1 release. 2000-04-13 11:59:40 +00:00
Changes-2.4 Further updates to README for 2.5.0 release 2023-03-18 20:11:05 +11:00
configure.ac Fix for failure to detect the presence of sockaddr_ll in linux/if_packet.h (#456) 2023-11-08 16:58:01 +11:00
COPYING Use autoconf/automake to configure and make ppp 2021-07-20 08:24:08 -07:00
FAQ Update for mschapv2 and clarify client/server (authenticatee/authenticator). 2002-10-27 13:19:37 +00:00
LICENSE.BSD Add LICENSE.* for GPLv2 and BSD licenses covered by this project 2023-01-23 09:18:39 -08:00
LICENSE.GPL-2 Add LICENSE.* for GPLv2 and BSD licenses covered by this project 2023-01-23 09:18:39 -08:00
Makefile.am Changing PLUGIN to PPP_WITH_PLUGINS for consistency 2022-07-15 15:25:39 -07:00
NEWS pppd: Add ipv6-{up,down}-script options (#321) 2021-11-20 15:58:17 +11:00
PLUGINS Update of PLUGINS documentation 2023-01-23 09:18:39 -08:00
README README: Update for 2.5.1 release 2023-11-09 12:15:12 +11:00
README.cbcp Remove references to the old CHAP code. 2003-11-27 21:25:25 +00:00
README.eap-srp Added EAP support with MD5-Challenge and SRP-SHA1 methods. Tested 2002-11-02 19:48:13 +00:00
README.eap-tls pppd: Support for use of PKCS12 certificates (#264) 2021-06-05 11:30:16 +10:00
README.linux Change my paulus@samba.org email address to paulus@ozlabs.org 2023-11-09 12:19:59 +11:00
README.MPPE Update READMEs etc. for the forthcoming ppp-2.4.5 release 2008-09-06 22:21:22 +10:00
README.MSCHAP80 Update READMEs etc. for the forthcoming ppp-2.4.5 release 2008-09-06 22:21:22 +10:00
README.MSCHAP81 ECP patches from Frank Cusack: 2002-05-21 17:26:49 +00:00
README.pppoe README.pppoe: Fix spelling (#316) 2021-09-18 09:43:35 +10:00
README.pppol2tp Add L2TP support. 2008-06-15 07:08:49 +00:00
README.pwfd Update READMEs etc. for the forthcoming ppp-2.4.5 release 2008-09-06 22:21:22 +10:00
README.sol2 Updated Solaris-related READMEs for the current code. 2002-09-07 06:07:48 +00:00
SECURITY.md Add SECURITY.md 2022-07-09 20:22:45 +10:00
SETUP Change references to cuaN in examples and documentation to ttySN. 2004-01-13 03:55:52 +00:00
Submitting-patches.md Add Submitting-patches.md 2019-06-10 17:58:07 +10:00

This is the README file for ppp-2.5, a package which implements the
Point-to-Point Protocol (PPP) to provide Internet connections over
serial lines and other types of links which can be considered to be
point-to-point links.


Introduction.
*************

The Point-to-Point Protocol (PPP) provides a standard way to establish
a network connection over a serial link.  At present, this package
supports IP and IPV6 and the protocols layered above them, such as TCP
and UDP.

This PPP implementation consists of two parts:

- Kernel code, which establishes a network interface and passes
packets between the serial port, the kernel networking code and the
PPP daemon (pppd).  This code is implemented using STREAMS modules on
Solaris, and as a line discipline under Linux.

- The PPP daemon (pppd), which negotiates with the peer to establish
the link and sets up the ppp network interface.  Pppd includes support
for authentication, so you can control which other systems may make a
PPP connection and what IP addresses they may use.

The platforms supported by this package are Linux and Solaris.  I have
code for NeXTStep, FreeBSD, SunOS 4.x, SVR4, Tru64 (Digital Unix), AIX
and Ultrix but no active maintainers for these platforms.  Code for
all of these except AIX is included in the ppp-2.3.11 release.

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


Installation.
*************

The file SETUP contains general information about setting up your
system for using PPP.  There is also a README file for each supported
system, which contains more specific details for installing PPP on
that system.  The supported systems, and the corresponding README
files, are:

	Linux				README.linux
	Solaris				README.sol2

In each case you start by running the ./configure script.  This works
out which operating system you are using and creates the appropriate
makefiles.  You then run `make' to compile the user-level code, and
(as root) `make install' to install the user-level programs pppd, chat
and pppstats.

N.B. Since 2.3.0, leaving the permitted IP addresses column of the
pap-secrets or chap-secrets file empty means that no addresses are
permitted.  You need to put a "*" in that column to allow the peer to
use any IP address.  (This only applies where the peer is
authenticating itself to you, of course.)


What's new in ppp-2.5.1
***********************

* Pppd can now measure and log the round-trip time (RTT) of LCP
  echo-requests and record them in a binary file structured as a
  circular buffer.  Other programs or scripts can examine the file and
  provide real-time statistics on link latency.  This is enabled by a
  new "lcp-rtt-file" option.

* New scripts net-init, net-pre-up and net-down are executed in the
  process of bringing the network interface up and down.  They provide
  additional, more deterministic ways for pppd to interact with the
  rest of the networking configuration.

* Pppd will now create the directory for the TDB connection database
  if it doesn't already exist.

* Various other bug fixes and minor enhancements.


What was new in ppp-2.5.0.
**************************

The 2.5.0 release is a major release of pppd which contains breaking 
changes for third-party plugins, a complete revamp of the build-system
and that allows for flexibility of configuring features as needed.

In Summary:
* Support for PEAP authentication by Eivind Næss and Rustam Kovhaev
* Support for loading PKCS12 certificate envelopes 
* Adoption of GNU Autoconf / Automake build environment, by Eivind Næss
  and others.
* Support for pkgconfig tool has been added by Eivind Næss.
* Bunch of fixes and cleanup to PPPoE and IPv6 support by Pali Rohár.
* Major revision to PPPD's Plugin API by Eivind Næss.
  - Defines in which describes what features was included in pppd
  - Functions now prefixed with explicit ppp_* to indicate that
    pppd functions being called.
  - Header files were renamed to better align with their features,
    and now use proper include guards
  - A pppdconf.h file is supplied to allow third-party modules to use
    the same feature defines pppd was compiled with.
  - No extern declarations of internal variable names of pppd, 
    continued use of these extern variables are considered 
    unstable.
* Lots of internal fixes and cleanups for Radius and PPPoE by Jaco Kroon
* Dropped IPX support, as Linux has dropped support in version 5.15
  for this protocol.
* Many more fixes and cleanups.
* Pppd is no longer installed setuid-root.
* New pppd options:
  - ipv6cp-noremote, ipv6cp-nosend, ipv6cp-use-remotenumber,
    ipv6-up-script, ipv6-down-script
  - -v, show-options
  - usepeerwins, ipcp-no-address, ipcp-no-addresses, nosendip
* On Linux, any baud rate can be set on a serial port provided the
  kernel serial driver supports that.

Note that if you have built and installed previous versions of this
package and you want to continue having configuration and TDB files in
/etc/ppp, you will need to use the --sysconfdir option to ./configure.

For a list of the changes made during the 2.4 series releases of this
package, see the Changes-2.4 file.


Compression methods.
********************

This package supports two packet compression methods: Deflate and
BSD-Compress.  Other compression methods which are in common use
include Predictor, LZS, and MPPC.  These methods are not supported for
two reasons - they are patent-encumbered, and they cause some packets
to expand slightly, which pppd doesn't currently allow for.
BSD-Compress and Deflate (which uses the same algorithm as gzip) don't
ever expand packets.


Contacts.
*********

Most communication relating to this package happens on github at
https://github.com/ppp-project/ppp/.  The linux-ppp@vger.kernel.org
mailing list also exists and can be used.

If you find bugs in this package, the best thing to do is to create an
issue on github.  If you can't or don't want to do that, you can post
to linux-ppp@vger.kernel.org, or report them to the maintainer for the
port for the operating system you are using:

Linux			Paul Mackerras <paulus@ozlabs.org>
Solaris			James Carlson <carlson@workingcode.com>


Copyrights:
***********

All of the code can be freely used and redistributed.  The individual
source files each have their own copyright and permission notice.
Pppd, pppstats and pppdump are under BSD-style notices.  Some of the
pppd plugins are GPL'd.  Chat is public domain.


Distribution:
*************

The primary site for releases of this software is:

	ftp://ftp.samba.org/pub/ppp/