Paul Mackerras
ba0b5df875
[dis]connector -> [dis]connect_script
...
connect_delay option
callback infrastructure
1999-12-23 01:29:42 +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
Adi Masputra
0c338335ba
Changed #if __STDC__ to #if defined(__STDC__)
1999-09-08 01:13:46 +00:00
Paul Mackerras
10a68fd183
IPV6 update from Tommi Komulainen
1999-08-25 04:15:52 +00:00
Paul Mackerras
2e53641535
Rest of IPV6 merge which got lost somehow, plus some minor fixes.
1999-08-24 05:31:12 +00:00
Paul Mackerras
eec3836d78
add linkname option
1999-08-13 01:57:37 +00:00
Paul Mackerras
a3e53f0632
maxfail option, exit code for when when we fail to auth
...
ourselves to the peer.
1999-08-12 04:22:53 +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
d350bee692
don't turn on IP if we can't do IPX
1999-05-14 01:09:04 +00:00
Paul Mackerras
cf56ce4293
add EXIT_LOOPBACK, fix prototypes
1999-05-13 00:34:33 +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
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
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
f409b9f7b0
should read the tty options file now.
1999-03-24 05:05:25 +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
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
1e7bc3ea35
add data_name to struct protent
...
call lcp_lowerdown when connection terminates
1999-03-16 22:54:43 +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
1fae28ce79
use strlcpy, strlcat, slprintf everywhere
...
add privgroup option
don't allow devname, connector etc. set in privileged place
to be overridden by non-privileged user
use error, warn, etc. functions instead of syslog
fix problem where signals were blocked for too long
1999-03-12 06:07:24 +00:00
Paul Mackerras
baef0b4051
minor changes so it compiles with pre-ansi compiler;
...
move hangup_modem back into main.c
1999-03-08 05:34:46 +00:00
Paul Mackerras
a00baab063
leave the real user ID as the user's now
1999-03-06 11:28:11 +00:00
Paul Mackerras
8a68ed35b0
open the device as the user unless the device name came from a
...
privileged source
1999-03-02 05:59:22 +00:00
Paul Mackerras
49464ac369
export readable() from options.c so auth.c can use it
1999-02-26 11:03:34 +00:00
Paul Mackerras
315eedb9fe
remove unneeded devnam_info
1999-01-20 00:01:00 +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
8d95b4cae8
Added updetach option.
1998-03-26 04:46:08 +00:00
Paul Mackerras
abae2797aa
declare script_{un}setenv and get_host_seed
1998-03-25 01:30:18 +00:00
Paul Mackerras
bb516501a9
add optional packet filtering; caddr_t -> void *
1997-04-30 05:56:55 +00:00
Paul Mackerras
062ecf8a89
fix decls of [cs]ifdefaultroute and logwtmp
1997-03-04 03:42:48 +00:00
Paul Mackerras
0e3ef87b18
include optional callback support
1996-10-08 04:35:04 +00:00
Paul Mackerras
10ae3ff470
added IPXCPDEBUG
1996-09-14 05:17:57 +00:00
Paul Mackerras
1707ae587c
priv option stuff; add option_error proto
1996-08-28 06:42:10 +00:00
Paul Mackerras
72fffb5e74
added prototypes for protent procedure entries and for new procedures
1996-07-01 01:19:55 +00:00
Paul Mackerras
ccadb11e36
syslog stuff back to main.c; removed filters; protos for [v]fmtmsg
1996-05-27 00:02:42 +00:00
Paul Mackerras
032c5b596e
add some more prototypes
1996-04-04 04:01:51 +00:00
Paul Mackerras
736ef3804c
add extra option variables, prototypes etc. for demand-dial functions
1996-01-01 23:02:23 +00:00
Paul Mackerras
bda692bbe2
extend protocol table; added maxconnect option
1995-12-18 03:47:21 +00:00
Paul Mackerras
308576ede5
fix up prototypes
1995-10-27 03:40:12 +00:00
Paul Mackerras
7ff1691466
added papcrypt option
1995-04-26 06:46:31 +00:00
Paul Mackerras
414162e68f
removed s, added ipparam
1995-04-24 05:52:37 +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
a7ebb18fc4
Declare option variables here; define uint32
1994-09-01 00:36:05 +00:00
Paul Mackerras
b8d13a030e
add casts to eliminate compiler warnings
1994-05-26 06:43:42 +00:00
Paul Mackerras
b4052495e0
added phase and values for it.
1994-04-18 04:08:41 +00:00
Paul Mackerras
0b63a24d54
Initial revision
1993-11-11 03:56:47 +00:00