ppp.git
20 years agoThis commit was manufactured by cvs2svn to create tag RELEASE_2_3_6
cvs2svn [Wed, 10 Mar 1999 05:10:48 +0000 (05:10 +0000)]
This commit was manufactured by cvs2svn to create tag
'RELEASE_2_3_6'.

20 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.

20 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

20 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

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

20 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.

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

20 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

20 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'

20 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.

20 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.

20 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

20 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

20 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

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

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

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

20 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

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

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

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

20 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.

20 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

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

20 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

20 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

20 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

20 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

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

20 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?)

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

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

20 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

20 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

20 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

20 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.

20 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

20 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

20 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

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

20 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

20 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

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

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

20 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

20 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.

20 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.

20 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

20 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

21 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.

21 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.

21 years agoadd support for CDTRCTS flow control
Christos Zoulas [Fri, 4 Sep 1998 18:49:16 +0000 (18:49 +0000)]
add support for CDTRCTS flow control

21 years agoadd include stdlib.h
Christos Zoulas [Fri, 4 Sep 1998 18:48:12 +0000 (18:48 +0000)]
add include stdlib.h

21 years agoMerge in 1.3 and post 1.3 fixes; some of them might be applicable to
Christos Zoulas [Wed, 2 Sep 1998 21:19:45 +0000 (21:19 +0000)]
Merge in 1.3 and post 1.3 fixes; some of them might be applicable to
other ppp ports.

- XXX: we don't check for the exact version of new features added, so
  this might not compile for all post 1.3 versions. It should be trivial
  to fix.

