Commit Graph

23 Commits

Author SHA1 Message Date
peter
efabb9ccb1 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
peter
5cb66c6885 Merge ppp 2.3.3 -> 2.3.5 changes onto mainline. 1998-06-20 18:02:16 +00:00
peter
485f592474 Merge ppp-2.3.3 changes onto mainline 1998-03-22 05:33:08 +00:00
jdp
11934fd03f Fix a segmentation violation that happened if "auth" was in the
options file but there was no suitable secret in the secrets file.
1997-12-13 05:27:29 +00:00
brian
2c7ba54db5 Don't logwtmp(), login() already does it.
Log us out of utmp & wtmp if we're already in there.
PR:		4862
1997-10-28 16:50:56 +00:00
peter
272f35378b Revive some things that were lost during the ppp-2.3.1 update.
- (see auth.c rev 1.13) allow the pap/chap secrets file to specify an
override for the otherwise hard coded IP addresses.  This allows specific
users to dial in on a rotary which would otherwise get a dynamic address
forced to authenticate and get their own fixed addresses.
- (see options.c rev 1.9) recognize the old dns1 and dns2 options.  This
is a hack (TM). :-)
1997-10-10 06:02:57 +00:00
peter
1ba1e07209 Update to pppd-2.3.1, except for the CLOCAL changes while running the
connect script to main.c that can cause problems on bsd-style tty systems.
1997-08-22 12:03:57 +00:00
peter
070f42a366 *gulp* First pass at merging in ppp-2.3.0's pppd. (this has
dial-on-demand, packet filtering, idle timeouts, etc).  The IPX support
is pretty much there but more work needs to be done in sys-bsd.c for
the interface ioctls (Linux has a very different way of configuring IPX
interfaces).

Along the way some things have temporarily been lost due to very messy
conflicts.  I will recover them shortly when I can think clearer.
The main one is the local:remote address override in pap-secrets and
chap-secrets.  Some other home-grown features (dns1,dns2) have been
implemented differently.  Microsoft's chap client auth hacks have been
implemented.  There are bound to be more rough edges...  The changes for
connect-max-retries doesn't fit well with the dial-on-demand code.
1997-08-19 17:52:48 +00:00
brian
7f1d30def4 Fix a bug (dereferencing zero) introduced by the last mods.
Submitted by:	David Nugent <davidn@labs.usn.blaze.net.au>
1997-05-13 20:34:01 +00:00
danny
0f60b61dda Suggested by: David Nugent
Use /etc/ppp/ppp.deny instead of /etc/ppp/ppp.disabled
1997-04-16 02:07:10 +00:00
danny
bef64f7791 Reviewed by: Brian Somers <brian@freebsd.org>
pppd now creates /var/run/ttyXn.if file containing the interface name;
check that a 'login' user is not listed in /etc/ppp/ppp.disabled;
check that a 'login' user's shell is listed in /etc/ppp/ppp.shells;
make sure that passwordless 'login' logins are recorded in wtmp and
utmp.
1997-04-15 07:00:35 +00:00
brian
5b8c55b34e Allow forcing of local_ip:remote_ip in pap-secrets
and chap-secrets files.  This allows specific users
to have pre-allocated IP numbers while others get
assigned dynamically.

Submitted by: David Nugent <davidn@unique.usn.blaze.net.au>
1997-04-13 01:07:00 +00:00
peter
b782f4df30 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
brian
ca71d718ab Connections are timed and the call duration is logged
via syslog.
Submitted by:	 Lars Fredriksen <fredriks@mcs.com>
Obtained from:	 Lars Fredriksen <fredriks@mcs.com>
1997-02-09 18:34:25 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
msmith
052fd9ee5f Cosmetic fix for pppd; login() updates both utmp and wtmp, so don't
call logwtmp() again ourselves.  This avoids 'last' showing duplicate
logins.

Submitted by:	Daniel O'Callaghan <danny@hilink.com.au>
1996-12-31 01:17:07 +00:00
pst
3edb536d3f Manage UTMP entry if we're doing username/password PAP logins 1996-11-13 01:33:10 +00:00
pst
52622b0ef0 Fix potential buffer overrun 1996-10-01 03:41:28 +00:00
phk
8bc36c3dbc Use libmd.
Add support for negotiating (more like "informing peer") about DNS.
Various cleanup of warnings.
1996-03-01 19:29:44 +00:00
peter
9fba2426b5 Bring pppd from ppp-2.2 onto the mainline..
(more work needs to be done here, I'm trying to beat the supscan)
1995-10-31 21:21:51 +00:00
mpp
684146e8ce Check for expired passwords before allowing access to the system. 1995-08-28 21:30:59 +00:00
rgrimes
4f960dd75f Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
wollman
860a10b12f Initial revision 1994-09-25 02:11:26 +00:00