]> git.ozlabs.org Git - ppp.git/log
ppp.git
25 years agoupdate version to 2.3.7
Paul Mackerras [Wed, 31 Mar 1999 06:07:59 +0000 (06:07 +0000)]
update version to 2.3.7

25 years agoadd reopen_log(), call it after using PAM stuff
Paul Mackerras [Wed, 31 Mar 1999 05:39:43 +0000 (05:39 +0000)]
add reopen_log(), call it after using PAM stuff

25 years agoget files from ../include/linux if not here
Paul Mackerras [Wed, 31 Mar 1999 05:38:29 +0000 (05:38 +0000)]
get files from ../include/linux if not here

25 years agofix minor compilation nit
Paul Mackerras [Wed, 31 Mar 1999 05:29:08 +0000 (05:29 +0000)]
fix minor compilation nit

25 years agoApply patch for sync serial support from Paul Fulghum.
Paul Mackerras [Tue, 30 Mar 1999 06:33:10 +0000 (06:33 +0000)]
Apply patch for sync serial support from Paul Fulghum.

25 years agoapply PAM patch
Paul Mackerras [Tue, 30 Mar 1999 06:02:21 +0000 (06:02 +0000)]
apply PAM patch

25 years agoalpha -> beta
Paul Mackerras [Tue, 30 Mar 1999 06:02:05 +0000 (06:02 +0000)]
alpha -> beta

25 years agochange pppd to group pppusers if possible
Paul Mackerras [Tue, 30 Mar 1999 06:01:42 +0000 (06:01 +0000)]
change pppd to group pppusers if possible

25 years agoset the SPEED variable later so it is valid
Paul Mackerras [Tue, 30 Mar 1999 06:01:24 +0000 (06:01 +0000)]
set the SPEED variable later so it is valid

25 years agofixes to error messages.
Paul Mackerras [Tue, 30 Mar 1999 04:23:14 +0000 (04:23 +0000)]
fixes to error messages.

25 years agoFix the behaviour of device_script when in/out are < 2.
Paul Mackerras [Tue, 30 Mar 1999 04:22:57 +0000 (04:22 +0000)]
Fix the behaviour of device_script when in/out are < 2.
Only call reap_kids if we have seen a SIGCHLD.

25 years agomoved to ../include/linux or no longer needed post 2.0
Paul Mackerras [Mon, 29 Mar 1999 04:43:32 +0000 (04:43 +0000)]
moved to ../include/linux or no longer needed post 2.0

25 years agoadd pppdump
Paul Mackerras [Thu, 25 Mar 1999 01:31:22 +0000 (01:31 +0000)]
add pppdump

25 years agoprint timestamp at beginning of each section
Paul Mackerras [Thu, 25 Mar 1999 01:31:06 +0000 (01:31 +0000)]
print timestamp at beginning of each section

25 years agoAdd timestamp at beginning of each section of record file.
Paul Mackerras [Thu, 25 Mar 1999 01:30:32 +0000 (01:30 +0000)]
Add timestamp at beginning of each section of record file.
Open device as root if it is the default device.

25 years agoneed these too
Paul Mackerras [Wed, 24 Mar 1999 23:39:57 +0000 (23:39 +0000)]
need these too

25 years agoshould read the tty options file now.
Paul Mackerras [Wed, 24 Mar 1999 05:05:25 +0000 (05:05 +0000)]
should read the tty options file now.

25 years agomake pppdump as well
Paul Mackerras [Tue, 23 Mar 1999 03:33:23 +0000 (03:33 +0000)]
make pppdump as well

25 years agodocument record option
Paul Mackerras [Tue, 23 Mar 1999 03:22:34 +0000 (03:22 +0000)]
document record option

25 years agocheck in pppdump sources
Paul Mackerras [Tue, 23 Mar 1999 03:21:58 +0000 (03:21 +0000)]
check in pppdump sources

25 years agoAllow record option with pty option.
Paul Mackerras [Tue, 23 Mar 1999 01:23:46 +0000 (01:23 +0000)]
Allow record option with pty option.
Open record file in charshunt.
Be more careful about closing things.
Ignore SIGHUP in charshunt.

25 years agoupdate
Paul Mackerras [Mon, 22 Mar 1999 05:56:28 +0000 (05:56 +0000)]
update

25 years agohandle M_FLUSH and M_IOCTL messages in lrput routine.
Paul Mackerras [Mon, 22 Mar 1999 05:55:59 +0000 (05:55 +0000)]
handle M_FLUSH and M_IOCTL messages in lrput routine.

