]> git.ozlabs.org Git - ppp.git/log
ppp.git
21 years agomake Octets-Direction flag accept value=4.
Alexandr D. Kanevskiy [Mon, 15 Jul 2002 11:04:18 +0000 (11:04 +0000)]
make Octets-Direction flag accept value=4.
For NAS - it same as Octets-Direction = Maximum (3)
but on radius side maximum can be computed as
maximum in/out overal or per session/day/month/year...

21 years agoExperemental per session traffic limiting.
Alexandr D. Kanevskiy [Sat, 13 Jul 2002 06:24:36 +0000 (06:24 +0000)]
Experemental per session traffic limiting.
Usefull for VPN with per megabyte billing.
(Works for me)

21 years agoDon't drop connection if CCP not supported
Alexandr D. Kanevskiy [Wed, 10 Jul 2002 20:04:35 +0000 (20:04 +0000)]
Don't drop connection if CCP not supported

21 years agoCosmetic fix.
David F. Skoll [Tue, 25 Jun 2002 12:29:58 +0000 (12:29 +0000)]
Cosmetic fix.

21 years agoPatches from Frank Cusack:
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

21 years agoCheck return code of mmap (bug reported by Nick Bane)
David F. Skoll [Mon, 24 Jun 2002 12:42:24 +0000 (12:42 +0000)]
Check return code of mmap (bug reported by Nick Bane)

21 years agoAdded "install-devel" Makefile target to install pppd headers required to
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.

21 years agoactive-filter is available on linux too.
Michael Beattie [Sat, 1 Jun 2002 08:47:34 +0000 (08:47 +0000)]
active-filter is available on linux too.

21 years agoAdded an option to enable CBCP.
Michael Beattie [Sat, 1 Jun 2002 08:47:03 +0000 (08:47 +0000)]
Added an option to enable CBCP.

21 years agoFrank Cusack's latest patch.
David F. Skoll [Tue, 28 May 2002 17:00:57 +0000 (17:00 +0000)]
Frank Cusack's latest patch.

21 years agoAdding files which I forgot to do as part of Frank Cusack's ECP patch.
David F. Skoll [Wed, 22 May 2002 18:16:54 +0000 (18:16 +0000)]
Adding files which I forgot to do as part of Frank Cusack's ECP patch.

21 years agoECP patches from Frank Cusack:
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.

21 years agoApplied patch from Nerijus Baliunas <nerijus@users.sourceforge.net> to
David F. Skoll [Fri, 10 May 2002 14:57:26 +0000 (14:57 +0000)]
Applied patch from Nerijus Baliunas <nerijus@users.sourceforge.net> to
document callback option.

22 years agoFixed PoPToP URL
David F. Skoll [Tue, 2 Apr 2002 23:25:38 +0000 (23:25 +0000)]
Fixed PoPToP URL

22 years agoCorrected Linux MPPE kernel modules (Frank Cusack)
David F. Skoll [Tue, 2 Apr 2002 14:15:07 +0000 (14:15 +0000)]
Corrected Linux MPPE kernel modules (Frank Cusack)
Corrected minor bug in chap.c (Frank Cusack)
Allow domain\user in MSCHAPv2 (Frank Cusack)

22 years agoCorrected version of MPPE kernel support (Frank Cusack)
David F. Skoll [Tue, 2 Apr 2002 14:12:48 +0000 (14:12 +0000)]
Corrected version of MPPE kernel support (Frank Cusack)

22 years agoFixed Linux 2.2.20 kernel MPPE patch (Frank Cusack)
David F. Skoll [Tue, 2 Apr 2002 14:11:04 +0000 (14:11 +0000)]
Fixed Linux 2.2.20 kernel MPPE patch (Frank Cusack)

22 years agoAdded RADIUS support for MPPE (patch from Frank Cusack)
David F. Skoll [Tue, 2 Apr 2002 14:09:35 +0000 (14:09 +0000)]
Added RADIUS support for MPPE (patch from Frank Cusack)

22 years agoAdded kernel MPPE patches (2.2.20 kernel only!) from Frank Cusack.
David F. Skoll [Tue, 2 Apr 2002 14:01:37 +0000 (14:01 +0000)]
Added kernel MPPE patches (2.2.20 kernel only!) from Frank Cusack.

22 years agoAdd README.MPPE
David F. Skoll [Tue, 2 Apr 2002 13:55:48 +0000 (13:55 +0000)]
Add README.MPPE

