Commit Graph

83 Commits

Author SHA1 Message Date
Daniel O'Callaghan
52379a4d35 Suggested by: David Nugent
Use /etc/ppp/ppp.deny instead of /etc/ppp/ppp.disabled
1997-04-16 02:07:10 +00:00
Daniel O'Callaghan
629098536b 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 Somers
86fdcdef07 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 Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Brian Somers
7c3658d84c 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
Jordan K. Hubbard
1130b656e5 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
Garrett Wollman
702a1d0148 Update to match changes in <net/if.h>. 1997-01-03 20:19:50 +00:00
Mike Smith
8c0e9645ab 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
Paul Traina
c47bd2576f Manage UTMP entry if we're doing username/password PAP logins 1996-11-13 01:33:10 +00:00
Marc G. Fournier
334dac624a Fixes:
>Description:
        pppd failes to set control terminal if -detach option is given.

Submitted by: enami@ba2.so-net.or.jp
1996-10-22 21:41:43 +00:00
Paul Traina
673e960089 Fix potential buffer overrun 1996-10-01 03:41:28 +00:00
Bruce Evans
cb77de2327 Removed bogus unused `-I..' and unnecessary override of BINDIR. Didn't
clean up.
1996-09-04 22:43:20 +00:00
Peter Wemm
b49090e691 Add RTF_STATIC to flags when creating a default route. Hopefully this
will stop routed from removing it if it is also running.
1996-08-13 09:16:49 +00:00
Paul Traina
7e31b4b1be Previously, if the dial script had any problems, pppd would simply
bomb out.  Unfortunately, FreeBSD's sio driver and certain internal
modems don't get along very well, which can cause the serial port to
wedge until it is closed and reopened.

Add new variable, connect-max-attempts, default = 1 (to mimic previous
behavior).  If > 1, will try up to "n" times to dial remote site before
aborting.
1996-08-11 17:29:37 +00:00
Mike Pritchard
8a4f648f82 Update the pppd(8) man page to exmplain the CHAP acronym
to the same way that the RFC does.

Obtained from: NetBSD-bugs mailing list
1996-07-03 23:23:03 +00:00
Mike Pritchard
897743c7c7 Xref chat(8) and ppp(8).
Pointed-out-by: Someone in the mailing lists
1996-05-02 19:21:40 +00:00
Joerg Wunsch
e522d8a28f Work around the problem that our -current pppd can no longer talk
with our iijppp as a client.

Simply shut down the CCP layer if no matching protocol could be found.

Reviewed by:	peter
1996-03-08 01:21:53 +00:00
Poul-Henning Kamp
d52b14d769 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 Wemm
2646609bb7 ppp-2.2 doesn't have a RELNOTES file anymore, so the old one here was
rather out of date.. it even suggested that it was ppp-2.1.1 still :-)

I've selected some bits from the README files and pre-pended it so that
at least reading it tells you _something_ about the recent history.
1995-11-10 21:39:32 +00:00
Peter Wemm
0e515b2999 Recover lost support for netmask 255.255.255.255 that was lost in the merge.
Submitted by: Michael Butler <imb@scgt.oz.au>
1995-11-04 10:44:22 +00:00
Peter Wemm
042cd119d3 AARGH!! by default, pppd would no longer allow users to use "proxyarp"
or "defaultroute"...  That's forgivable I guess, but the silly thing
didn't have any way to _enable_ the options either! :-(

This now enables them by default.

Obtained from: ppp-2.3a0
1995-11-03 19:06:45 +00:00
Peter Wemm
25c2c2fd8b Whoops.. ppp-comp.h -> ppp_comp.h... 1995-10-31 21:29:25 +00:00
Peter Wemm
60f531a365 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
Peter Wemm
8c430818c6 Initial revision 1995-10-31 21:10:14 +00:00
Joerg Wunsch
7c4f0a18ff Finally applied the fix from PR # 701 for the broken prxyarp option of
pppd(8).

Reviewed by:	several people on -hackers, and me
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-10-03 10:50:42 +00:00
Paul Traina
d814fe83bd Recode mask logic to use inet_ntoa() so host routes are valid. 1995-09-06 16:33:40 +00:00
Mike Pritchard
ae532ecb79 Check for expired passwords before allowing access to the system. 1995-08-28 21:30:59 +00:00
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
David Greenman
80e63506ac Add missing arg to fprintf() error message.
Submitted by:	Mike Grupenhoff
1995-05-24 01:56:52 +00:00
Andrey A. Chernov
926f1d2e59 Close sec. hole: can exec pgm with more groups than calling user have
Include unistd.h and fix few argument old-way things
1995-04-29 13:55:34 +00:00
Doug Rabson
18269b5553 Change to use the correct lock file directory. 1994-10-22 14:40:48 +00:00
Garrett Wollman
d8269a163d Most of the ``modified'' files really aren't. This is my (simple)
port of pppd.
1994-09-25 02:32:18 +00:00
Garrett Wollman
08a0aca6e2 Initial revision 1994-09-25 02:11:26 +00:00