25 years agoAdd pty, notty and record options.
Paul Mackerras [Mon, 22 Mar 1999 05:55:40 +0000 (05:55 +0000)]
Add pty, notty and record options.
Fix stats - problem was differing stats structures between
linux and other platforms.
Fix for removing proxy arp entry on linux.
IPX patches.

25 years agoremove a couple of ansi-C-isms.
Paul Mackerras [Fri, 19 Mar 1999 04:23:54 +0000 (04:23 +0000)]
remove a couple of ansi-C-isms.
loop_frame is needed by some sys-*.c.
print connect time and bytes transferred on close;
added get_ppp_stats to sys-*.c.

25 years agochanged order of args to strlcpy/strlcat.
Paul Mackerras [Fri, 19 Mar 1999 01:29:51 +0000 (01:29 +0000)]
changed order of args to strlcpy/strlcat.
removed unused note_debug_level.
made some functions static.

25 years agoremoved some functions made static and other unused stuff.
Paul Mackerras [Fri, 19 Mar 1999 01:28:27 +0000 (01:28 +0000)]
removed some functions made static and other unused stuff.
changed order of args to strlcpy/strlcat.

25 years agomade some more functions static.
Paul Mackerras [Fri, 19 Mar 1999 01:27:43 +0000 (01:27 +0000)]
made some more functions static.
changed order of args to strlcpy/strlcat.
move remote_name/explicit_remote to auth.c.
remote unused code.

25 years agoadded log_to_fd to specify which fd log output should go to.
Paul Mackerras [Fri, 19 Mar 1999 01:26:41 +0000 (01:26 +0000)]
added log_to_fd to specify which fd log output should go to.
device_script now connects script's stderr to log_to_fd.
made some more functions static.
got rid of quit().
changed order of args to strlcpy/strlcat.
do get_input before checking kill_link.

25 years agoadded receive-all option.
Paul Mackerras [Fri, 19 Mar 1999 01:24:57 +0000 (01:24 +0000)]
added receive-all option.
ignore extra unrecognized options in nak.

25 years agomade some functions static.
Paul Mackerras [Fri, 19 Mar 1999 01:22:09 +0000 (01:22 +0000)]
made some functions static.
ignore extra unrecognized options in nak.
changed order of args to strlcpy/strlcat.

25 years agomade loop_frame static
Paul Mackerras [Fri, 19 Mar 1999 01:21:28 +0000 (01:21 +0000)]
made loop_frame static

25 years agoif remote name was explicitly specified with remotename option,
Paul Mackerras [Fri, 19 Mar 1999 01:20:19 +0000 (01:20 +0000)]
if remote name was explicitly specified with remotename option,
always use that instead of name supplied by peer.
changed order of args to strlcpy.

25 years agoIgnore extra unrecognized options in Nak.
Paul Mackerras [Fri, 19 Mar 1999 01:19:31 +0000 (01:19 +0000)]
Ignore extra unrecognized options in Nak.
change order of args to strlcpy/strlcat.

25 years agodon't run auth-up/down script while one is already running.
Paul Mackerras [Fri, 19 Mar 1999 01:17:51 +0000 (01:17 +0000)]
don't run auth-up/down script while one is already running.
parse permitted IP addresses once instead of each time list is
scanned and store them as numerical address/mask pairs.
don't use remote name in checking for existence of secrets
unless is was explicitly specified with remotename option.
don't use remote IP address in checking for existence of secrets.
print better message if no secrets found (or no IP allowed).
made some more functions static.
changed order of args for strlcpy/strlcat.
fix for shadow password stuff.
if specified remote IP address is not specified or not permitted,
use the first single-host permitted address (if any).

25 years agoadd data_name to struct protent
Paul Mackerras [Tue, 16 Mar 1999 22:54:43 +0000 (22:54 +0000)]
add data_name to struct protent
call lcp_lowerdown when connection terminates

25 years agomake establish_ppp and open_ppp_loopback return the correct fd
Paul Mackerras [Tue, 16 Mar 1999 22:53:49 +0000 (22:53 +0000)]
make establish_ppp and open_ppp_loopback return the correct fd

25 years agoadd question about auth in 2.3.6
Paul Mackerras [Tue, 16 Mar 1999 22:50:29 +0000 (22:50 +0000)]
add question about auth in 2.3.6

25 years agodon't call np_down unless np_up has been called
Paul Mackerras [Tue, 16 Mar 1999 04:00:53 +0000 (04:00 +0000)]
don't call np_down unless np_up has been called

