ppp.git
25 years agoupdated compression and demand-dial stuff
Paul Mackerras [Fri, 16 Sep 1994 01:54:06 +0000 (01:54 +0000)]
updated compression and demand-dial stuff

25 years agoadded stuff for demand dialling and compression
Paul Mackerras [Thu, 1 Sep 1994 00:45:32 +0000 (00:45 +0000)]
added stuff for demand dialling and compression

25 years agoadded -DHAVE_PATHS_H
Paul Mackerras [Thu, 1 Sep 1994 00:44:45 +0000 (00:44 +0000)]
added -DHAVE_PATHS_H

25 years agoadded ccp and -DGIDSET_TYPE=int
Paul Mackerras [Thu, 1 Sep 1994 00:40:40 +0000 (00:40 +0000)]
added ccp and -DGIDSET_TYPE=int

25 years agoadded ccp stuff and -DHAVE_PATHS_H
Paul Mackerras [Thu, 1 Sep 1994 00:40:01 +0000 (00:40 +0000)]
added ccp stuff and -DHAVE_PATHS_H

25 years agostuff moved here from main.c; use uint32 for IP addresses;
Paul Mackerras [Thu, 1 Sep 1994 00:39:09 +0000 (00:39 +0000)]
stuff moved here from main.c; use uint32 for IP addresses;
added wait_input and CCP stuff.

25 years agostuff moved here from main.c; use uint32 for IP addresses;
Paul Mackerras [Thu, 1 Sep 1994 00:38:34 +0000 (00:38 +0000)]
stuff moved here from main.c; use uint32 for IP addresses;
patches from Al Longyear; added wait_input and CCP stuff.

25 years agostuff moved here from main.c; use uint32 for IP addresses
Paul Mackerras [Thu, 1 Sep 1994 00:37:18 +0000 (00:37 +0000)]
stuff moved here from main.c; use uint32 for IP addresses

25 years agoDeclare option variables here; define uint32
Paul Mackerras [Thu, 1 Sep 1994 00:36:05 +0000 (00:36 +0000)]
Declare option variables here; define uint32

25 years agoUse paths.h if it is available.
Paul Mackerras [Thu, 1 Sep 1994 00:32:56 +0000 (00:32 +0000)]
Use paths.h if it is available.

25 years agoUse _PATH_VARRUN from pathnames.h instead of _PATH_PIDFILE
Paul Mackerras [Thu, 1 Sep 1994 00:32:24 +0000 (00:32 +0000)]
Use _PATH_VARRUN from pathnames.h instead of _PATH_PIDFILE

25 years agomade SIGUSR1 toggle debug and SIGUSR2 open CCP (patent nonsense).
Paul Mackerras [Thu, 1 Sep 1994 00:28:14 +0000 (00:28 +0000)]
made SIGUSR1 toggle debug and SIGUSR2 open CCP (patent nonsense).

25 years agouse uint32 instead of u_long
Paul Mackerras [Thu, 1 Sep 1994 00:25:35 +0000 (00:25 +0000)]
use uint32 instead of u_long

25 years agouse uint32 for ACCM and other 32-bit quantities
Paul Mackerras [Thu, 1 Sep 1994 00:24:45 +0000 (00:24 +0000)]
use uint32 for ACCM and other 32-bit quantities

25 years agouse unit32 for ACCM and other 32-bit quantities;
Paul Mackerras [Thu, 1 Sep 1994 00:24:14 +0000 (00:24 +0000)]
use unit32 for ACCM and other 32-bit quantities;
fix bugs in sending and checking echo-replies

25 years agouse uint32 for IP addresses
Paul Mackerras [Thu, 1 Sep 1994 00:23:12 +0000 (00:23 +0000)]
use uint32 for IP addresses

25 years agodeclare option variables in pppd.h; use uint32 for IP addresses
Paul Mackerras [Thu, 1 Sep 1994 00:22:38 +0000 (00:22 +0000)]
declare option variables in pppd.h; use uint32 for IP addresses

25 years agoadded copyright notice;
Paul Mackerras [Thu, 1 Sep 1994 00:16:20 +0000 (00:16 +0000)]
added copyright notice;
patent nonsense: take CCP down on error instead of sending reset-req.

