]>
git.ozlabs.org Git - ppp.git/log
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>)
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.
David F. Skoll [Tue, 22 Jan 2002 16:15:41 +0000 (16:15 +0000)]
Updated config.h.in
David F. Skoll [Tue, 22 Jan 2002 16:03:05 +0000 (16:03 +0000)]
Added RADIUS suppport.
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.
David F. Skoll [Mon, 14 Jan 2002 15:31:34 +0000 (15:31 +0000)]
Fixed reversal of arguments to strlcpy.
David F. Skoll [Mon, 14 Jan 2002 14:26:31 +0000 (14:26 +0000)]
Noted that multilink implies the use of TDB.
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.
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.
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.
Russell Coker [Fri, 11 Jan 2002 18:11:51 +0000 (18:11 +0000)]
Stop it dumping random data to syslog on plugin version mismatch.
Russell Coker [Fri, 11 Jan 2002 18:10:58 +0000 (18:10 +0000)]
Include <string.h> to fix minor warnings.
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.
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().
Russell Coker [Fri, 11 Jan 2002 18:05:44 +0000 (18:05 +0000)]
Enlarged the report buffer to 256 bytes.
Russell Coker [Fri, 11 Jan 2002 18:04:37 +0000 (18:04 +0000)]
Clarified maxfail.
Russell Coker [Fri, 11 Jan 2002 18:02:45 +0000 (18:02 +0000)]
Fixed some minor syntax errors.
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
Michal Ostrowski [Fri, 14 Dec 2001 02:55:20 +0000 (02:55 +0000)]
Switch to using RoaringPenguin-based PPPOE plugin
Michal Ostrowski [Fri, 14 Dec 2001 02:52:09 +0000 (02:52 +0000)]
Correct utmp handling - Robert Davidson <puttputt@iaccess.ws>
Michal Ostrowski [Fri, 14 Dec 2001 02:51:34 +0000 (02:51 +0000)]
Correct link stats - Michael Schwendt <mschwendt@yahoo.com>
Paul Mackerras [Fri, 9 Nov 2001 10:33:42 +0000 (10:33 +0000)]
cancel maxconnect timeout when the link goes down
Paul Mackerras [Fri, 9 Nov 2001 10:33:04 +0000 (10:33 +0000)]
fix dump_packet
Paul Mackerras [Thu, 26 Jul 2001 20:10:52 +0000 (20:10 +0000)]
add plugins and plugins/pppoe
Paul Mackerras [Thu, 26 Jul 2001 20:06:22 +0000 (20:06 +0000)]
rearrange, add pppoe
Paul Mackerras [Thu, 26 Jul 2001 20:03:32 +0000 (20:03 +0000)]
pppoe plugin stuff - Michal Ostrowski's version, lightly hacked
Paul Mackerras [Wed, 23 May 2001 03:39:50 +0000 (03:39 +0000)]
fix comment
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
Paul Mackerras [Wed, 23 May 2001 02:28:42 +0000 (02:28 +0000)]
describe new behaviour of plugin option
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
Paul Mackerras [Mon, 21 May 2001 08:34:33 +0000 (08:34 +0000)]
Update the plugins documentation
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
Paul Mackerras [Fri, 27 Apr 2001 23:13:06 +0000 (23:13 +0000)]
add some more hooks and notifiers
Paul Mackerras [Sun, 25 Mar 2001 04:51:54 +0000 (04:51 +0000)]
update to 2.4.1
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
Paul Mackerras [Fri, 16 Mar 2001 02:08:13 +0000 (02:08 +0000)]
implement %u for printing bytes sent/received
Paul Mackerras [Tue, 13 Mar 2001 05:36:32 +0000 (05:36 +0000)]
better message for the case when /dev/ppp doesn't exist
Paul Mackerras [Mon, 12 Mar 2001 23:08:43 +0000 (23:08 +0000)]
update to b2
Paul Mackerras [Mon, 12 Mar 2001 23:05:44 +0000 (23:05 +0000)]
change to bsd-style licence
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
Paul Mackerras [Mon, 12 Mar 2001 22:56:45 +0000 (22:56 +0000)]
fix silly bug in pr_log
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
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
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
Paul Mackerras [Mon, 12 Mar 2001 22:49:25 +0000 (22:49 +0000)]
explain the kdebug value a bit better
Paul Mackerras [Mon, 12 Mar 2001 22:46:09 +0000 (22:46 +0000)]
change to bsd-style licence
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
Paul Mackerras [Fri, 9 Mar 2001 01:03:50 +0000 (01:03 +0000)]
workaround zlib bug
Paul Mackerras [Fri, 9 Mar 2001 01:01:26 +0000 (01:01 +0000)]
describe dump and dryrun
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
Paul Mackerras [Fri, 9 Mar 2001 00:53:57 +0000 (00:53 +0000)]
update for 2.4.1
Paul Mackerras [Thu, 8 Mar 2001 05:29:28 +0000 (05:29 +0000)]
fix silly typo
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:15:37 +0000 (05:15 +0000)]
add _PATH_PLUGIN for the default place to look for plugins
Paul Mackerras [Thu, 8 Mar 2001 05:15:08 +0000 (05:15 +0000)]
Update for 2.4.1b1 release
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, 8 Mar 2001 05:01:03 +0000 (05:01 +0000)]
add tty.o to OBJS, fix from James Carlson
Paul Mackerras [Thu, 8 Mar 2001 05:00:35 +0000 (05:00 +0000)]
fix up the chmod/chgrp stuff
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.
Paul Mackerras [Thu, 22 Feb 2001 03:15:21 +0000 (03:15 +0000)]
Rework options processing stuff to implement option priorities
so the per-tty options file gets processed correctly.
Moved stuff out of options.c into other files (e.g. setipaddr)
Paul Mackerras [Thu, 22 Feb 2001 03:11:47 +0000 (03:11 +0000)]
fix kill() call, thanks to Andreas Hofmeister
Paul Mackerras [Thu, 22 Feb 2001 03:10:57 +0000 (03:10 +0000)]
add handle_events() function
Paul Mackerras [Thu, 22 Feb 2001 03:10:06 +0000 (03:10 +0000)]
Because of a bug in zlib, restrict deflate parameter to 9..15 for now.
Thanks to James Carlson for this fix.
Paul Mackerras [Mon, 1 Jan 2001 23:43:25 +0000 (23:43 +0000)]
fix silly mistake in setting up pty
Paul Mackerras [Wed, 27 Dec 2000 23:28:19 +0000 (23:28 +0000)]
fix typo in modules.conf example
Paul Mackerras [Wed, 27 Dec 2000 23:27:48 +0000 (23:27 +0000)]
add -fPIC to CFLAGS
Paul Mackerras [Wed, 27 Dec 2000 23:27:29 +0000 (23:27 +0000)]
only accept frame if it passes the pass filter as well as the
active filter
Paul Mackerras [Wed, 27 Dec 2000 23:26:41 +0000 (23:26 +0000)]
print no_ppp_msg with %s
Paul Mackerras [Wed, 27 Dec 2000 23:25:55 +0000 (23:25 +0000)]
Increase the size of the buffer for option error messages
Paul Mackerras [Wed, 27 Dec 2000 23:25:12 +0000 (23:25 +0000)]
Add 76800 and 921600 baud rates
Paul Mackerras [Wed, 27 Dec 2000 23:24:13 +0000 (23:24 +0000)]
Correct nodtrcts -> nocdtrcts
Paul Mackerras [Sat, 5 Aug 2000 06:46:47 +0000 (06:46 +0000)]
reinstate these files with BSD-style copyright
Paul Mackerras [Tue, 1 Aug 2000 01:47:04 +0000 (01:47 +0000)]
update for 2.4
Paul Mackerras [Tue, 1 Aug 2000 01:46:24 +0000 (01:46 +0000)]
update for 2.4.0 release
Paul Mackerras [Tue, 1 Aug 2000 01:44:48 +0000 (01:44 +0000)]
turn off packet filtering for now since the kernel driver doesn't
support it yet.
Paul Mackerras [Tue, 1 Aug 2000 01:38:30 +0000 (01:38 +0000)]
add stuff for packet filtering
remove IPV6 stuff because it was GPL'd
Paul Mackerras [Tue, 1 Aug 2000 01:37:24 +0000 (01:37 +0000)]
add infrastructure to support packet filtering
Paul Mackerras [Tue, 1 Aug 2000 01:35:04 +0000 (01:35 +0000)]
new version rewritten for 2.4.0
Paul Mackerras [Mon, 24 Jul 2000 14:58:15 +0000 (14:58 +0000)]
fix allow-ip option, allow @login for secret meaning authenticate against
login database, update to 2.4.0b5, update man page for multilink options,
fix restoring device permissions
Paul Mackerras [Thu, 6 Jul 2000 11:17:03 +0000 (11:17 +0000)]
move more stuff from main.c into tty.c, for 2.4.0b4
Paul Mackerras [Fri, 30 Jun 2000 04:56:15 +0000 (04:56 +0000)]
comment out kinstall since it isn't needed now
Paul Mackerras [Fri, 30 Jun 2000 04:54:23 +0000 (04:54 +0000)]
Move the tty-related stuff out to tty.c as far as possible.
Paul Mackerras [Sat, 29 Apr 2000 12:32:59 +0000 (12:32 +0000)]
don't fall over in the charshunt if we get an EAGAIN or EINTR
error on a write.
Paul Mackerras [Sat, 29 Apr 2000 12:32:09 +0000 (12:32 +0000)]
Accept the endpoint discriminator from the peer unless the
noendpoint option is given, even if we're not doing multilink.
Include the noendpoint option even if !HAVE_MULTILINK.
Adi Masputra [Thu, 27 Apr 2000 03:51:18 +0000 (03:51 +0000)]
MP-related code should be wrapped within HAVE_MULTILINK pre-processor
conditional blocks, otherwise the build breaks on platforms where
HAVE_MULTILINK is not defined.
Adi Masputra [Thu, 27 Apr 2000 03:38:25 +0000 (03:38 +0000)]
Ignore the generated binaries and sparcv9 directory such that CVS
won't treat them as part of the repository (during CVS update).
Paul Mackerras [Mon, 24 Apr 2000 07:41:09 +0000 (07:41 +0000)]
allow peer to give endpoint even if we're not doing multilink;
fix demand dialling where we ask for multilink and don't get it.
Paul Mackerras [Mon, 24 Apr 2000 07:39:47 +0000 (07:39 +0000)]
update to 2.4.0b3
Adi Masputra [Mon, 24 Apr 2000 02:54:18 +0000 (02:54 +0000)]
Fixed bugs with regards to using other device names than "ppp", use
PPP_DRV_NAME definition instead.
Adi Masputra [Fri, 21 Apr 2000 01:27:57 +0000 (01:27 +0000)]
Fixed bugs with regards to using other device names than "ppp"
Adi Masputra [Fri, 21 Apr 2000 01:27:17 +0000 (01:27 +0000)]
Allows another name other than "ppp" be used as the PPP interface name.
If it's not defined, then use the legacy "ppp" without any changes.
Adi Masputra [Tue, 18 Apr 2000 23:51:29 +0000 (23:51 +0000)]
1) Created a subdirectory called 'solaris'. Currently it contains a replica
of the 'svr4' directory. However, over time, files in this directory
will contain the same code as the kernel-portion of pppd in future
releases of Solaris, hence they most probably will change in contents
and/or sub-structure.
2) Changed the 'configure' script to not create symbolic link Makefiles
when the OS is SunOS 4.x. Under 'SunOS' category, only SunOS 5.x (or
Solaris 2.x) is currently enabled.
3) Changed the rest of the utilities + pppd daemon Makefile.sol2 to point
to the solaris/Makedefs instead of the one in svr4 directory.
Paul Mackerras [Sat, 15 Apr 2000 11:39:52 +0000 (11:39 +0000)]
fix the bug in non-demand mode that I inadvertently introduced
Paul Mackerras [Sat, 15 Apr 2000 11:38:48 +0000 (11:38 +0000)]
Use /bin/sh in these scripts, not ksh, otherwise rpm incorrectly
thinks that this package depends on ksh.
Paul Mackerras [Sat, 15 Apr 2000 10:10:25 +0000 (10:10 +0000)]
fixes for demand mode and multilink
Adi Masputra [Sat, 15 Apr 2000 01:30:53 +0000 (01:30 +0000)]
Removed '-w' cc flag, since it practically disables all warnings. This
may not be good for future development. Plus, warnings should be fixed
instead of ignored.
Adi Masputra [Sat, 15 Apr 2000 01:27:13 +0000 (01:27 +0000)]
Some tiny fixes (minor castings) to remove annoying compiler warnings
Paul Mackerras [Thu, 13 Apr 2000 12:06:00 +0000 (12:06 +0000)]
Multilink cleanups and fixes.
We don't need to include multilink.o now if HAVE_MULTILINK is
not defined.
Paul Mackerras [Thu, 13 Apr 2000 12:05:16 +0000 (12:05 +0000)]
don't stop logging on detach if we use logfd or logfile option