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
Paul Mackerras
245edcbc08
made loop_frame static
1999-03-19 01:21:28 +00:00
Paul Mackerras
d4c42ee848
if remote name was explicitly specified with remotename option,
...
always use that instead of name supplied by peer.
changed order of args to strlcpy.
1999-03-19 01:20:19 +00:00
Paul Mackerras
f4cdbd273a
Ignore extra unrecognized options in Nak.
...
change order of args to strlcpy/strlcat.
1999-03-19 01:19:31 +00:00
Paul Mackerras
75951d7bb6
don't run auth-up/down script while one is already running.
...
parse permitted IP addresses once instead of each time list is
scanned and store them as numerical address/mask pairs.
don't use remote name in checking for existence of secrets
unless is was explicitly specified with remotename option.
don't use remote IP address in checking for existence of secrets.
print better message if no secrets found (or no IP allowed).
made some more functions static.
changed order of args for strlcpy/strlcat.
fix for shadow password stuff.
if specified remote IP address is not specified or not permitted,
use the first single-host permitted address (if any).
1999-03-19 01:17:51 +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
ee9e29919a
make establish_ppp and open_ppp_loopback return the correct fd
1999-03-16 22:53:49 +00:00
Paul Mackerras
0bcf5992cb
don't call np_down unless np_up has been called
1999-03-16 04:00:53 +00:00
Paul Mackerras
bcffc4820f
fix silly mistake
1999-03-16 04:00:35 +00:00
Paul Mackerras
7a4dc0ff50
syslog -> notice/error/etc.
...
use slprintf instead of sprintf
trimmed debug
1999-03-16 03:15:15 +00:00
Paul Mackerras
e0b13abaf1
don't print debug msgs to stderr unless debug is set
1999-03-16 03:14:50 +00:00
Paul Mackerras
41cfb0f5c5
fix for usepeerdns stuff
...
syslog -> notice/error/etc.
use slprintf instead of sprintf
1999-03-16 03:12:03 +00:00
Paul Mackerras
f1c955be4c
minor compilation fixes
...
changed syslog -> notice/error/etc.
1999-03-16 02:58:01 +00:00
Paul Mackerras
cb6271cf11
added add_fd, remove_fd, removed wait_loop_output, wait_time.
...
changed syslog -> notice/error/fatal etc.
1999-03-16 02:57:08 +00:00
Paul Mackerras
0375e3ce50
don't die on EIO on setting asyncmap
...
fixed indentation
changed syslog to notice/error/etc.
1999-03-16 02:53:51 +00:00
Paul Mackerras
769fe7aa52
add add_fd and remove_fd, remove wait_loop_output and wait_time
...
changed debug macros
1999-03-16 02:51:06 +00:00
Paul Mackerras
00d6a7e0e3
add %P and %B formats, fixed %I
...
change to using add_fd, remove_fd
and eliminate wait_loop_output, wait_time
change sprintf -> slprintf
don't set euid = user's UID on reopening the device because
we have changed the permissions by then
write log messages to stderr if not detached and not using
default device
1999-03-16 02:50:15 +00:00