Commit Graph

616 Commits

Author SHA1 Message Date
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
Paul Mackerras
2822dcefdd remove unneeded (harmful) closes in device_script
run disconnector on some errors
1999-03-31 12:30:01 +00:00
Paul Mackerras
713f439d75 update version to 2.3.7 1999-03-31 06:07:59 +00:00
Paul Mackerras
768532f702 add reopen_log(), call it after using PAM stuff 1999-03-31 05:39:43 +00:00
Paul Mackerras
c1d7b083dc Apply patch for sync serial support from Paul Fulghum. 1999-03-30 06:33:10 +00:00
Paul Mackerras
4426185a13 apply PAM patch 1999-03-30 06:02:21 +00:00
Paul Mackerras
380ddd76d8 alpha -> beta 1999-03-30 06:02:05 +00:00
Paul Mackerras
482b7bf624 change pppd to group pppusers if possible 1999-03-30 06:01:42 +00:00
Paul Mackerras
465758ae80 set the SPEED variable later so it is valid 1999-03-30 06:01:24 +00:00
Paul Mackerras
c8dcd58de5 fixes to error messages. 1999-03-30 04:23:14 +00:00
Paul Mackerras
7bf6751db9 Fix the behaviour of device_script when in/out are < 2.
Only call reap_kids if we have seen a SIGCHLD.
1999-03-30 04:22:57 +00:00
Paul Mackerras
7673a24dfc Add timestamp at beginning of each section of record file.
Open device as root if it is the default device.
1999-03-25 01:30:32 +00:00
Paul Mackerras
f409b9f7b0 should read the tty options file now. 1999-03-24 05:05:25 +00:00
Paul Mackerras
a1915d93f8 document record option 1999-03-23 03:22:34 +00:00
Paul Mackerras
408e882428 Allow record option with pty option.
Open record file in charshunt.
Be more careful about closing things.
Ignore SIGHUP in charshunt.
1999-03-23 01:23:46 +00:00
Paul Mackerras
5ba9d88b94 Add pty, notty and record options.
Fix stats - problem was differing stats structures between
linux and other platforms.
Fix for removing proxy arp entry on linux.
IPX patches.
1999-03-22 05:55:40 +00:00
Paul Mackerras
ab7cff041f remove a couple of ansi-C-isms.
loop_frame is needed by some sys-*.c.
print connect time and bytes transferred on close;
added get_ppp_stats to sys-*.c.
1999-03-19 04:23:54 +00:00
Paul Mackerras
fdc0c58f5a changed order of args to strlcpy/strlcat.
removed unused note_debug_level.
made some functions static.
1999-03-19 01:29:51 +00:00
Paul Mackerras
0cfd5b04d5 removed some functions made static and other unused stuff.
changed order of args to strlcpy/strlcat.
1999-03-19 01:28:27 +00:00
Paul Mackerras
d4888c75a2 made some more functions static.
changed order of args to strlcpy/strlcat.
move remote_name/explicit_remote to auth.c.
remote unused code.
1999-03-19 01:27:43 +00:00
Paul Mackerras
d3a41a77db added log_to_fd to specify which fd log output should go to.
device_script now connects script's stderr to log_to_fd.
made some more functions static.
got rid of quit().
changed order of args to strlcpy/strlcat.
do get_input before checking kill_link.
1999-03-19 01:26:41 +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
9e64a7b4c1 made some functions static.
ignore extra unrecognized options in nak.
changed order of args to strlcpy/strlcat.
1999-03-19 01:22:09 +00:00