25 years agofix bug with sending retransmission with id=-1 after seeing ack.
Paul Mackerras [Thu, 1 Sep 1994 00:14:03 +0000 (00:14 +0000)]
fix bug with sending retransmission with id=-1 after seeing ack.

25 years agodeclare option variables in pppd.h; use uint32 for IP addresses;
Paul Mackerras [Thu, 1 Sep 1994 00:13:16 +0000 (00:13 +0000)]
declare option variables in pppd.h; use uint32 for IP addresses;
define option variables here.

25 years agodeclare option variables in pppd.h; use uint32 for IP addresses
Paul Mackerras [Thu, 1 Sep 1994 00:12:52 +0000 (00:12 +0000)]
declare option variables in pppd.h; use uint32 for IP addresses

25 years agoadded RCS id
Paul Mackerras [Wed, 31 Aug 1994 23:58:53 +0000 (23:58 +0000)]
added RCS id

25 years agoInitial revision
Paul Mackerras [Wed, 31 Aug 1994 23:55:58 +0000 (23:55 +0000)]
Initial revision

25 years agoadded stuff for compression and demand dialling;
Paul Mackerras [Wed, 31 Aug 1994 23:51:23 +0000 (23:51 +0000)]
added stuff for compression and demand dialling;
removed ppp_if_info stuff.

25 years agofix null deref and packet length check (off by 1)
Paul Mackerras [Wed, 31 Aug 1994 23:47:43 +0000 (23:47 +0000)]
fix null deref and packet length check (off by 1)

25 years agomoved more stuff into sys-*.c
Paul Mackerras [Thu, 25 Aug 1994 06:55:21 +0000 (06:55 +0000)]
moved more stuff into sys-*.c
improvements to run-script stuff from Al Longyear
cleaned up variable declarations
open device non-blocking if connect script or local

25 years agoInitial revision
Paul Mackerras [Mon, 22 Aug 1994 01:54:49 +0000 (01:54 +0000)]
Initial revision

25 years agopush compress module, added ccp_test
Paul Mackerras [Mon, 22 Aug 1994 00:41:29 +0000 (00:41 +0000)]
push compress module, added ccp_test

25 years agoadd ccp_test
Paul Mackerras [Mon, 22 Aug 1994 00:41:00 +0000 (00:41 +0000)]
add ccp_test

25 years agodevname -> devnam
Paul Mackerras [Mon, 22 Aug 1994 00:40:48 +0000 (00:40 +0000)]
devname -> devnam

25 years agouse ccp_test, open in silent mode if we don't want any compression.
Paul Mackerras [Mon, 22 Aug 1994 00:38:36 +0000 (00:38 +0000)]
use ccp_test, open in silent mode if we don't want any compression.

25 years agoadded ccp
Paul Mackerras [Sun, 21 Aug 1994 23:44:13 +0000 (23:44 +0000)]
added ccp

25 years agoInitial revision
Paul Mackerras [Thu, 11 Aug 1994 01:44:32 +0000 (01:44 +0000)]
Initial revision

25 years agoadd support for CCP, use select/poll instead of signals.
Paul Mackerras [Tue, 9 Aug 1994 06:30:38 +0000 (06:30 +0000)]
add support for CCP, use select/poll instead of signals.

25 years ago*** empty log message ***
Paul Mackerras [Tue, 9 Aug 1994 06:29:42 +0000 (06:29 +0000)]
*** empty log message ***

25 years agoadd support for CCP and BSD-Compress
Paul Mackerras [Tue, 9 Aug 1994 06:29:14 +0000 (06:29 +0000)]
add support for CCP and BSD-Compress

25 years agoUse select/poll instead of signals.
Paul Mackerras [Tue, 9 Aug 1994 06:27:52 +0000 (06:27 +0000)]
Use select/poll instead of signals.

25 years agocall lcp_close not lcp_lowerdown when no echo received
Paul Mackerras [Tue, 9 Aug 1994 06:24:59 +0000 (06:24 +0000)]
call lcp_close not lcp_lowerdown when no echo received

