Commit Graph

2887 Commits

Author SHA1 Message Date
imp
627ccc8bc8 Remove and odd sleep found by David Holland and posted to -security.
Reviewed by:	Theo de Raadt (who put it into OpenBSD)
Submitted by:	David Holland <dholland@eecs.harvard.edu>
1997-08-29 18:00:11 +00:00
brian
1d10011531 Use login_progok(). 1997-08-27 20:11:16 +00:00
brian
f54cfe70ec Check the "prog.deny" login.conf capability and
refuse to run if "ppp" is in the list.
Suggested by:	"Daniel O'Callaghan" <danny@panda.hilink.com.au>
1997-08-26 23:20:16 +00:00
wosch
5b76fde2c9 Stop the growing list of shells if /etc/adduser.conf
was updated.
1997-08-26 22:47:51 +00:00
bde
fa41c528f7 -I/sys -> ${.CURDIR}/../../sys. This should finish replacing /sys by
a relative path.
1997-08-26 14:13:50 +00:00
fsmp
f1bf41dff4 Removed suggested "options AUTO_START", no longer used.
Noticed by:	 Vincent Poy <vince@mail.MCESTATE.COM>
1997-08-26 05:12:45 +00:00
brian
b972833181 Lose a couple of extraneous backslashes. 1997-08-25 01:52:11 +00:00
brian
2268bf2f58 Make the code format more in line with style(9).
Update loadalias to use the new libalias api.
Update to version 1.1.
1997-08-25 00:29:32 +00:00
joerg
bd623e7830 Cosmetic: distinguish in diag message between rebuilding and updating
the database.

PR:		3397
Submitted by:	taob@risc.org (Brian Tao)
1997-08-24 18:23:21 +00:00
steve
95009b23bc Correct error message when the superuser tries to change
the group of immutable files.

PR:		bin/3445
Submitted by:	Pius Fischer <pius@ienet.com>
1997-08-24 02:10:29 +00:00
brian
841407d2f0 Phone the number after the ``|'' whether the dial
OR login script fails.

Catch a small typo in the man page.
1997-08-23 23:14:24 +00:00
steve
ce24c452f1 .Nm key -> .Nm
PR:		docs/3877
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-23 16:58:52 +00:00
steve
450c0a09de Balance single quotes.
PR:		docs/4161
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-08-23 15:55:58 +00:00
joerg
405f469df2 common_source: staticize private version of warn() so to not conflict
with libc's version.

lpd: use getopt(3), err(3), add usage(), allow specification of a port #
on the command line as the documentation suggested for more than 10 years.

PR:		docs/3290
1997-08-23 15:53:00 +00:00
peter
f2a5c952ae Set ForwardPath as presently inuse on hub 1997-08-22 16:50:49 +00:00
peter
35cc1bfb69 Oops, that'll teach me to edit the makefile after testing... Remove
duplicate cbcp.c in SRCS... :->
1997-08-22 15:57:37 +00:00
peter
988485ebfb Turn on client callback support (CBCP), it seems to be complete. 1997-08-22 15:50:09 +00:00
peter
4a8bfb14a6 merge from vendor branch 1997-08-22 15:39:04 +00:00
peter
aa0b9f2a82 Update to include 2.3.1 details (this is not an imported file, it's a
composite of other files)

Reminded by: pst
1997-08-22 14:35:37 +00:00
peter
2b74aa5482 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
jlemon
575ba14dd7 Convert nets specified with -i/-n to network byte order.
PR:		3906, 3801
Submitted by:	Bob Willcox <bob@luke.pmr.com>, Hiroya Tsubakimoto
1997-08-21 19:53:04 +00:00
brian
a84e0076d7 Update version number to 1.02 so that I can tell what
people are running
1997-08-21 17:20:00 +00:00
brian
5b1ca86ad6 Update doc to use MYADDR in ppp.conf. 1997-08-21 17:16:21 +00:00
brian
ee12f7779b Allow the use of HISADDR & MYADDR in ppp.conf. 1997-08-21 17:07:30 +00:00
brian
88743248da Add "set loopback on|off", defaulting to "on".
This tells ppp to loopback packets addressed to
the ppp interface IP coming *from* the tun
device.

