David F. Skoll [Mon, 24 Jun 2002 12:57:15 +0000 (12:57 +0000)]
Patches from Frank Cusack:
- Avoid infinite loop (eventually running out of stack space) when doing
callback into ccp with MPPE enabled, by updating lcp_fsm state *before*
doing callbacks. Problem noted by Rustem Yumaev <rust@vostok-inc.com>.
- Add missing accounting attributes
- Update for newer automake; required to compile on RH 7.3
David F. Skoll [Mon, 10 Jun 2002 13:46:28 +0000 (13:46 +0000)]
Added "install-devel" Makefile target to install pppd headers required to
build pppd plugins. NOTE: Only works on Linux Makefiles; must be added for
other supported OS's.
David F. Skoll [Tue, 21 May 2002 17:26:49 +0000 (17:26 +0000)]
ECP patches from Frank Cusack:
- If encryption is required, don't bring up IP/IPv6/IPX until the
encryption negotiation has completed.
- Shut down LCP if the peer sends an LCP ConfRej instead of CCP ConfRej
to our MPPE offer. This fixes a bug where the server could not enforce
use of encryption in some cases.
- Don't send the M=<message> part of an MS-CHAPv2 success packet to peers
that don't know how to deal with it. This allows pre-win2k systems to
authenticate.
- Don't shut down lcp if MPPE was present in peer's CCP offer along with
other options. This allows pre-win2k systems to do MPPE (they offer
Stac LZS with MPPE).
- Add the beginnings of ecp.c.
- Other minor changes.
David F. Skoll [Fri, 1 Mar 2002 14:39:19 +0000 (14:39 +0000)]
Large patch from Frank Cusack <fcusack@fcusack.com> to add proper
support for MS-CHAP (client and server are now supported.)
Allow another plugin to select a different RADIUS server.
Modified radiusclient library to include two new APIs:
rc_acct_using_server and rc_auth_using_server in which caller specifies
which RADIUS servers to use, instead of using the default ones in the
config file. The /etc/radiusclient/servers file must still contain
secrets for those servers.
David F. Skoll [Tue, 12 Feb 2002 20:07:10 +0000 (20:07 +0000)]
Added new hooks:
snoop_send_hook and snoop_recv_hook allow plugins to watch the flow
of frames (typically we're interested in LCP frames). This is useful for
implementing L2TP, because the L2TP access concentrator would like to collect
some information from LCP and perhaps authentication protocols and forward
the information to the LNS.
Russell Coker [Fri, 11 Jan 2002 18:31:42 +0000 (18:31 +0000)]
Made setipaddr() non-static so it can be called from plugins (particularly
portslave).
Also fix a trivial multiple-definition warning in ppp/pppd/ipcp.c and a
comma-at-end-of-enum warning in ppp/pppd/pppd.h.
Paul Mackerras [Thu, 8 Mar 2001 05:16:38 +0000 (05:16 +0000)]
Make the example plugins here export the version number that they
were compiled against; add an install target to put the plugins in
/usr/lib/pppd/<version>/.
Paul Mackerras [Thu, 8 Mar 2001 05:14:26 +0000 (05:14 +0000)]
Separate out the setting of the interface MTU from the setting of
lower level things like the asyncmap and proto/AC compression.
Renamed ppp_send/recv_config to tty_send/recv_config.
At this point we have a structure of channel operations and a pointer
to the currently set (the_channel) which a plugin can override if
desired.
Paul Mackerras [Thu, 8 Mar 2001 05:11:16 +0000 (05:11 +0000)]
New options system with priorities for option values, with options
grouped into groups where necessary, so the command line overrides
the per-tty options file, plus the ability to print out the set of
options currently in effect. Some options moved from lcp.c to tty.c.
Paul Mackerras [Thu, 22 Feb 2001 03:16:26 +0000 (03:16 +0000)]
Implement delayed bringup for LCP for the case where we want to
wait for a short time to hear something from the peer before sending
anything ourselves.