25 years agofix silly mistake
Paul Mackerras [Tue, 16 Mar 1999 04:00:35 +0000 (04:00 +0000)]
fix silly mistake

25 years agosyslog -> notice/error/etc.
Paul Mackerras [Tue, 16 Mar 1999 03:15:15 +0000 (03:15 +0000)]
syslog -> notice/error/etc.
use slprintf instead of sprintf
trimmed debug

25 years agodon't print debug msgs to stderr unless debug is set
Paul Mackerras [Tue, 16 Mar 1999 03:14:50 +0000 (03:14 +0000)]
don't print debug msgs to stderr unless debug is set

25 years agofix for usepeerdns stuff
Paul Mackerras [Tue, 16 Mar 1999 03:12:03 +0000 (03:12 +0000)]
fix for usepeerdns stuff
syslog -> notice/error/etc.
use slprintf instead of sprintf

25 years agominor compilation fixes
Paul Mackerras [Tue, 16 Mar 1999 02:58:01 +0000 (02:58 +0000)]
minor compilation fixes
changed syslog -> notice/error/etc.

25 years agoadded add_fd, remove_fd, removed wait_loop_output, wait_time.
Paul Mackerras [Tue, 16 Mar 1999 02:57:08 +0000 (02:57 +0000)]
added add_fd, remove_fd, removed wait_loop_output, wait_time.
changed syslog -> notice/error/fatal etc.

25 years agodon't die on EIO on setting asyncmap
Paul Mackerras [Tue, 16 Mar 1999 02:53:51 +0000 (02:53 +0000)]
don't die on EIO on setting asyncmap
fixed indentation
changed syslog to notice/error/etc.

25 years agoadd add_fd and remove_fd, remove wait_loop_output and wait_time
Paul Mackerras [Tue, 16 Mar 1999 02:51:06 +0000 (02:51 +0000)]
add add_fd and remove_fd, remove wait_loop_output and wait_time
changed debug macros

25 years agoadd %P and %B formats, fixed %I
Paul Mackerras [Tue, 16 Mar 1999 02:50:15 +0000 (02:50 +0000)]
add %P and %B formats, fixed %I
change to using add_fd, remove_fd
and eliminate wait_loop_output, wait_time
change sprintf -> slprintf
don't set euid = user's UID on reopening the device because
we have changed the permissions by then
write log messages to stderr if not detached and not using
default device

25 years agomake default asyncmap 0
Paul Mackerras [Tue, 16 Mar 1999 02:47:00 +0000 (02:47 +0000)]
make default asyncmap 0
change syslog -> notice/error etc., trimmed debug
change sprintf -> slprintf

25 years agouse strlcpy, strlcat, slprintf everywhere
Paul Mackerras [Fri, 12 Mar 1999 06:07:24 +0000 (06:07 +0000)]
use strlcpy, strlcat, slprintf everywhere
add privgroup option
don't allow devname, connector etc. set in privileged place
to be overridden by non-privileged user
use error, warn, etc. functions instead of syslog
fix problem where signals were blocked for too long

25 years agoCorrected the comment about the device name option being privileged.
Paul Mackerras [Wed, 10 Mar 1999 05:10:47 +0000 (05:10 +0000)]
Corrected the comment about the device name option being privileged.

25 years agofix compile problems on OSF/1
Paul Mackerras [Wed, 10 Mar 1999 03:07:48 +0000 (03:07 +0000)]
fix compile problems on OSF/1

25 years agominor changes so it compiles with pre-ansi compiler;
Paul Mackerras [Mon, 8 Mar 1999 05:34:46 +0000 (05:34 +0000)]
minor changes so it compiles with pre-ansi compiler;
move hangup_modem back into main.c

25 years agomake it compile for sunos
Paul Mackerras [Mon, 8 Mar 1999 05:34:16 +0000 (05:34 +0000)]
make it compile for sunos

25 years agoPut in a have_route_to cobbled up from stuff sent by Sowmini.
Paul Mackerras [Mon, 8 Mar 1999 04:49:12 +0000 (04:49 +0000)]
Put in a have_route_to cobbled up from stuff sent by Sowmini.

25 years agofix silly mistakes
Paul Mackerras [Mon, 8 Mar 1999 04:48:48 +0000 (04:48 +0000)]
fix silly mistakes

25 years agomove have_route_to check from ip_addr_check to auth_ip_addr
Paul Mackerras [Mon, 8 Mar 1999 01:47:54 +0000 (01:47 +0000)]
move have_route_to check from ip_addr_check to auth_ip_addr