25 years agoInitial revision
Paul Mackerras [Tue, 9 Aug 1994 06:12:14 +0000 (06:12 +0000)]
Initial revision

25 years agoupgrade looped-back message from debug statement to syslog warning
Paul Mackerras [Tue, 14 Jun 1994 06:07:47 +0000 (06:07 +0000)]
upgrade looped-back message from debug statement to syslog warning

25 years agopatch for proxy arp stuff
Paul Mackerras [Thu, 9 Jun 1994 02:19:37 +0000 (02:19 +0000)]
patch for proxy arp stuff

25 years agopatch to proxyarp stuff from Michael Callahan
Paul Mackerras [Thu, 9 Jun 1994 01:53:19 +0000 (01:53 +0000)]
patch to proxyarp stuff from Michael Callahan

25 years ago*** empty log message ***
Paul Mackerras [Thu, 9 Jun 1994 01:51:10 +0000 (01:51 +0000)]
*** empty log message ***

25 years agomention use of facility local2 when compiled with debugging.
Paul Mackerras [Thu, 9 Jun 1994 01:50:48 +0000 (01:50 +0000)]
mention use of facility local2 when compiled with debugging.

25 years agodon't include if_ppp.h on suns
Paul Mackerras [Wed, 8 Jun 1994 00:38:49 +0000 (00:38 +0000)]
don't include if_ppp.h on suns

25 years agomention /etc/ppp/options.<ttyname>
Paul Mackerras [Mon, 30 May 1994 06:13:46 +0000 (06:13 +0000)]
mention /etc/ppp/options.<ttyname>

25 years agochange default route operations to use a routing socket;
Paul Mackerras [Mon, 30 May 1994 06:10:07 +0000 (06:10 +0000)]
change default route operations to use a routing socket;
proxy-arp uses a routing socket if RTM_VERSION >= 3.

25 years agofix from Al Longyear
Paul Mackerras [Mon, 30 May 1994 02:43:23 +0000 (02:43 +0000)]
fix from Al Longyear

25 years agofixes from Al Longyear
Paul Mackerras [Mon, 30 May 1994 02:42:55 +0000 (02:42 +0000)]
fixes from Al Longyear

25 years agouse receive asyncmap of 0 if not negotiated for compatibility
Paul Mackerras [Mon, 30 May 1994 02:38:49 +0000 (02:38 +0000)]
use receive asyncmap of 0 if not negotiated for compatibility
with other broken implementations.

25 years agorestored id keyword
Paul Mackerras [Mon, 30 May 1994 00:30:37 +0000 (00:30 +0000)]
restored id keyword

25 years agofixes from Al Longyear
Paul Mackerras [Mon, 30 May 1994 00:22:09 +0000 (00:22 +0000)]
fixes from Al Longyear

25 years agoadd ioctl for SIGIO to establish_ppp
Paul Mackerras [Fri, 27 May 1994 01:02:48 +0000 (01:02 +0000)]
add ioctl for SIGIO to establish_ppp

25 years agoput linux ioctls in sys-linux.c
Paul Mackerras [Fri, 27 May 1994 01:02:14 +0000 (01:02 +0000)]
put linux ioctls in sys-linux.c

25 years agoextra includes for linux
Paul Mackerras [Fri, 27 May 1994 01:01:49 +0000 (01:01 +0000)]
extra includes for linux

25 years agouse ext_accm instead of unsigned long [8]
Paul Mackerras [Fri, 27 May 1994 00:59:24 +0000 (00:59 +0000)]
use ext_accm instead of unsigned long [8]

25 years agoadded ext_accm
Paul Mackerras [Fri, 27 May 1994 00:56:17 +0000 (00:56 +0000)]
added ext_accm

25 years agoInitial revision
Paul Mackerras [Fri, 27 May 1994 00:55:25 +0000 (00:55 +0000)]
Initial revision

25 years agocheck permissions on file specified for +ua option
Paul Mackerras [Fri, 27 May 1994 00:43:34 +0000 (00:43 +0000)]
check permissions on file specified for +ua option

25 years agoadded in definitions from if_ppp.h so we don't need to include
Paul Mackerras [Fri, 27 May 1994 00:40:53 +0000 (00:40 +0000)]
added in definitions from if_ppp.h so we don't need to include
if_ppp.h in sun driver code.