22 years agoFirst large MPPE patch from Frank Cusack.
David F. Skoll [Tue, 2 Apr 2002 13:55:00 +0000 (13:55 +0000)]
First large MPPE patch from Frank Cusack.

22 years agoFix double-free bug in common/zlib.c. DOES NOT FIX pppdump's copy, though.
David F. Skoll [Tue, 2 Apr 2002 13:34:03 +0000 (13:34 +0000)]
Fix double-free bug in common/zlib.c.  DOES NOT FIX pppdump's copy, though.

22 years agoInstall Microsoft dictionaries (patch from Frank Cusack)
David F. Skoll [Tue, 2 Apr 2002 13:17:13 +0000 (13:17 +0000)]
Install Microsoft dictionaries (patch from Frank Cusack)

22 years agoAdd "nic-xxx" hack to rp-pppoe plugin.
David F. Skoll [Tue, 2 Apr 2002 13:11:00 +0000 (13:11 +0000)]
Add "nic-xxx" hack to rp-pppoe plugin.

22 years agoFixed plugin installation path.
David F. Skoll [Sun, 24 Mar 2002 13:23:08 +0000 (13:23 +0000)]
Fixed plugin installation path.

22 years agoCorrect (really!) implementation of device name hook in PPPoE plugin.
David F. Skoll [Thu, 14 Mar 2002 21:54:06 +0000 (21:54 +0000)]
Correct (really!) implementation of device name hook in PPPoE plugin.

22 years agoFixed bug in device-name hook in PPPoE plugin. Thanks to Russ Couturier
David F. Skoll [Thu, 14 Mar 2002 20:32:41 +0000 (20:32 +0000)]
Fixed bug in device-name hook in PPPoE plugin.  Thanks to Russ Couturier
of Synthetic Networks for finding this bug.

22 years agoHandle RADIUS Session-Timeout attribute.
David F. Skoll [Tue, 12 Mar 2002 00:28:56 +0000 (00:28 +0000)]
Handle RADIUS Session-Timeout attribute.

22 years agoFixed incorrect order of args in option list (Frank Cusack)
David F. Skoll [Wed, 6 Mar 2002 15:00:30 +0000 (15:00 +0000)]
Fixed incorrect order of args in option list (Frank Cusack)

22 years agoForgot to add dictionary.microsoft.
David F. Skoll [Wed, 6 Mar 2002 13:23:09 +0000 (13:23 +0000)]
Forgot to add dictionary.microsoft.

22 years agoMerged check for buffer overflow from radiusclient 0.3.2.
David F. Skoll [Tue, 5 Mar 2002 15:36:17 +0000 (15:36 +0000)]
Merged check for buffer overflow from radiusclient 0.3.2.

22 years agoPatch from Frank Cusack to add support for MSCHAPv2.
David F. Skoll [Tue, 5 Mar 2002 15:14:06 +0000 (15:14 +0000)]
Patch from Frank Cusack to add support for MSCHAPv2.
Enhanced radiusclient to support INCLUDE lines in dictionary.

22 years agoPatch from Frank Cusack to make RADIUS plugin support MS-CHAP authentication.
David F. Skoll [Mon, 4 Mar 2002 14:59:52 +0000 (14:59 +0000)]
Patch from Frank Cusack to make RADIUS plugin support MS-CHAP authentication.

22 years agoCheck for vendor code before trying to interpret RADIUS attributes.
David F. Skoll [Fri, 1 Mar 2002 15:16:51 +0000 (15:16 +0000)]
Check for vendor code before trying to interpret RADIUS attributes.

22 years agoLarge patch from Frank Cusack <fcusack@fcusack.com> to add proper
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.

22 years agoAdded CHAP-challenge attribute to dictionary.
David F. Skoll [Thu, 28 Feb 2002 13:43:25 +0000 (13:43 +0000)]
Added CHAP-challenge attribute to dictionary.

22 years agoService-name was not being set correctly in PPPoE plugin.
David F. Skoll [Wed, 27 Feb 2002 16:00:30 +0000 (16:00 +0000)]
Service-name was not being set correctly in PPPoE plugin.

22 years agoWhitespace tidying.
David F. Skoll [Wed, 27 Feb 2002 15:51:20 +0000 (15:51 +0000)]
Whitespace tidying.