25 years agoChange from printing `ppp 2.3 patch level 6' to `ppp 2.3.6'
Paul Mackerras [Mon, 8 Mar 1999 01:47:24 +0000 (01:47 +0000)]
Change from printing `ppp 2.3 patch level 6' to `ppp 2.3.6'

25 years agoIgnore routes through our own interface in have_route_to
Paul Mackerras [Mon, 8 Mar 1999 01:46:49 +0000 (01:46 +0000)]
Ignore routes through our own interface in have_route_to
so demand mode works properly.

25 years agoAdd dummy have_route_to functions.
Paul Mackerras [Mon, 8 Mar 1999 01:46:24 +0000 (01:46 +0000)]
Add dummy have_route_to functions.

25 years agoleave the real user ID as the user's now
Paul Mackerras [Sat, 6 Mar 1999 11:28:11 +0000 (11:28 +0000)]
leave the real user ID as the user's now

25 years agoexplain about behaviour when opening the device
Paul Mackerras [Wed, 3 Mar 1999 00:52:08 +0000 (00:52 +0000)]
explain about behaviour when opening the device

25 years agoopen the device as the user unless the device name came from a
Paul Mackerras [Tue, 2 Mar 1999 05:59:22 +0000 (05:59 +0000)]
open the device as the user unless the device name came from a
privileged source

25 years agodoes better without the includes
Paul Mackerras [Tue, 2 Mar 1999 05:37:51 +0000 (05:37 +0000)]
does better without the includes

25 years agoupdate version number
Paul Mackerras [Tue, 2 Mar 1999 05:37:32 +0000 (05:37 +0000)]
update version number

25 years agousepeerdns stuff from Nick Walker
Paul Mackerras [Tue, 2 Mar 1999 05:37:12 +0000 (05:37 +0000)]
usepeerdns stuff from Nick Walker

25 years agolimit printing of excess data in log to 32 bytes
Paul Mackerras [Tue, 2 Mar 1999 05:36:42 +0000 (05:36 +0000)]
limit printing of excess data in log to 32 bytes

25 years agousepeerdns option from Nick Walker
Paul Mackerras [Tue, 2 Mar 1999 05:35:09 +0000 (05:35 +0000)]
usepeerdns option from Nick Walker

25 years agobug fix from Johan Widen
Paul Mackerras [Tue, 2 Mar 1999 05:34:16 +0000 (05:34 +0000)]
bug fix from Johan Widen

25 years agoupdate the version number
Paul Mackerras [Tue, 2 Mar 1999 05:33:45 +0000 (05:33 +0000)]
update the version number

25 years agoMake auth be the default if we don't have the noauth option and
Paul Mackerras [Tue, 2 Mar 1999 05:33:09 +0000 (05:33 +0000)]
Make auth be the default if we don't have the noauth option and
we have a default route.

25 years agoupdate: hide-password, behaviour of auth/noauth
Paul Mackerras [Tue, 2 Mar 1999 05:32:30 +0000 (05:32 +0000)]
update: hide-password, behaviour of auth/noauth

25 years agoadded hide-password option
Paul Mackerras [Tue, 2 Mar 1999 05:29:39 +0000 (05:29 +0000)]
added hide-password option

25 years agodon't need auth and usehostname by default any more
Paul Mackerras [Tue, 2 Mar 1999 05:28:01 +0000 (05:28 +0000)]
don't need auth and usehostname by default any more

25 years agoupdate for 2.3.6 release
Paul Mackerras [Tue, 2 Mar 1999 05:27:24 +0000 (05:27 +0000)]
update for 2.3.6 release

25 years agoexport readable() from options.c so auth.c can use it
Paul Mackerras [Fri, 26 Feb 1999 11:03:34 +0000 (11:03 +0000)]
export readable() from options.c so auth.c can use it

25 years agofix MT stuff; add DEBUG to compile command line for now
Paul Mackerras [Fri, 26 Feb 1999 10:53:28 +0000 (10:53 +0000)]
fix MT stuff; add DEBUG to compile command line for now

25 years agoupdate
Paul Mackerras [Fri, 26 Feb 1999 10:52:21 +0000 (10:52 +0000)]
update

25 years agofix up the multithread stuff (hopefully?)
Paul Mackerras [Fri, 26 Feb 1999 10:52:07 +0000 (10:52 +0000)]
fix up the multithread stuff (hopefully?)

