Paul Mackerras
ee0fba791a
add maxfail option to control the max # of failed attempts
1999-08-12 04:17:07 +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
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
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
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
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
19c50963be
Change from printing ppp 2.3 patch level 6' to
ppp 2.3.6'
1999-03-08 01:47:24 +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
122606b29e
If device name given, complain if not privileged
1999-01-20 00:00:35 +00:00
Paul Mackerras
bfa20ccde2
Update to new pppd with new option parsing stuff
1998-11-07 06:59:32 +00:00
Christos Zoulas
44e1777caa
add support for CDTRCTS flow control
1998-09-04 18:49:16 +00:00
Paul Mackerras
8d95b4cae8
Added updetach option.
1998-03-26 04:46:08 +00:00
Paul Mackerras
289e4c8488
nodeflatedraft option; small change to ms-dns and ms-wins options.
1998-03-25 01:29:05 +00:00
Paul Mackerras
06892fa1cd
remove compile nits
1997-11-27 06:09:34 +00:00
Paul Mackerras
88313fe117
fix netmask option bug
1997-07-14 03:53:34 +00:00
Paul Mackerras
9ad11d4b9e
fix function prototypes; add optional packet filtering
1997-04-30 05:55:54 +00:00
Paul Mackerras
4925764ab8
fix parsing of 255.255.255.255 netmask,
...
add --version, --help and -h options,
add mswins option
1997-03-04 03:41:58 +00:00
Paul Mackerras
0e3ef87b18
include optional callback support
1996-10-08 04:35:04 +00:00
Paul Mackerras
4f75e38d47
ms-dns option included by default
1996-09-26 06:22:22 +00:00
Paul Mackerras
90f1062610
can override nodefaultroute/noproxyarp if privileged
1996-09-14 05:16:56 +00:00
Paul Mackerras
571f3c157b
priv option stuff; fix the way name, user options work.
1996-08-28 06:41:35 +00:00
Paul Mackerras
31a5850f95
added proc to scan cmd line for tty name
1996-07-01 01:18:23 +00:00
Paul Mackerras
2df0c98c2a
removed bpf filters; added option_error; improved error messages
1996-05-27 00:04:47 +00:00
Paul Mackerras
0778428fb4
added packet filtering; added no-, require-, etc. option forms;
...
added noccp option
1996-04-04 04:00:24 +00:00
Paul Mackerras
7e37b204c4
allow for slashes in tty name
1996-01-18 03:35:38 +00:00
Paul Mackerras
b6101aaab4
added deflate, -deflate options
1996-01-18 03:22:22 +00:00
Paul Mackerras
c58cd6f2f2
add demand, idle, holdoff and welcomer options;
...
remove set_ip_default to ipcp.c:ip_check_options()
1996-01-01 23:00:42 +00:00
Paul Mackerras
1f9a12c002
added options for maxconnect, -ip, predictor control, IPX
1995-12-18 03:49:06 +00:00
Paul Mackerras
6bca842794
use crtscts = -2 to indicate xon/xoff
1995-10-27 03:39:14 +00:00
Paul Mackerras
0ea0ee1439
Added -defaultroute and -proxyarp options.
1995-08-16 01:39:53 +00:00
Paul Mackerras
4731734c0b
Put a dot between hostname and domainname.
1995-07-04 12:33:01 +00:00
Paul Mackerras
59f3284d28
Add in "." between hostname and domain name
1995-06-30 01:52:24 +00:00
Paul Mackerras
6f91747164
Give up waiting for a PAP auth-req from the peer after 30 seconds.
1995-06-12 12:02:25 +00:00
Paul Mackerras
2a09df9e05
Mods from Al Longyear, including improvements to option file word parsing,
...
plus fix up patchlevel.
1995-06-12 11:22:55 +00:00
Paul Mackerras
257999f844
removed GetMask (gone to sys-*.c)
1995-04-27 00:20:16 +00:00
Paul Mackerras
7ff1691466
added papcrypt option
1995-04-26 06:46:31 +00:00
Paul Mackerras
c3c8051cf9
added ipparam and linux idle-timeout options, long -> u_int32_t, etc.
1995-04-24 05:54:44 +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
70adb1801b
-crtscts and xonxoff now distinct.
1994-09-16 02:34:52 +00:00
Paul Mackerras
71bc80a3a5
allow two numbers for bsdcomp option
1994-09-16 02:16:13 +00:00
Paul Mackerras
b3b832e23d
declare option variables in pppd.h; use uint32 for IP addresses;
...
define option variables here.
1994-09-01 00:13:16 +00:00
Paul Mackerras
eff1bf7431
devname -> devnam
1994-08-22 00:40:48 +00:00