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

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

25 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

25 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

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

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

25 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

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

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

25 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

25 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

25 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

25 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

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

25 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)

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

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

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

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

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

25 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

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

25 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().

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

25 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()

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

25 years agoadded names for IP up/down scripts
Paul Mackerras [Mon, 11 Apr 1994 07:19:57 +0000 (07:19 +0000)]
added names for IP up/down scripts

25 years agoadded stuff to support IP up/down scripts;
Paul Mackerras [Mon, 11 Apr 1994 07:19:06 +0000 (07:19 +0000)]
added stuff to support IP up/down scripts;
print packets in readable form.

25 years agoremove LCP-specific codes
Paul Mackerras [Mon, 11 Apr 1994 07:18:35 +0000 (07:18 +0000)]
remove LCP-specific codes

25 years agoadded stuff to print outgoing packets in readable form;
Paul Mackerras [Mon, 11 Apr 1994 07:18:11 +0000 (07:18 +0000)]
added stuff to print outgoing packets in readable form;
support IP up/down scripts

25 years agoadded stuff to print outgoing packets in readable form;
Paul Mackerras [Mon, 11 Apr 1994 07:16:50 +0000 (07:16 +0000)]
added stuff to print outgoing packets in readable form;
set mru, receive asyncmap and VJ max conn ID;
support IP up/down scripts

25 years agoadded stuff to print packets in readable form;
Paul Mackerras [Mon, 11 Apr 1994 07:15:13 +0000 (07:15 +0000)]
added stuff to print packets in readable form;
added support for ip up/down scripts.

25 years agoadded stuff to print packets in readable form
Paul Mackerras [Mon, 11 Apr 1994 07:13:44 +0000 (07:13 +0000)]
added stuff to print packets in readable form

26 years agoInitial revision
Paul Mackerras [Wed, 23 Feb 1994 03:49:22 +0000 (03:49 +0000)]
Initial revision

26 years agomore fixes for dynamic IP address assignment.
Paul Mackerras [Mon, 14 Feb 1994 04:45:31 +0000 (04:45 +0000)]
more fixes for dynamic IP address assignment.

26 years ago*** empty log message ***
Paul Mackerras [Tue, 8 Feb 1994 23:51:58 +0000 (23:51 +0000)]
*** empty log message ***

26 years agodescribe new behaviour with default IP address and noipdefault,
Paul Mackerras [Tue, 8 Feb 1994 23:50:51 +0000 (23:50 +0000)]
describe new behaviour with default IP address and noipdefault,
ipcp-accept-local and ipcp-accept-remote options.

26 years agoadded accept_local and accept_remote flags to give better control
Paul Mackerras [Tue, 8 Feb 1994 23:49:52 +0000 (23:49 +0000)]
added accept_local and accept_remote flags to give better control
over whether we accept addresses from the peer.

26 years agoChanges to allow dynamic IP address assignment from the peer:
Paul Mackerras [Tue, 8 Feb 1994 23:48:50 +0000 (23:48 +0000)]
Changes to allow dynamic IP address assignment from the peer:
added new options noipdefault, ipcp-accept-local, ipcp-accept-remote,
and set the accept-local bit if we default the local IP address.

26 years agoInitial revision
Paul Mackerras [Tue, 8 Feb 1994 05:24:41 +0000 (05:24 +0000)]
Initial revision

26 years ago*** empty log message ***
Paul Mackerras [Mon, 10 Jan 1994 00:26:11 +0000 (00:26 +0000)]
*** empty log message ***

26 years agofix bug in option word processing
Paul Mackerras [Mon, 10 Jan 1994 00:19:28 +0000 (00:19 +0000)]
fix bug in option word processing

26 years agoblock SIGPOLL to fix hanging on startup bug.
Paul Mackerras [Mon, 10 Jan 1994 00:18:59 +0000 (00:18 +0000)]
block SIGPOLL to fix hanging on startup bug.

26 years agotake out non-KVMLIB code, use _PATH_UNIX on *bsd
Paul Mackerras [Wed, 15 Dec 1993 05:00:47 +0000 (05:00 +0000)]
take out non-KVMLIB code, use _PATH_UNIX on *bsd

26 years agoadded BINDIR and MANDIR, install man page
Paul Mackerras [Wed, 15 Dec 1993 04:59:50 +0000 (04:59 +0000)]
added BINDIR and MANDIR, install man page

26 years agoadded default BINDIR, removed -g
Paul Mackerras [Wed, 15 Dec 1993 04:59:26 +0000 (04:59 +0000)]
added default BINDIR, removed -g

26 years agoremoved warning if not process group leader when using default device
Paul Mackerras [Wed, 15 Dec 1993 00:17:43 +0000 (00:17 +0000)]
removed warning if not process group leader when using default device

26 years agouse UL() macro to compile with either cc or gcc
Paul Mackerras [Tue, 14 Dec 1993 05:41:47 +0000 (05:41 +0000)]
use UL() macro to compile with either cc or gcc

26 years agofix compile nit
Paul Mackerras [Tue, 14 Dec 1993 05:41:34 +0000 (05:41 +0000)]
fix compile nit

26 years agoadded ppp_available
Paul Mackerras [Tue, 14 Dec 1993 05:41:11 +0000 (05:41 +0000)]
added ppp_available

26 years agofix some compile nits
Paul Mackerras [Tue, 14 Dec 1993 05:40:50 +0000 (05:40 +0000)]
fix some compile nits

26 years ago*** empty log message ***
Paul Mackerras [Tue, 14 Dec 1993 05:16:36 +0000 (05:16 +0000)]
*** empty log message ***

26 years agopppd only (remove pppstats)
Paul Mackerras [Tue, 14 Dec 1993 05:16:20 +0000 (05:16 +0000)]
pppd only (remove pppstats)

26 years agocheck if we have ppp early on
Paul Mackerras [Tue, 14 Dec 1993 05:16:01 +0000 (05:16 +0000)]
check if we have ppp early on

26 years agoremove SUBDIR (pppstats and chat in ..)
Paul Mackerras [Tue, 14 Dec 1993 05:11:53 +0000 (05:11 +0000)]
remove SUBDIR (pppstats and chat in ..)

26 years agoremove -DKVMLIB flag, use cc by default
Paul Mackerras [Tue, 14 Dec 1993 05:11:09 +0000 (05:11 +0000)]
remove -DKVMLIB flag, use cc by default

26 years agoInitial revision
Paul Mackerras [Tue, 14 Dec 1993 02:57:14 +0000 (02:57 +0000)]
Initial revision

26 years agoInitial revision
Paul Mackerras [Tue, 14 Dec 1993 02:46:52 +0000 (02:46 +0000)]
Initial revision

26 years agoadd `must_exist' parameter to options_from_file
Paul Mackerras [Tue, 23 Nov 1993 23:40:54 +0000 (23:40 +0000)]
add `must_exist' parameter to options_from_file