Projects / ppp

ppp

PPP Daemon for Linux, Solaris 2, *BSD, SunOS 4, Digital Unix, SVR4, NeXTStep, and Ultrix. This allows Unix machines to connect to the internet through dialup lines, using the PPP protocol, as a PPP server or client. Works with 'chat', 'dip', and 'diald', among (many) others. Supports IP, TCP, UDP and (for Linux) IPX (Novell).

Tags

Recent releases

  •  17 Feb 2014 12:31

    Release Notes: A new 'enable-session' option was added, allowing for session accounting via PAM or wtwp/wtmpx. The PPP over L2TP plugin is now included. Interoperability with the strange behavior of some 3G modems.was improved. Under Linux, pppd can now operate in a mode where it doesn't request the peer's IP address. Options files can now set and unset environment variables for scripts. The timeout for chat scripts can now be taken from an environment variable. Other enhancements were made. Many bugs were fixed.

    •  19 Nov 2004 15:52

      Release Notes: The most notable change is a bugfix for a possible denial of service.

      •  03 Sep 2003 03:07

        Release Notes: This version features support for MS-CHAP 2 authentication, plus support for authenticating the peer with MS-CHAP 1 or 2, MPPE, CBCP updates, EAP, PPPOE, a password-via-pipe plugin, Solaris updates, ECB, Radius plugin code, extra hooks for plugins, a maxoctets option, ipcp-no-addresses and ipcp-no-address options, remotenumber and allow-number options, and several bugfixes, including potential buffer overflows in chat.

        •  19 Jun 2001 12:44

          Release Notes: New options 'dump' and 'dryrun' for printing of active options. Option parsing code fixed, it now only loads plugins built for same version. Work around for a bug in zlib. PPP should now compile on Solaris and SunOS again. MTU is now working correctly again for on demand dialed interfaces.

          •  05 Aug 2000 08:27

            Release Notes: New hooks, multilink support, and all pppd processes now share a common information database.

            Recent comments

            27 Sep 2011 13:24 FxIII

            Is there any way to avoid the ppp to ask for a ms-dns and wins when connecting to an ISP?

            08 Nov 2007 19:34 cheako

            A new version?
            The [1]changelog Reports that in ppp-2.4.4!? "* Lots of bugs fixed, particularly in the area of demand-dialled and persistent connections."

            I think this is worth a look, perhaps it's time to release this code...

            The [2]main page reports "The latest version of ppp is version 2.4.3, released on 14 November 2004."

            Looking at Debian Stable, 2.4.4rel-8. So now even FM has current information.

            1. http://www.samba.org/ppp/README.html

            2. http://www.samba.org/ppp/

            23 Mar 2007 06:10 bernie74

            Project abandoned?
            pppd appears to have been unmaintained for 2 years already.

            Is anybody willing to step forward and adopt this codebase?

            26 May 2005 14:48 linlin

            Re: pppd 3.4.3 with rp-pppoe and demand fails to reconnect

            Same with me, same log characteristics:

            retry in the same second of termination, but immediate modem hangup.

            After downgrading from 2.4.3 of Suse9.3 to
            2.4.2 of Suse9.2 it works like I was used to before,

            i.e. on demand reconnect works.

            06 Dec 2004 16:12 uholeschak

            pppd 3.4.3 with rp-pppoe and demand fails to reconnect
            Hallo,

            after using pppd 2.4.2 for a while with rp-pppoe.so (DSL) in demand mode i have now upgraded to pppd 2.4.3. At first the connect works well, but after the automatic 24 hours disconnect by Deutsche Telekom the reconnect failes. The reconnect not only fails sometimes but definitely every time the disconnect occurs. Here is what i see in the syslog during the dis/reconnect:

            --------------------------------

            Dec 7 00:48:33 router pppd[3973]: rcvd [LCP TermReq id=0xa] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...

            Dec 7 00:48:33 router pppd[3973]: LCP terminated by peer

            Dec 7 00:48:33 router pppd[3973]: Connect time 1440.1 minutes.

            Dec 7 00:48:33 router pppd[3973]: Sent 4880390 bytes, received 10668259 bytes.

            Dec 7 00:48:33 router pppd[3973]: Script /etc/ppp/ip-down started (pid 24700)

            Dec 7 00:48:33 router pppd[3973]: Couldn't increase MTU to 1500

            Dec 7 00:48:33 router pppd[3973]: Couldn't increase MRU to 1500

            Dec 7 00:48:33 router pppd[3973]: sent [LCP TermAck id=0xa]

            Dec 7 00:48:34 router kernel: SuSE-FW-ACCEPTIN=eth1 OUT= MAC=00:c1:26:02:54:d1:00:01:36:06:83:c7:08:00 SRC=192.168.42.242 DST=192.168.42.240 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=14080 DF PROTO=TCP SPT=1033 DPT=139 WINDOW=32767 RES=0x00 SYN URGP=0 OPT (020405B4)

            Dec 7 00:48:35 router SuSEfirewall2: Firewall customary rules loaded from /etc/rc.config.d/firewall2-custom.rc.config

            Dec 7 00:48:36 router pppd[3973]: Connection terminated.

            Dec 7 00:48:37 router pppd[3973]: PADS: Service-Name: ''

            Dec 7 00:48:37 router pppd[3973]: PPP session is 3313

            Dec 7 00:48:37 router pppd[3973]: using channel 3

            Dec 7 00:48:37 router pppd[3973]: Connect: ppp0 <--> eth0

            Dec 7 00:48:37 router pppd[3973]: Couldn't increase MTU to 1500

            Dec 7 00:48:37 router pppd[3973]: Couldn't increase MRU to 1500

            Dec 7 00:48:37 router pppd[3973]: sent [LCP ConfReq id=0x2 <magic 0x2842ff03>]

            Dec 7 00:48:37 router pppd[3973]: Modem hangup

            --------------------------------

            My option file i use for dsl connect looks like:

            --------------------------------

            lock

            local

            nocrtscts

            noauth

            # configurred by iptables

            #mru 1480

            #mtu 1480

            name "xxxxxxxxxxxxxxxxxxxx"

            defaultroute

            noipdefault

            ipcp-accept-local

            ipcp-accept-remote

            below

            debug

            kdebug 7

            hide-password

            lcp-echo-interval 5

            lcp-echo-failure 3

            demand

            persist

            idle 0

            nodetach

            usepeerdns

            unit 0

            --------------------------------

            with "plugin rp-pppoe.so" set in the global options file.

            This seems to be a new bug in pppd 2.4.3, since it works well with pppd 2.4.2 ...

            Ulrich

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.