This means that you can ping the tun interface IP
from inside :-)
1997-08-21 16:21:39 +00:00
brian
e3eb49b307 Correct online usage message for "set ? stopped" 1997-08-21 16:18:07 +00:00
brian
e36d88dd58 Expand the "set stopped" command so that it can
idependently time out any of the FSMs.

Split LCP logging into LCP, IPCP and CCP logging,
and make room in "struct fsm" for the log level
that the state machine should use.
1997-08-20 23:47:53 +00:00
jlemon
b195ad3214 Remove temporary file on exit.
PR:		4010
Submitted by:	"Anatoly A. Orehovsky" <tolik@www.tomsk.su>
1997-08-19 20:45:45 +00:00
peter
285e77b80d *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
pst
b004d0b139 Change local_cron to local_periodic.
Submitted by:	bde
1997-08-19 16:49:35 +00:00
peter
a8cf70da32 Temporarily move these to the Attic so that there's no confusion over
mixed up versions.  Also, these were imported onto the 1.1.2 branch
(since the last one was imported there, sigh) and that causes cvsup in
checkout mode some problems (there isn't any 1.1.1 branch at all!!).
1997-08-19 14:36:54 +00:00
peter
b3ff1f59fe Initial revision 1997-08-19 14:29:39 +00:00
danny
0b06abdfea Spelling police. 1997-08-19 11:27:00 +00:00
danny
7a74e61412 Typo fixes. 1997-08-19 11:18:34 +00:00
brian
92f19c53d6 Correct the forth arg to "set ifaddr". If specified,
it gives the IP number that should be used for initial
IPCP config requests, irrespective of MYADDR.
1997-08-19 01:10:24 +00:00
jkh
a8ebfa1086 Fix fstab sequence number bug.
Add a few more strategic screen clears.
Fix registration form bug.
1997-08-18 21:47:34 +00:00
jkh
f4fa517634 2nd round doc cleanup. 1997-08-18 21:10:26 +00:00
jlemon
34e2016839 db close routine actually writes data out to disk; return value was
not being checked.  Change code to fail if db->close errors.

PR:		4202
1997-08-18 20:48:35 +00:00
brian
f73e5acfe1 Introduce the "bg" command. It's pretty
much the same as "shell", but it's in the
background.
1997-08-18 20:15:10 +00:00
brian
efe4bd7ab9 Fix possible buffer overrun while "expect"ing
something that's "nearly" what it wants.
1997-08-17 22:47:07 +00:00
brian
3fafb3fc0b Typo police 1997-08-17 22:45:25 +00:00
brian
a2068b489d Allow the use of a "stopped" timeout via the
"set stopped" directive.  If the timeout occurs
it will cause a "Down" event, hanging up the line
if it's still up.  This *isn't* part of the FSM
diagram, but I consider it ok as a "higher level
implementation specific timeout" as specified in
the rfc ;-}

Discussed briefly with:	joerg
1997-08-17 20:45:50 +00:00
brian
9b92a265e2 Allow specification of fallback phone numbers to
be used only if the dial script fails.
PR:		4262
1997-08-17 20:38:45 +00:00
jkh
dce7d3f524 Sync with rc.conf change for weak_mountd_authentication 1997-08-17 10:08:25 +00:00
pst
fee67110ff Use /etc/periodic 1997-08-16 17:08:35 +00:00
peter
cc0e17c84e Snapshot the various mail configurations. hub.mc was reconstructed to
produce the same sendmail.cf since the original has been lost.
1997-08-14 14:42:06 +00:00
phk
fb043f4620 typo fix. 1997-08-14 10:36:31 +00:00
phk
5643168c09 Do not output anything for source-files with no counts.
Output function name for the "pre-prologue" entry, by stealing
it from the next entry.
Output length of basic-block in bytes and product of executions
and length.
1997-08-14 10:36:02 +00:00
ache
2f7323efdc Fix mdoc directives 1997-08-13 16:27:59 +00:00
jkh
311cfa0ba6 Cast argument to lseek() properly to off_t.
PR:		4246
Obtained from:	review of PR and NetBSD sources.
1997-08-13 12:09:48 +00:00