25 years agominor fixes, update man page
Paul Mackerras [Fri, 26 Feb 1999 10:38:52 +0000 (10:38 +0000)]
minor fixes, update man page

25 years agoadd a have_route_to
Paul Mackerras [Fri, 26 Feb 1999 10:35:34 +0000 (10:35 +0000)]
add a have_route_to

25 years agoallow chars 0x20 - 0x3f to be escaped
Paul Mackerras [Fri, 26 Feb 1999 10:34:47 +0000 (10:34 +0000)]
allow chars 0x20 - 0x3f to be escaped

25 years agorevert it to 2.3.6 for now
Paul Mackerras [Fri, 26 Feb 1999 10:33:43 +0000 (10:33 +0000)]
revert it to 2.3.6 for now

25 years agoFix it for 2.0.x kernels;
Paul Mackerras [Fri, 26 Feb 1999 06:48:21 +0000 (06:48 +0000)]
Fix it for 2.0.x kernels;
import updates from 2.2.x including ipv6 stuff;
change if_ppp.h so pppd can compile with glibc 2.1

25 years agoDon't bother about stub files in /usr/include/net any more.
Paul Mackerras [Fri, 26 Feb 1999 06:09:26 +0000 (06:09 +0000)]
Don't bother about stub files in /usr/include/net any more.
Change "newer" to "not older" in messages.

25 years agokludge for pseudo-glibc on linux/ppc
Paul Mackerras [Wed, 20 Jan 1999 00:02:21 +0000 (00:02 +0000)]
kludge for pseudo-glibc on linux/ppc

25 years agoremove typo, get ethernet hw address using arp request
Paul Mackerras [Wed, 20 Jan 1999 00:01:53 +0000 (00:01 +0000)]
remove typo, get ethernet hw address using arp request

25 years agodon't die on write errors to the link
Paul Mackerras [Wed, 20 Jan 1999 00:01:25 +0000 (00:01 +0000)]
don't die on write errors to the link

25 years agoremove unneeded devnam_info
Paul Mackerras [Wed, 20 Jan 1999 00:01:00 +0000 (00:01 +0000)]
remove unneeded devnam_info

25 years agoIf device name given, complain if not privileged
Paul Mackerras [Wed, 20 Jan 1999 00:00:35 +0000 (00:00 +0000)]
If device name given, complain if not privileged

25 years agouse fchmod rather than chmod to restore device permissions
Paul Mackerras [Tue, 19 Jan 1999 23:59:39 +0000 (23:59 +0000)]
use fchmod rather than chmod to restore device permissions

25 years agotake out superfluous check
Paul Mackerras [Tue, 19 Jan 1999 23:59:14 +0000 (23:59 +0000)]
take out superfluous check

25 years agofix accounting
Paul Mackerras [Tue, 19 Jan 1999 23:58:35 +0000 (23:58 +0000)]
fix accounting

25 years agomove PPP_VERSION to ppp.c; don't use dev->tbusy as a lock
Paul Mackerras [Tue, 19 Jan 1999 23:57:44 +0000 (23:57 +0000)]
move PPP_VERSION to ppp.c; don't use dev->tbusy as a lock

25 years agoRevert the previous change. NetBSD is has the weird md4 library that
Christos Zoulas [Tue, 24 Nov 1998 19:38:05 +0000 (19:38 +0000)]
Revert the previous change. NetBSD is has the weird md4 library that
needs the length in bytes instead of bits. #ifdef this and explain.

25 years agoMD4Update takes bytes not bits! Now the regression test of the README.MSCHAP80
Christos Zoulas [Tue, 24 Nov 1998 19:30:38 +0000 (19:30 +0000)]
MD4Update takes bytes not bits! Now the regression test of the README.MSCHAP80
file works.

25 years agoUpdate to new pppd with new option parsing stuff
Paul Mackerras [Sat, 7 Nov 1998 06:59:32 +0000 (06:59 +0000)]
Update to new pppd with new option parsing stuff

25 years agodon't try to look up * as a hostname
Paul Mackerras [Mon, 2 Nov 1998 10:55:19 +0000 (10:55 +0000)]
don't try to look up * as a hostname

25 years agoChange UID to ORIG_UID because bash defines UID.
Paul Mackerras [Sun, 13 Sep 1998 23:38:49 +0000 (23:38 +0000)]
Change UID to ORIG_UID because bash defines UID.

25 years agoSome systems define `u' as a macro.
Paul Mackerras [Sun, 13 Sep 1998 23:37:12 +0000 (23:37 +0000)]
Some systems define `u' as a macro.