Paul Mackerras
bc86389e1f
nasty powerpc kludge is only needed for glibc 2.0
1999-04-16 11:36:51 +00:00
Paul Mackerras
3b500e7b06
use memset not bzero
1999-04-16 11:35:59 +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
7d7bc679a4
make sure pppd notices hangups in demand mode
1999-04-16 11:29:13 +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
5daac16c20
restore ppp_comp_count and ppp_ahdlc_count, needed on SunOS
1999-04-12 06:20:22 +00:00
Paul Mackerras
caa450d9a8
use -f test instead of -e
1999-04-01 11:48:30 +00:00
Paul Mackerras
5018cc2da5
add man page for pppdump and add it to the list of things
...
to be installed on linux, sol2, svr4, sunos4
1999-04-01 11:44:55 +00:00
Paul Mackerras
cde2830f10
examples for RH linux
1999-04-01 11:44:16 +00:00
Paul Mackerras
1f32921b40
make it compile under sunos
1999-04-01 07:26:30 +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
084ed8efcf
don't recurse in terminate()
1999-03-31 12:28:16 +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
91d19fa519
get files from ../include/linux if not here
1999-03-31 05:38:29 +00:00
Paul Mackerras
ec78dccdeb
fix minor compilation nit
1999-03-31 05:29:08 +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
73ccf9e4e8
moved to ../include/linux or no longer needed post 2.0
1999-03-29 04:43:32 +00:00
Paul Mackerras
c9e3f46da4
add pppdump
1999-03-25 01:31:22 +00:00
Paul Mackerras
b64bbad9f0
print timestamp at beginning of each section
1999-03-25 01:31:06 +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
5bd118a338
need these too
1999-03-24 23:39:57 +00:00
Paul Mackerras
f409b9f7b0
should read the tty options file now.
1999-03-24 05:05:25 +00:00
Paul Mackerras
90faf59815
make pppdump as well
1999-03-23 03:33:23 +00:00
Paul Mackerras
a1915d93f8
document record option
1999-03-23 03:22:34 +00:00
Paul Mackerras
f905a2633b
check in pppdump sources
1999-03-23 03:21:58 +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
ade32d2243
update
1999-03-22 05:56:28 +00:00
Paul Mackerras
bfe37cc730
handle M_FLUSH and M_IOCTL messages in lrput routine.
1999-03-22 05:55:59 +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