Commit Graph

638 Commits

Author SHA1 Message Date
Paul Mackerras
ee0fba791a add maxfail option to control the max # of failed attempts 1999-08-12 04:17:07 +00:00
Paul Mackerras
47284fad46 exit when we fail to auth ourselves to the peer
add password option, use user-supplied passwd for chap too
allow PAP access with login option if the password matches
either what is in pap-secrets or the login database
add address/bits+ syntax
1999-08-12 04:11:20 +00:00
Paul Mackerras
a8ac4606ea use $(INSTALL) not install 1999-08-12 03:59:07 +00:00
Michael K. Johnson
72060b7d1b missing directive 1999-08-04 15:53:13 +00:00
Paul Mackerras
1acb8dba3c fix compilation errors 1999-07-23 06:55:05 +00:00
Paul Mackerras
2c354e20b0 use new generic kernel driver (/dev/ppp) if available
remove unused code
1999-07-23 06:54:37 +00:00
Paul Mackerras
4dd2c1c79d update for 2.3.9 1999-07-23 06:53:57 +00:00
Paul Mackerras
a4efaa63e6 allow options in secrets files
only disable holdoff if link terminated by idle timer
open all network protos on callback
add init and logfile options
document various options
1999-07-21 00:24:32 +00:00
Paul Mackerras
25a5dd4d48 fix strtok loop 1999-07-21 00:21:02 +00:00
Paul Mackerras
d1f9679422 ipcp_clear_addrs fix, make nodefaultip work OK with demand 1999-07-21 00:19:52 +00:00
Paul Mackerras
9029a14caa option is called nomagic not nomagicnumber 1999-07-21 00:18:46 +00:00
Paul Mackerras
7cb4808861 disable the have_route_to stuff on non-solaris systems 1999-06-24 00:18:41 +00:00
Paul Mackerras
1924cd0951 don't print null received message, %.0[svq] prints nothing 1999-06-24 00:17:48 +00:00
Paul Mackerras
bb92478eb0 fix silly = vs == thing 1999-06-24 00:17:18 +00:00
Paul Mackerras
2882779b0a add stuff to use /dev/ptmx etc. 1999-06-24 00:17:02 +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
f35f321179 buglet fixes 1999-06-01 01:43:34 +00:00
Paul Mackerras
d350bee692 don't turn on IP if we can't do IPX 1999-05-14 01:09:04 +00:00
Paul Mackerras
10d17d19d3 set env vars with link stats 1999-05-13 00:35:23 +00:00
Paul Mackerras
f8d4251d80 don't need version number in here 1999-05-13 00:35:14 +00:00
Paul Mackerras
bf6d4acfc1 just do tcflush once, should be enough 1999-05-13 00:34:54 +00:00
Paul Mackerras
cf56ce4293 add EXIT_LOOPBACK, fix prototypes 1999-05-13 00:34:33 +00:00
Paul Mackerras
de79423713 document exit status values and link stats env vars 1999-05-13 00:34:04 +00:00
Paul Mackerras
96ea87ebbd set exit status for loopback detected 1999-05-13 00:33:26 +00:00
Paul Mackerras
0d9cdddebd patch from Michael Johnson 1999-05-13 00:33:05 +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
bbaa125b02 make sure fds 0, 1, 2 are always open 1999-05-12 06:16:16 +00:00
Paul Mackerras
0429f85005 take out lock routines, they're now in utils.c 1999-05-12 06:15:58 +00:00
Paul Mackerras
9f0e24d765 make it compile under sunos 1999-05-12 06:15:33 +00:00
Paul Mackerras
302f2d3d86 make it compile under Solaris 1999-05-04 06:58:36 +00:00
Paul Mackerras
2ab2f6e584 improve ppp not available message 1999-05-04 06:58:18 +00:00
Paul Mackerras
a9abf249e9 minor fixes from Paul Fulghum 1999-05-04 06:57:44 +00:00
Paul Mackerras
902fa1aaff take out VJ old/new-style hack 1999-05-04 06:57:27 +00:00
Paul Mackerras
f577525209 try harder to flush the tty output buffer in disestablish_ppp 1999-04-28 02:46:44 +00:00
Paul Mackerras
0c7a998d25 fix buglets 1999-04-28 02:45:44 +00:00
Sowmini Varadhan
bad36b80e1 changes to match if_ppp.c modifications- put the mtu into ifr_data.
bzero ifr before ioctl
1999-04-27 22:33:09 +00:00
Sowmini Varadhan
557a8f886a Update for OSF 4.0- -I. before -I../include in CFLAGS 1999-04-27 22:31:18 +00:00
Paul Mackerras
17aa14aa24 make it alpha 1999-04-16 11:49:30 +00:00
Paul Mackerras
3bc92613d8 update 1999-04-16 11:48:50 +00:00
Paul Mackerras
a9d7d29661 fix printing of callback 1999-04-16 11:35:43 +00:00
Paul Mackerras
529cd066e0 fix pid handling 1999-04-16 11:35:06 +00:00
Paul Mackerras
8549026da8 mention PPPLOGNAME 1999-04-16 11:34:45 +00:00
Paul Mackerras
d734c01949 try to cope gracefully with the situation where someone else
has locked the serial line for us.
1999-04-16 11:34:27 +00:00
Paul Mackerras
42bce04ffb flush queue before restoring line discipline to try to
eliminate hangs
1999-04-16 11:33:40 +00:00
Paul Mackerras
8821c36a77 add debugging messages about waiting for children at exit 1999-04-12 06:44:42 +00:00
Paul Mackerras
e8be982dbc Move some stuff (printing, logging, [un]locking) into utils.c.
Unified the locking code, added relock().
Revert strlcpy to strncpy when filling in utmp structs.
Fixed some bugs in DNS addr option handling.
Set PPPLOGNAME with login name of user.
Moved daemon() logic into detach().
Fix bug where errno was clobbered by seteuid().
Use pty in sys-linux.c when making a ppp unit.
1999-04-12 06:24:53 +00:00
Paul Mackerras
093489a1ce couple more get_pty's 1999-04-01 07:20:11 +00:00
Paul Mackerras
f941c11e2e remove another ansi-C-ism 1999-04-01 07:19:59 +00:00
Paul Mackerras
52e781b87d small changes suggested by Seth Chaiklin 1999-04-01 07:08:49 +00:00
Paul Mackerras
daf25780c5 cope with the case where we don't have a device name when
ppp_available is called.
1999-04-01 05:39:34 +00:00