ppp.git
26 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

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

26 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

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

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

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

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

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

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

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

26 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

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

26 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

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

26 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

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

26 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

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

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

26 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

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

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

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

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

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

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

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

26 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

26 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

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

26 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]

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

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

26 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

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

26 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

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

26 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

26 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

26 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

26 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

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

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

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

26 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

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

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

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

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

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

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

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

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

26 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

26 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

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

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

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

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

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

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

26 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

26 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

26 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

26 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).

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

26 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

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

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

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

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

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

26 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

26 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

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

26 years ago*** empty log message ***
Paul Mackerras [Thu, 21 Apr 1994 03:34:00 +0000 (03:34 +0000)]
*** empty log message ***

26 years agofix bogus comment which was removing sc_bytesrcvd
Paul Mackerras [Thu, 21 Apr 1994 03:28:22 +0000 (03:28 +0000)]
fix bogus comment which was removing sc_bytesrcvd
use ext_accm for sc_asyncmap

26 years agomerged in Ultrix port, some clean up
Paul Mackerras [Thu, 21 Apr 1994 03:11:03 +0000 (03:11 +0000)]
merged in Ultrix port, some clean up

26 years agoInitial revision
Paul Mackerras [Thu, 21 Apr 1994 03:10:51 +0000 (03:10 +0000)]
Initial revision

26 years ago*** empty log message ***
Paul Mackerras [Thu, 21 Apr 1994 03:10:50 +0000 (03:10 +0000)]
*** empty log message ***

26 years agouse /etc/ppp/pppn.pid for ultrix
Paul Mackerras [Wed, 20 Apr 1994 00:11:32 +0000 (00:11 +0000)]
use /etc/ppp/pppn.pid for ultrix

26 years ago*** empty log message ***
Paul Mackerras [Wed, 20 Apr 1994 00:09:02 +0000 (00:09 +0000)]
*** empty log message ***

26 years agoInitial revision
Paul Mackerras [Mon, 18 Apr 1994 23:41:52 +0000 (23:41 +0000)]
Initial revision

26 years agoadded sl_compress_setup; protect against multiple inclusion
Paul Mackerras [Mon, 18 Apr 1994 05:09:38 +0000 (05:09 +0000)]
added sl_compress_setup; protect against multiple inclusion

26 years agoadded extra ioctls for extended & receive asyncmaps;
Paul Mackerras [Mon, 18 Apr 1994 05:09:03 +0000 (05:09 +0000)]
added extra ioctls for extended & receive asyncmaps;
extra flags for debugging and finer VJ control

26 years agoadded extended asyncmap, ultrix mods, extra flag bits
Paul Mackerras [Mon, 18 Apr 1994 05:07:11 +0000 (05:07 +0000)]
added extended asyncmap, ultrix mods, extra flag bits
for debugging etc., changed PPP_HEADER_LEN to PPP_HDRLEN
and PPP_FCS_LEN to PPP_FCSLEN

26 years agoAdded new options: kdebug, disconnect, lock, mtu, escape.
Paul Mackerras [Mon, 18 Apr 1994 04:40:19 +0000 (04:40 +0000)]
Added new options: kdebug, disconnect, lock, mtu, escape.
Updated refs to new RFCs

26 years agoInitial revision
Paul Mackerras [Mon, 18 Apr 1994 04:11:11 +0000 (04:11 +0000)]
Initial revision

26 years agoadded support for kdebug, extended accm, detecting 7-bit links;
Paul Mackerras [Mon, 18 Apr 1994 04:10:50 +0000 (04:10 +0000)]
added support for kdebug, extended accm, detecting 7-bit links;
removed run_program (to main.c)

26 years agoadded phase and values for it.
Paul Mackerras [Mon, 18 Apr 1994 04:08:41 +0000 (04:08 +0000)]
added phase and values for it.

26 years agoupdate to now
Paul Mackerras [Mon, 18 Apr 1994 04:08:22 +0000 (04:08 +0000)]
update to now

26 years agoadded kdebug, mtu, lock, escape, disconnect options;
Paul Mackerras [Mon, 18 Apr 1994 04:07:48 +0000 (04:07 +0000)]
added kdebug, mtu, lock, escape, disconnect options;
some mods for ultrix compat.

26 years agoadded support for device locking, kdebug, and disconnect script;
Paul Mackerras [Mon, 18 Apr 1994 04:06:26 +0000 (04:06 +0000)]
added support for device locking, kdebug, and disconnect script;
added phase variable, rearranged a bit, fix timeout stuff slightly,
move run_program and reap_kids here.

26 years agoadded ipcp_printpkt prototype
Paul Mackerras [Mon, 18 Apr 1994 04:05:15 +0000 (04:05 +0000)]
added ipcp_printpkt prototype

26 years agoignore duplicate acks after we've received a good one;
Paul Mackerras [Mon, 18 Apr 1994 04:01:50 +0000 (04:01 +0000)]
ignore duplicate acks after we've received a good one;
send termack after resetting link asyncmap

26 years agoadded a couple of untimeouts.
Paul Mackerras [Mon, 18 Apr 1994 04:01:07 +0000 (04:01 +0000)]
added a couple of untimeouts.

26 years agoadded extended transmit accm and support for mtu option;
Paul Mackerras [Mon, 18 Apr 1994 04:00:25 +0000 (04:00 +0000)]
added extended transmit accm and support for mtu option;
call link_down().

26 years agoadded extended transmit accm
Paul Mackerras [Mon, 18 Apr 1994 04:00:16 +0000 (04:00 +0000)]
added extended transmit accm

26 years agoadded phase, link_down() and null_login()
Paul Mackerras [Mon, 18 Apr 1994 03:59:28 +0000 (03:59 +0000)]
added phase, link_down() and null_login()

26 years agoInitial revision
Paul Mackerras [Mon, 18 Apr 1994 00:46:27 +0000 (00:46 +0000)]
Initial revision