25 years agowill compile under non-ANSI compiler; removed varargs/stdarg stuff
Paul Mackerras [Thu, 26 May 1994 06:45:52 +0000 (06:45 +0000)]
will compile under non-ANSI compiler; removed varargs/stdarg stuff

25 years agonow have man page
Paul Mackerras [Thu, 26 May 1994 06:45:03 +0000 (06:45 +0000)]
now have man page

25 years agoadd casts to eliminate compiler warnings
Paul Mackerras [Thu, 26 May 1994 06:43:42 +0000 (06:43 +0000)]
add casts to eliminate compiler warnings

25 years agodon't need if.h or if_ppp.h
Paul Mackerras [Thu, 26 May 1994 06:37:34 +0000 (06:37 +0000)]
don't need if.h or if_ppp.h

25 years agodon't need if_ppp.h
Paul Mackerras [Thu, 26 May 1994 06:36:22 +0000 (06:36 +0000)]
don't need if_ppp.h

25 years agoadded ext_accm defn so we don't need if_ppp.h
Paul Mackerras [Thu, 26 May 1994 06:33:18 +0000 (06:33 +0000)]
added ext_accm defn so we don't need if_ppp.h

25 years ago*** empty log message ***
Paul Mackerras [Wed, 25 May 1994 06:31:10 +0000 (06:31 +0000)]
*** empty log message ***

25 years agofixed compilation errors
Paul Mackerras [Wed, 25 May 1994 06:30:49 +0000 (06:30 +0000)]
fixed compilation errors

25 years agofixed compilation errors and warnings
Paul Mackerras [Wed, 25 May 1994 06:26:35 +0000 (06:26 +0000)]
fixed compilation errors and warnings

25 years agoformatting, fixed compiler warnings, added -vjccomp option
Paul Mackerras [Wed, 25 May 1994 06:25:48 +0000 (06:25 +0000)]
formatting, fixed compiler warnings, added -vjccomp option

25 years agoremove commented-out code
Paul Mackerras [Wed, 25 May 1994 06:25:05 +0000 (06:25 +0000)]
remove commented-out code

25 years agoremoved logwtmp
Paul Mackerras [Tue, 24 May 1994 11:31:54 +0000 (11:31 +0000)]
removed logwtmp

25 years agoInitial revision
Paul Mackerras [Tue, 24 May 1994 11:29:16 +0000 (11:29 +0000)]
Initial revision

25 years agoincorporate logwtmp in here
Paul Mackerras [Tue, 24 May 1994 11:28:26 +0000 (11:28 +0000)]
incorporate logwtmp in here

25 years agofix some minor compilation warnings
Paul Mackerras [Tue, 24 May 1994 11:27:56 +0000 (11:27 +0000)]
fix some minor compilation warnings

25 years agodocument xonxoff/-crtscts and lcp-echo-* options
Paul Mackerras [Tue, 24 May 1994 11:27:08 +0000 (11:27 +0000)]
document xonxoff/-crtscts and lcp-echo-* options
and ip-up/down scripts.

25 years agoput logwtmp in here
Paul Mackerras [Tue, 24 May 1994 11:26:21 +0000 (11:26 +0000)]
put logwtmp in here

25 years agoincorporate changes from linux port
Paul Mackerras [Tue, 24 May 1994 11:25:33 +0000 (11:25 +0000)]
incorporate changes from linux port

25 years agoadded extra options: xonxoff, -crtscts, lcp-echo-*, ipcp-max-slots
Paul Mackerras [Tue, 24 May 1994 11:24:32 +0000 (11:24 +0000)]
added extra options: xonxoff, -crtscts, lcp-echo-*, ipcp-max-slots

25 years agoadded echo stuff from linux port
Paul Mackerras [Tue, 24 May 1994 11:23:13 +0000 (11:23 +0000)]
added echo stuff from linux port
make echo-reply send our magic number correctly
fixed some minor compilation warnings

25 years agofixed some minor compilation warnings
Paul Mackerras [Tue, 24 May 1994 11:22:28 +0000 (11:22 +0000)]
fixed some minor compilation warnings