- ppp can delay the last packet so check:
    && (sc->sc_if.if_snd.ifq_head || sc->sc_fastq.ifq_head
|| sc->sc_outm)) {
  instead of just:
    && (sc->sc_if.if_snd.ifq_head || sc->sc_fastq.ifq_head)) {

- glue in ipflow fast forwarding.

- Only run pppasyncstart (sc->sc_start) from the netisr handler.
  This allows pppoutput to be called from splimp (e.g., when ipflow is
  in use.) without requiring pppasyncstart to run at splimp.

- defopt INET, NETATALK

- Remove force argument to pppstart; it is not necessary anymore.

21 years agoWhen adding a default route, make the route static. Since this is a ``manually
Christos Zoulas [Wed, 2 Sep 1998 20:58:13 +0000 (20:58 +0000)]
When adding a default route, make the route static. Since this is a ``manually
added route'', this arguably follows the network programming guidelines.
This is necessary, otherwise it is impossible to make the default route
stick in the presense of routed(8). There is a small fix that needs to
be applied to routed(8) in if.c (iflookup) where we always want to look
for interfaces *once* instead of waiting for the timeout period. This avoids
the race where routed finds the route added by pppd before it finds that the
ppp inteface is now active. With those two fixes, pppd can happily coexist
with routed.

21 years agoMajor restructuring of the ppp driver, leading towards
Paul Mackerras [Tue, 7 Jul 1998 04:27:37 +0000 (04:27 +0000)]
Major restructuring of the ppp driver, leading towards
a clean separation of generic and async ppp code.

21 years agofix incorrect compression ratio printout on linux
Paul Mackerras [Tue, 7 Jul 1998 04:23:04 +0000 (04:23 +0000)]
fix incorrect compression ratio printout on linux

21 years agoFix some minor bugs - idle timer getting reset on control
Paul Mackerras [Wed, 13 May 1998 06:00:59 +0000 (06:00 +0000)]
Fix some minor bugs - idle timer getting reset on control
packets, version check for free_skb the wrong way around.

21 years agoFix it so it compiles under RedHat 5.0 linux with glibc 2.0.7.
Paul Mackerras [Wed, 13 May 1998 05:49:22 +0000 (05:49 +0000)]
Fix it so it compiles under RedHat 5.0 linux with glibc 2.0.7.
Fix some compile warnings.

21 years agoTrap recursive bad_signal calls; idea from Richard Hipp.
Paul Mackerras [Tue, 5 May 1998 05:24:17 +0000 (05:24 +0000)]
Trap recursive bad_signal calls; idea from Richard Hipp.

21 years agoChange to make it compile on glibc 2 systems
Paul Mackerras [Mon, 4 May 1998 06:57:18 +0000 (06:57 +0000)]
Change to make it compile on glibc 2 systems

21 years agoupdate for 2.3.5
Paul Mackerras [Mon, 4 May 1998 06:14:35 +0000 (06:14 +0000)]
update for 2.3.5

21 years agoput SC_ENABLE_IP back for isdn stuff; update for 2.3.5
Paul Mackerras [Mon, 4 May 1998 06:14:00 +0000 (06:14 +0000)]
put SC_ENABLE_IP back for isdn stuff; update for 2.3.5

21 years agowork around se driver bug
Paul Mackerras [Mon, 4 May 1998 06:11:50 +0000 (06:11 +0000)]
work around se driver bug

21 years agouse uint instead of ulong, in case longs are 8 bytes
Paul Mackerras [Mon, 4 May 1998 06:11:35 +0000 (06:11 +0000)]
use uint instead of ulong, in case longs are 8 bytes

21 years agoupdate for 2.3.5; fix kernel version checking for linux
Paul Mackerras [Mon, 4 May 1998 06:10:32 +0000 (06:10 +0000)]
update for 2.3.5; fix kernel version checking for linux

21 years agonet/ -> include/net/
Paul Mackerras [Mon, 4 May 1998 06:09:56 +0000 (06:09 +0000)]
net/ -> include/net/

21 years agomods from Christos; net/ -> include/net/
Paul Mackerras [Mon, 4 May 1998 06:09:29 +0000 (06:09 +0000)]
mods from Christos; net/ -> include/net/

21 years agomods from Sowmini
Paul Mackerras [Mon, 4 May 1998 06:08:57 +0000 (06:08 +0000)]
mods from Sowmini

21 years agoFix up ms-wins codes
Paul Mackerras [Tue, 28 Apr 1998 23:38:11 +0000 (23:38 +0000)]
Fix up ms-wins codes

21 years agomods for DUNIX
Paul Mackerras [Tue, 28 Apr 1998 23:37:46 +0000 (23:37 +0000)]
mods for DUNIX

21 years agoMake packet printing stuff use vfmtmsg
Paul Mackerras [Tue, 28 Apr 1998 23:37:30 +0000 (23:37 +0000)]
Make packet printing stuff use vfmtmsg

21 years agomention it works under 2.6
Paul Mackerras [Thu, 2 Apr 1998 12:05:30 +0000 (12:05 +0000)]
mention it works under 2.6

21 years agoremove message about solaris 2.6
Paul Mackerras [Thu, 2 Apr 1998 12:04:37 +0000 (12:04 +0000)]
remove message about solaris 2.6

21 years agoFixes for freebsd
Paul Mackerras [Thu, 2 Apr 1998 12:04:19 +0000 (12:04 +0000)]
Fixes for freebsd

21 years agodefine HAVE_CRYPT_H if we have a /usr/include/crypt.h
Paul Mackerras [Wed, 1 Apr 1998 02:06:41 +0000 (02:06 +0000)]
define HAVE_CRYPT_H if we have a /usr/include/crypt.h

21 years agoremove references to /home/paulus
Paul Mackerras [Wed, 1 Apr 1998 00:31:23 +0000 (00:31 +0000)]
remove references to /home/paulus

21 years agowe don't actually need crypt.h, under linux at least.
Paul Mackerras [Wed, 1 Apr 1998 00:15:43 +0000 (00:15 +0000)]
we don't actually need crypt.h, under linux at least.

21 years agoFix a compilation problem under SunOS
Paul Mackerras [Tue, 31 Mar 1998 23:48:49 +0000 (23:48 +0000)]
Fix a compilation problem under SunOS

21 years agoFix it so it compiles with glibc 2 under linux
Paul Mackerras [Tue, 31 Mar 1998 23:48:03 +0000 (23:48 +0000)]
Fix it so it compiles with glibc 2 under linux

21 years agoFix it so it compiles with glibc 2
Paul Mackerras [Tue, 31 Mar 1998 23:47:40 +0000 (23:47 +0000)]
Fix it so it compiles with glibc 2

21 years agoUpdates to help it compile with glibc 2
Paul Mackerras [Tue, 31 Mar 1998 23:47:07 +0000 (23:47 +0000)]
Updates to help it compile with glibc 2

21 years agoupdate for 2.3.4
Paul Mackerras [Tue, 31 Mar 1998 04:31:33 +0000 (04:31 +0000)]
update for 2.3.4

21 years agoDescribe environment variables set for scripts.
Paul Mackerras [Tue, 31 Mar 1998 04:31:08 +0000 (04:31 +0000)]
Describe environment variables set for scripts.

21 years agorewrite the pid file when using updetach
Paul Mackerras [Mon, 30 Mar 1998 06:25:34 +0000 (06:25 +0000)]
rewrite the pid file when using updetach

21 years agoAdded updetach option.
Paul Mackerras [Thu, 26 Mar 1998 04:46:08 +0000 (04:46 +0000)]
Added updetach option.

21 years ago*** empty log message ***
Paul Mackerras [Thu, 26 Mar 1998 03:02:38 +0000 (03:02 +0000)]
*** empty log message ***

21 years agoUpdate for Solaris 2.6
Paul Mackerras [Thu, 26 Mar 1998 02:55:13 +0000 (02:55 +0000)]
Update for Solaris 2.6

21 years agoUpdate from Steve Perkins
Paul Mackerras [Thu, 26 Mar 1998 02:54:53 +0000 (02:54 +0000)]
Update from Steve Perkins

21 years agosupport old draft rfc deflate number
Paul Mackerras [Wed, 25 Mar 1998 04:05:01 +0000 (04:05 +0000)]
support old draft rfc deflate number

21 years agosmall mods for NeXT
Paul Mackerras [Wed, 25 Mar 1998 04:03:14 +0000 (04:03 +0000)]
small mods for NeXT

21 years agoMove deflate to the correct number (26);
Paul Mackerras [Wed, 25 Mar 1998 03:33:34 +0000 (03:33 +0000)]
Move deflate to the correct number (26);
leave the old number defined as PPP_DEFLATE_DRAFT

21 years agomoved libposix under NeXT
Paul Mackerras [Wed, 25 Mar 1998 03:18:32 +0000 (03:18 +0000)]
moved libposix under NeXT

21 years agoinclude from ../include not ..
Paul Mackerras [Wed, 25 Mar 1998 03:18:06 +0000 (03:18 +0000)]
include from ../include not ..

21 years agosupport old draft rfc deflate number
Paul Mackerras [Wed, 25 Mar 1998 03:11:37 +0000 (03:11 +0000)]
support old draft rfc deflate number

21 years agoinclude from ../include not ..
Paul Mackerras [Wed, 25 Mar 1998 03:09:58 +0000 (03:09 +0000)]
include from ../include not ..

21 years agoadded get_host_seed
Paul Mackerras [Wed, 25 Mar 1998 03:09:12 +0000 (03:09 +0000)]
added get_host_seed

21 years agoset script env vars for local and remote IP numbers
Paul Mackerras [Wed, 25 Mar 1998 03:08:47 +0000 (03:08 +0000)]
set script env vars for local and remote IP numbers

21 years agominor cleanup
Paul Mackerras [Wed, 25 Mar 1998 03:08:16 +0000 (03:08 +0000)]
minor cleanup

21 years agouse get_host_seed not gethostid
Paul Mackerras [Wed, 25 Mar 1998 03:07:49 +0000 (03:07 +0000)]
use get_host_seed not gethostid