Commit Graph

47 Commits

Author SHA1 Message Date
Paul Mackerras
f92f7fc892 remove warnings
ask for chap microsoft
1999-12-23 01:27:28 +00:00
Paul Mackerras
db6112a829 get rid of a few compile warnings 1999-11-15 01:51:54 +00:00
Paul Mackerras
07de73a331 Add plugin support plus an initial selection of hooks.
Add the allow-ip option as a better way of specifying what
IP addresses an unauthenticated peer may use.
Translate unprintable chars in PAP user/password into visible form.
Clean up the processing of extra options in the secrets files.
Add ktune/noktune options to enable/disable changing kernel settings.
1999-09-11 12:09:00 +00:00
Paul Mackerras
a3630de20e Fix the rcsid's for non-ansi compilers 1999-08-13 06:46:23 +00:00
Paul Mackerras
875d9641d0 kill warning 1999-08-12 04:25:57 +00:00
Paul Mackerras
9029a14caa option is called nomagic not nomagicnumber 1999-07-21 00:18:46 +00:00
Paul Mackerras
971319042d fix problem where lcp echo requests were getting doubled,
tripled, ...
1999-06-24 00:16:38 +00:00
Paul Mackerras
96ea87ebbd set exit status for loopback detected 1999-05-13 00:33:26 +00:00
Paul Mackerras
8592783058 exit with an appropriate value to indicate what happened
look in included options files for device name before
processing options.ttyname file
don't send log output to the serial port
cope with user specifying a symlink to the device on stdin
add logfd and nologfd options
insist that the device is a character device
1999-05-12 06:19:49 +00:00
Paul Mackerras
a9d7d29661 fix printing of callback 1999-04-16 11:35:43 +00:00
Paul Mackerras
1fd9b499c3 added receive-all option.
ignore extra unrecognized options in nak.
1999-03-19 01:24:57 +00:00
Paul Mackerras
1e7bc3ea35 add data_name to struct protent
call lcp_lowerdown when connection terminates
1999-03-16 22:54:43 +00:00
Paul Mackerras
c429353c95 make default asyncmap 0
change syslog -> notice/error etc., trimmed debug
change sprintf -> slprintf
1999-03-16 02:47:00 +00:00
Paul Mackerras
24af3d4d6d allow chars 0x20 - 0x3f to be escaped 1999-02-26 10:34:47 +00:00
Paul Mackerras
bfa20ccde2 Update to new pppd with new option parsing stuff 1998-11-07 06:59:32 +00:00
Paul Mackerras
e83a47e71a Fix it so it compiles under RedHat 5.0 linux with glibc 2.0.7.
Fix some compile warnings.
1998-05-13 05:49:22 +00:00
Paul Mackerras
0d9e6e5612 receive asyncmap is ~0 by default 1997-11-27 06:08:44 +00:00
Paul Mackerras
2305ca29c0 minor fixes 1997-04-30 05:52:59 +00:00
Paul Mackerras
9ae5c748e3 don't set phase to terminate if already dead. 1997-03-04 03:39:56 +00:00
Paul Mackerras
0e3ef87b18 include optional callback support 1996-10-08 04:35:04 +00:00
Paul Mackerras
b23c0e45fb moved protos here from lcp.h; print reason on terminate-request;
fixed bug in auth type negotiation
1996-07-01 01:15:19 +00:00
Paul Mackerras
e79f90482e mods for optional MS-CHAP support 1996-05-28 00:42:31 +00:00
Paul Mackerras
1fec5c9b34 minor cleanup; add print for ECHORE[PQ] and DISCREQ 1996-04-04 03:58:24 +00:00
Paul Mackerras
d9e981a456 remove linux-specific idle timer stuff;
add null entries for check_options and demand_conf in protent
1996-01-01 22:57:47 +00:00
Paul Mackerras
e3a35824cd extend protocol table; supply message on protocol close 1995-12-18 03:45:32 +00:00
Paul Mackerras
68dd74f4cd accept A/C & proto compression and asyncmap from the start;
don't ask for options at default values
1995-10-27 03:42:09 +00:00
Paul Mackerras
3a379b9107 Ignore NAK'd options we don't recognize. 1995-08-10 06:51:06 +00:00
Paul Mackerras
d999c23548 Mods to Linux code from Al Longyear: use ppp_idle instead of
ppp_ddinfo, etc.
1995-06-30 01:47:17 +00:00
Paul Mackerras
78357d9d00 fail if the link is looped back 1995-05-19 03:25:16 +00:00
Paul Mackerras
0a453eda98 fix for linux compilation 1995-04-28 06:25:23 +00:00
Paul Mackerras
fad042b01e fix up naking authentication protocol 1995-04-24 05:58:06 +00:00
Paul Mackerras
adc8347e75 some linux mods; be careful about int vs long (for alpha) 1994-12-12 22:54:59 +00:00
Paul Mackerras
035aefdd1f N_PPP ->NUM_PPP 1994-10-24 04:31:11 +00:00
Paul Mackerras
a3396b0025 use ppp_defs.h instead of ppp.h, args.h; change some names 1994-09-21 06:47:37 +00:00
Paul Mackerras
a8758df1a9 set receive characteristics when we send an ack
so we don't miss stuff immediately following their ack
1994-09-16 02:15:37 +00:00
Paul Mackerras
1615280ee6 use unit32 for ACCM and other 32-bit quantities;
fix bugs in sending and checking echo-replies
1994-09-01 00:24:14 +00:00
Paul Mackerras
829ce3a1b5 add support for CCP and BSD-Compress 1994-08-09 06:29:14 +00:00
Paul Mackerras
ac0f935759 call lcp_close not lcp_lowerdown when no echo received 1994-08-09 06:24:59 +00:00
Paul Mackerras
1acc38d1a8 upgrade looped-back message from debug statement to syslog warning 1994-06-14 06:07:47 +00:00
Paul Mackerras
27cec7941f use receive asyncmap of 0 if not negotiated for compatibility
with other broken implementations.
1994-05-30 02:38:49 +00:00
Paul Mackerras
e3966b5c3b extra includes for linux 1994-05-27 01:01:49 +00:00
Paul Mackerras
f50d423b79 don't need if.h or if_ppp.h 1994-05-26 06:37:34 +00:00
Paul Mackerras
4b3147e69b added echo stuff from linux port
make echo-reply send our magic number correctly
fixed some minor compilation warnings
1994-05-24 11:23:13 +00:00
Paul Mackerras
afe0aeff34 fix to make it terminate when signalled in passive/silent modes. 1994-05-09 04:32:41 +00:00
Paul Mackerras
63817f712a added extended transmit accm and support for mtu option;
call link_down().
1994-04-18 04:00:25 +00:00
Paul Mackerras
f1085e1db5 added stuff to print packets in readable form 1994-04-11 07:13:44 +00:00
Paul Mackerras
0b63a24d54 Initial revision 1993-11-11 03:56:47 +00:00