25 years agofixed some compilation warnings
Paul Mackerras [Tue, 24 May 1994 11:20:26 +0000 (11:20 +0000)]
fixed some compilation warnings

25 years agoInitial revision
Paul Mackerras [Tue, 24 May 1994 05:59:03 +0000 (05:59 +0000)]
Initial revision

25 years agoremoved some unnecessary includes
Paul Mackerras [Tue, 24 May 1994 05:57:56 +0000 (05:57 +0000)]
removed some unnecessary includes

25 years agoInitial revision
Paul Mackerras [Fri, 20 May 1994 05:32:16 +0000 (05:32 +0000)]
Initial revision

25 years ago*** empty log message ***
Paul Mackerras [Wed, 18 May 1994 06:34:56 +0000 (06:34 +0000)]
*** empty log message ***

25 years agoadded _PATH_TTYOPT and _PATH_USEROPT
Paul Mackerras [Wed, 18 May 1994 06:34:46 +0000 (06:34 +0000)]
added _PATH_TTYOPT and _PATH_USEROPT

25 years agoAllow setdevname, setspeed and setipaddr to return a fatal error
Paul Mackerras [Wed, 18 May 1994 06:34:15 +0000 (06:34 +0000)]
Allow setdevname, setspeed and setipaddr to return a fatal error
Add check_prot argument to options_from_file; check permissions
on ~/.ppprc and argument of file option
Process options for tty port (/etc/ppp/options.<ttyname>)
Don't allow loopback or multicast addresses for local or remote
IP address, and don't use these for default local IP address
Don't allow netmask option to reduce the network part of the mask

25 years agodefault REQ_SYSOPTIONS is now 1
Paul Mackerras [Wed, 18 May 1994 06:00:48 +0000 (06:00 +0000)]
default REQ_SYSOPTIONS is now 1
use ttyname on all systems, not just Suns
use name from passwd file if getlogin() returns NULL
take options from tty options file

25 years agoadd check for IP addresses that we don't want to use
Paul Mackerras [Wed, 18 May 1994 05:59:43 +0000 (05:59 +0000)]
add check for IP addresses that we don't want to use
(loopback or multicast addresses).

25 years agofix to make it terminate when signalled in passive/silent modes.
Paul Mackerras [Mon, 9 May 1994 04:32:41 +0000 (04:32 +0000)]
fix to make it terminate when signalled in passive/silent modes.

25 years agonote effect of modem option under ultrix
Paul Mackerras [Mon, 9 May 1994 02:40:39 +0000 (02:40 +0000)]
note effect of modem option under ultrix

25 years agofixed bug where we were doing invalid restore operations on stdin;
Paul Mackerras [Mon, 9 May 1994 02:40:21 +0000 (02:40 +0000)]
fixed bug where we were doing invalid restore operations on stdin;
ultrix support for modem/crtscts.

25 years agodeclare kdebugflag so it compiles
Paul Mackerras [Mon, 9 May 1994 02:33:41 +0000 (02:33 +0000)]
declare kdebugflag so it compiles

25 years agofix some buglets
Paul Mackerras [Fri, 6 May 1994 04:48:21 +0000 (04:48 +0000)]
fix some buglets

25 years ago*** empty log message ***
Paul Mackerras [Mon, 2 May 1994 00:29:07 +0000 (00:29 +0000)]
*** empty log message ***

25 years agochanged some exits to returns
Paul Mackerras [Sun, 1 May 1994 11:45:53 +0000 (11:45 +0000)]
changed some exits to returns

25 years agofix printing of ipcp packets on little-endian machines
Paul Mackerras [Sun, 1 May 1994 11:45:09 +0000 (11:45 +0000)]
fix printing of ipcp packets on little-endian machines

25 years agofixed bug in alrm; set CLOCAL bit on tty while running connector
Paul Mackerras [Sun, 1 May 1994 11:44:43 +0000 (11:44 +0000)]
fixed bug in alrm; set CLOCAL bit on tty while running connector

25 years ago*** empty log message ***
Paul Mackerras [Mon, 25 Apr 1994 06:48:25 +0000 (06:48 +0000)]
*** empty log message ***