22 years agoAdd newline to ppp.pam (courtesy Frank Cusack)
David F. Skoll [Tue, 26 Feb 2002 03:17:34 +0000 (03:17 +0000)]
Add newline to ppp.pam (courtesy Frank Cusack)

22 years agoAnother patch from Frank Cusack to fix install: target.
David F. Skoll [Wed, 20 Feb 2002 02:22:35 +0000 (02:22 +0000)]
Another patch from Frank Cusack to fix install: target.

22 years agoMinor patches as suggested by Frank Cusack <fcusack@fcusack.com> to ensure
David F. Skoll [Tue, 19 Feb 2002 22:10:17 +0000 (22:10 +0000)]
Minor patches as suggested by Frank Cusack <fcusack@fcusack.com> to ensure
everything gets installed in $(DESTDIR)

22 years agoAdded new hooks:
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.

22 years agoEnable more verbose PPPoE plugin output
Michal Ostrowski [Tue, 12 Feb 2002 04:36:00 +0000 (04:36 +0000)]
Enable more verbose PPPoE plugin output

22 years agoPlugin for supplying CHAP password via a dedicated fd. (Arvin Schnell <arvin@suse...
Michal Ostrowski [Tue, 12 Feb 2002 00:55:25 +0000 (00:55 +0000)]
Plugin for supplying CHAP password via a dedicated fd. (Arvin Schnell <arvin@suse.de>)

22 years agoAdded radius_pre_auth_hook to let additional plugins stacked on top
David F. Skoll [Fri, 8 Feb 2002 17:28:31 +0000 (17:28 +0000)]
Added radius_pre_auth_hook to let additional plugins stacked on top
of RADIUS do interesting things.

22 years agoUpdated config.h.in
David F. Skoll [Tue, 22 Jan 2002 16:15:41 +0000 (16:15 +0000)]
Updated config.h.in

22 years agoAdded RADIUS suppport.
David F. Skoll [Tue, 22 Jan 2002 16:03:05 +0000 (16:03 +0000)]
Added RADIUS suppport.

22 years agoMade proxyarp search for the best matching interface (the one with the highest
David F. Skoll [Tue, 22 Jan 2002 16:01:33 +0000 (16:01 +0000)]
Made proxyarp search for the best matching interface (the one with the highest
netmask) instead of the first matching interface.

22 years agoFixed reversal of arguments to strlcpy.
David F. Skoll [Mon, 14 Jan 2002 15:31:34 +0000 (15:31 +0000)]
Fixed reversal of arguments to strlcpy.

22 years agoNoted that multilink implies the use of TDB.
David F. Skoll [Mon, 14 Jan 2002 14:26:31 +0000 (14:26 +0000)]
Noted that multilink implies the use of TDB.

22 years agoMade multilink and tdb code compile-time options. By default, they are
David F. Skoll [Mon, 14 Jan 2002 14:25:10 +0000 (14:25 +0000)]
Made multilink and tdb code compile-time options.  By default, they are
included, so the default build is unchanged.

22 years agoMade setipaddr() non-static so it can be called from plugins (particularly
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.

22 years agoFix for locking on Linux and related systems, particularly for devfs.
Russell Coker [Fri, 11 Jan 2002 18:27:17 +0000 (18:27 +0000)]
Fix for locking on Linux and related systems, particularly for devfs.
Also include <time.h> to avoid some warnings.

22 years agoStop it dumping random data to syslog on plugin version mismatch.
Russell Coker [Fri, 11 Jan 2002 18:11:51 +0000 (18:11 +0000)]
Stop it dumping random data to syslog on plugin version mismatch.

22 years agoInclude <string.h> to fix minor warnings.
Russell Coker [Fri, 11 Jan 2002 18:10:58 +0000 (18:10 +0000)]
Include <string.h> to fix minor warnings.

22 years agoMade the exit return code be reported via WEXITSTATUS(status) instead of status,
Russell Coker [Fri, 11 Jan 2002 18:10:16 +0000 (18:10 +0000)]
Made the exit return code be reported via WEXITSTATUS(status) instead of status,
also fixed a trivial memory leak.

22 years agoAdded <time.h> to stop warnings, and made it check errors from
Russell Coker [Fri, 11 Jan 2002 18:07:45 +0000 (18:07 +0000)]
Added <time.h> to stop warnings, and made it check errors from
pam_open_session().

22 years agoEnlarged the report buffer to 256 bytes.
Russell Coker [Fri, 11 Jan 2002 18:05:44 +0000 (18:05 +0000)]
Enlarged the report buffer to 256 bytes.

22 years agoClarified maxfail.
Russell Coker [Fri, 11 Jan 2002 18:04:37 +0000 (18:04 +0000)]
Clarified maxfail.

22 years agoFixed some minor syntax errors.
Russell Coker [Fri, 11 Jan 2002 18:02:45 +0000 (18:02 +0000)]
Fixed some minor syntax errors.

22 years agoAdd if_pppox.h, to avoid dependency on existence of linux-kernel source tree
Michal Ostrowski [Sat, 15 Dec 2001 00:34:24 +0000 (00:34 +0000)]
Add if_pppox.h, to avoid dependency on existence of linux-kernel source tree

22 years agoSwitch to using RoaringPenguin-based PPPOE plugin
Michal Ostrowski [Fri, 14 Dec 2001 02:55:20 +0000 (02:55 +0000)]
Switch to using RoaringPenguin-based PPPOE plugin

22 years agoCorrect utmp handling - Robert Davidson <puttputt@iaccess.ws>
Michal Ostrowski [Fri, 14 Dec 2001 02:52:09 +0000 (02:52 +0000)]
Correct utmp handling - Robert Davidson <puttputt@iaccess.ws>

22 years agoCorrect link stats - Michael Schwendt <mschwendt@yahoo.com>
Michal Ostrowski [Fri, 14 Dec 2001 02:51:34 +0000 (02:51 +0000)]
Correct link stats -  Michael Schwendt <mschwendt@yahoo.com>

22 years agocancel maxconnect timeout when the link goes down
Paul Mackerras [Fri, 9 Nov 2001 10:33:42 +0000 (10:33 +0000)]
cancel maxconnect timeout when the link goes down

22 years agofix dump_packet
Paul Mackerras [Fri, 9 Nov 2001 10:33:04 +0000 (10:33 +0000)]
fix dump_packet

22 years agoadd plugins and plugins/pppoe
Paul Mackerras [Thu, 26 Jul 2001 20:10:52 +0000 (20:10 +0000)]
add plugins and plugins/pppoe

22 years agorearrange, add pppoe
Paul Mackerras [Thu, 26 Jul 2001 20:06:22 +0000 (20:06 +0000)]
rearrange, add pppoe

22 years agopppoe plugin stuff - Michal Ostrowski's version, lightly hacked
Paul Mackerras [Thu, 26 Jul 2001 20:03:32 +0000 (20:03 +0000)]
pppoe plugin stuff - Michal Ostrowski's version, lightly hacked

22 years agofix comment
Paul Mackerras [Wed, 23 May 2001 03:39:50 +0000 (03:39 +0000)]
fix comment

22 years agoadd dump_packet, don't log lcp echo request/reply messages once
Paul Mackerras [Wed, 23 May 2001 03:39:14 +0000 (03:39 +0000)]
add dump_packet, don't log lcp echo request/reply messages once
the link is up unless debug >= 2

22 years agodescribe new behaviour of plugin option
Paul Mackerras [Wed, 23 May 2001 02:28:42 +0000 (02:28 +0000)]
describe new behaviour of plugin option

22 years agoexport generic_{dis,}establish_ppp for pppoe stuff
Paul Mackerras [Wed, 23 May 2001 02:28:14 +0000 (02:28 +0000)]
export generic_{dis,}establish_ppp for pppoe stuff
add line numbers to non-specific error messages for debugging

22 years agoUpdate the plugins documentation
Paul Mackerras [Mon, 21 May 2001 08:34:33 +0000 (08:34 +0000)]
Update the plugins documentation

22 years agominor bugfixes, now 2.4.2b1, add pkts_in/out to pppd_stats,
Paul Mackerras [Fri, 27 Apr 2001 23:16:13 +0000 (23:16 +0000)]
minor bugfixes, now 2.4.2b1, add pkts_in/out to pppd_stats,
finish transition to netif_set_mtu and tty_send/recv_config

22 years agoadd some more hooks and notifiers
Paul Mackerras [Fri, 27 Apr 2001 23:13:06 +0000 (23:13 +0000)]
add some more hooks and notifiers

23 years agoupdate to 2.4.1
Paul Mackerras [Sun, 25 Mar 2001 04:51:54 +0000 (04:51 +0000)]
update to 2.4.1

23 years agoprevent ipv6 stuff from complaining about no addresses in demand mode
Paul Mackerras [Thu, 22 Mar 2001 00:42:33 +0000 (00:42 +0000)]
prevent ipv6 stuff from complaining about no addresses in demand mode
if ipv6 is not enabled

23 years agoimplement %u for printing bytes sent/received
Paul Mackerras [Fri, 16 Mar 2001 02:08:13 +0000 (02:08 +0000)]
implement %u for printing bytes sent/received

23 years agobetter message for the case when /dev/ppp doesn't exist
Paul Mackerras [Tue, 13 Mar 2001 05:36:32 +0000 (05:36 +0000)]
better message for the case when /dev/ppp doesn't exist

23 years agoupdate to b2
Paul Mackerras [Mon, 12 Mar 2001 23:08:43 +0000 (23:08 +0000)]
update to b2

23 years agochange to bsd-style licence
Paul Mackerras [Mon, 12 Mar 2001 23:05:44 +0000 (23:05 +0000)]
change to bsd-style licence

23 years agomake establish/disestablish_ppp members of the channel struct,
Paul Mackerras [Mon, 12 Mar 2001 22:59:01 +0000 (22:59 +0000)]
make establish/disestablish_ppp members of the channel struct,
make restore_loop part of disestablish_ppp

23 years agofix silly bug in pr_log
Paul Mackerras [Mon, 12 Mar 2001 22:56:45 +0000 (22:56 +0000)]
fix silly bug in pr_log

23 years agoremove oops message when a bool option has been turned off by other
Paul Mackerras [Mon, 12 Mar 2001 22:56:12 +0000 (22:56 +0000)]
remove oops message when a bool option has been turned off by other
logic; fix silly bug in options_from_list

23 years agomove netif_set_mtu after set_ifunit so it can use ifname;
Paul Mackerras [Mon, 12 Mar 2001 22:55:26 +0000 (22:55 +0000)]
move netif_set_mtu after set_ifunit so it can use ifname;
remove a debug message

23 years agodon't insist on the suggested address from the secrets file
Paul Mackerras [Mon, 12 Mar 2001 22:50:01 +0000 (22:50 +0000)]
don't insist on the suggested address from the secrets file
unless it is the only authorized address

23 years agoexplain the kdebug value a bit better
Paul Mackerras [Mon, 12 Mar 2001 22:49:25 +0000 (22:49 +0000)]
explain the kdebug value a bit better

23 years agochange to bsd-style licence
Paul Mackerras [Mon, 12 Mar 2001 22:46:09 +0000 (22:46 +0000)]
change to bsd-style licence

23 years agofix a couple of bugs reported on the linux-ppp list:
Paul Mackerras [Sat, 10 Mar 2001 11:42:22 +0000 (11:42 +0000)]
fix a couple of bugs reported on the linux-ppp list:
set debug flags in channel, parse our version string correctly

23 years agoworkaround zlib bug
Paul Mackerras [Fri, 9 Mar 2001 01:03:50 +0000 (01:03 +0000)]
workaround zlib bug

23 years agodescribe dump and dryrun
Paul Mackerras [Fri, 9 Mar 2001 01:01:26 +0000 (01:01 +0000)]
describe dump and dryrun

23 years agomove the option printing stuff a little earlier, take out
Paul Mackerras [Fri, 9 Mar 2001 00:55:14 +0000 (00:55 +0000)]
move the option printing stuff a little earlier, take out
unnecessary openlog from sys_init in sys_linux.c

23 years agoupdate for 2.4.1
Paul Mackerras [Fri, 9 Mar 2001 00:53:57 +0000 (00:53 +0000)]
update for 2.4.1

23 years agofix silly typo
Paul Mackerras [Thu, 8 Mar 2001 05:29:28 +0000 (05:29 +0000)]
fix silly typo

23 years agoMake the example plugins here export the version number that they
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>/.

23 years agoadd _PATH_PLUGIN for the default place to look for plugins
Paul Mackerras [Thu, 8 Mar 2001 05:15:37 +0000 (05:15 +0000)]
add _PATH_PLUGIN for the default place to look for plugins

23 years agoUpdate for 2.4.1b1 release
Paul Mackerras [Thu, 8 Mar 2001 05:15:08 +0000 (05:15 +0000)]
Update for 2.4.1b1 release

23 years agoSeparate out the setting of the interface MTU from the setting of
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.

23 years agoNew options system with priorities for option values, with options
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.