Commit Graph

3267 Commits

Author SHA1 Message Date
charnier
cd42e7664e Use err(3). Cosmetics in usage string and man page. 1997-10-08 07:48:21 +00:00
brian
f87efc0936 Support VJ maximum slot identifiers != 15.
Support VJ slot id compression.

Previously, ppp would negotiate a max slot between 2 & 15
(if asked), and would agree to slot id compression (if asked).
It would then proceed to use 16 slots and no compression
anyway.  The result was a rather unusable connection.
1997-10-07 00:56:58 +00:00
joerg
aba6b7aa82 Documentation for the LOG_NTP facility. While i was at it, added a
bit of a warning about not all systems providing for the same set of
syslog facilities.
1997-10-06 20:37:50 +00:00
charnier
919cab7b0a Sync usage string with man page. 1997-10-06 11:38:30 +00:00
charnier
3e78ea9501 Use err(3). Add usage()s. 1997-10-06 11:36:08 +00:00
jkh
38ceede30c Add an extra sanity check to previous commit. 1997-10-06 08:36:12 +00:00
jkh
e1bb3693fd This should put boot.help in its rightful place (finally!) 1997-10-06 08:34:56 +00:00
charnier
43f73cc752 Cosmetic in err() strings. 1997-10-06 07:46:08 +00:00
peter
5c0394ed8b Hmm.. where did _that_ come from? :-) 1997-10-06 04:10:24 +00:00
imp
3c17b84db0 Be more paranoid about unlinking files. From mhpower@MIT.EDU by way of
Theo de Raadt.

Likely 2.2.5R candidate.
Obtained from: OpenBSD
1997-10-06 03:58:48 +00:00
jmb
352744e90f record the envelope-from address in the received headers
for all mail received at hub.freebsd.org

Obtained from: Peter Wemm <peter@freebsd.org>
1997-10-06 00:09:17 +00:00
brian
c75cd9c573 Change things around a bit when bringing down the layers.
o LcpLayerDown() no longer does a NewPhase(PHASE_TERMINATE).
  Instead, it's done in LcpLayerFinish().  LayerFinish() gets
  called by the FSM after the LCP FSM goes through the Stopping
  and Stopped states.

o -direct and -background mode exit at PHASE_TERMINATE, not
  PHASE_DEAD.

The result is that LCP, CCP & IPCP are brought down cleanly on both
sides of the link (not just our side).  Killing ppp rather than just
closing it still makes it get out after the LCP SendTerminateReq().
I'll have a look at that soon.  We're probably not actually sending
the REQ :-(
1997-10-05 15:00:10 +00:00
brian
4f0cd3be22 Refer a bit to pppctl.
Suggested (far to subtly for his own good) by:	joerg
1997-10-05 14:27:08 +00:00
brian
e27c21c31b Add a few examples. 1997-10-05 14:21:30 +00:00
joerg
f6f80c4875 Add a new special called `keep' to the list of special options. It
provides for a means to specify an argument for crunchide's -k option.
(This is required by ntpdate.)

Submitted by:	peter@rhiannon.clari.net.au (Peter Hawkins)
1997-10-05 13:35:05 +00:00
jkh
83ba3307bb DOH! I cannot believe that none of us caught this. Do *not*
turn TCPWRAPPER support on by default, eh? :-)
1997-10-05 12:31:08 +00:00
wosch
28d53a0953 Cleanup. 1997-10-05 12:28:02 +00:00
brian
59f62006fe Cosmetic: Be specific about using TABs in syslog.conf. 1997-10-05 10:29:32 +00:00
jkh
068b44c29a Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
jkh
5bdae28d51 Whups! Missed a spot in the kerberos src changes. 1997-10-04 15:50:09 +00:00
peter
75ddc14bc4 Record the envelope from address in the received: line. This has turned
out to be very useful for spam tracking and other problem debugging.

I first noticed this in one of Paul Vixie's machine's headers a while ago.
1997-10-04 11:10:19 +00:00
jkh
b38b429f81 Un-nuke krb and do what I *meant* to do, darn it. 1997-10-04 09:01:20 +00:00
jkh
685056895b Adapt for new crypto source layout. 1997-10-04 08:58:16 +00:00
brian
acb07e89c0 Cosmetic: Log a strerror(errno) when failing to write to
the tun device.
1997-10-04 00:14:39 +00:00
jkh
dc30a0fc62 Get boot.help from a different place. 1997-10-03 14:14:40 +00:00
jkh
01deaf0006 Don't attempt to deref OpenConn after it's been set to NULL. :) 1997-10-03 14:00:09 +00:00
jkh
6e176c4db5 For people running paranoid ftpds, use the real username to log in
with when running multi-user and we actually have one.
Suggested by:	Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
1997-10-03 03:32:03 +00:00
charnier
75c354a16c Use err(3). 1997-10-02 11:46:53 +00:00
charnier
9456fa3abc Use err(3). Change firewall to firewall_enable in man page according to
/etc/rc.conf.
1997-10-02 11:43:33 +00:00
charnier
e422a54475 According to Bruce, err(-1,..) is bogus. Change it to err(1,..). More commits
to come in this area.
1997-10-01 06:34:09 +00:00
charnier
2ba7fb7acc Use err(3) instead of local redefinition. 1997-10-01 06:30:02 +00:00
charnier
154bf4ab9c Use err(3). -Wall cleaning. 1997-10-01 06:27:34 +00:00
jkh
8e6b1677f7 Keep fingers off /etc files until they're properly backed up.
PR:		4636
Submitted by:	Jack <jack@zeus.xtalwind.net>
1997-10-01 01:30:35 +00:00
charnier
a71f6f70af Use err(3). Add usage(). Rewrote man pages in mdoc format. 1997-09-30 06:15:23 +00:00
brian
7aa4840c57 If "set mtu" is used, *and* the mtu is less than the
value requested by the peer, NAK using this value
rather than silently just changing the interface
mtu.
1997-09-29 19:40:16 +00:00
wosch
b215fc2e1e Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
jdp
5e98e0bf4c Correct the description of the output from the "-s" option. It was
backward.
1997-09-29 17:43:11 +00:00
wosch
3c1738bcc0 Endless loop.
$ vipw
[corrupt a line in editor, exit editor]
pwd_mkdb: corrupted entry
pwd_mkdb: at line #2
pwd_mkdb:
/etc/pw.012585: Inappropriate file type or format
re-edit the password file? [y]: n^D^D
[hang]
1997-09-29 13:13:51 +00:00
charnier
ca77b82bb9 Use err(3). 1997-09-29 06:38:49 +00:00
jkh
185e44a35b Add ftp4.uk.freebsd.org 1997-09-29 00:15:07 +00:00
brian
b7f01dc12e Test for the existence of ../../secure rather
than /usr/include/des.h before building with MSChap.
support.  Also allow -DNOCRYPT (as well as -DNOSECURE)
as an override
sbin/init example pointed out by: bde
1997-09-28 20:17:59 +00:00
markm
e5daa062ac Add (commented out) macros to make compiling with tcpwrappers easier. 1997-09-28 09:31:43 +00:00
brian
00b1544192 Don't depend on time.h including sys/types.h 1997-09-27 19:41:40 +00:00
brian
de1bc54ba0 Don't login twice when using passwdauth
Suggested by:	Peter Childs <pjchilds@imforei.apana.org.au>
Merge the whole module into a few lines in pap.c
1997-09-27 19:11:43 +00:00
hoek
fc8864fa8c Document pkg_add's dependency auto-install. While I'm here, fix
a couple typos, and consistent double-spacing after sentences.

This is actually a spinoff from the "ports-current discontinued"
blow-up some time ago.

Ack'd by: jkh
1997-09-27 13:41:35 +00:00
brian
bb9d2eace9 #define RECON_ENVOKED as 4 (not 3, like RECON_UNKNOWN)
Pointed out by:	tom@tomqnx.com (Tom Torrance at home)
1997-09-26 00:23:36 +00:00
charnier
2d665642a1 Use err(3). Add missing parameter for printf() (reviewed by steve). 1997-09-25 06:47:33 +00:00
charnier
1c1c15a766 Remove unused variables. Lowercase err() strings. 1997-09-25 06:44:39 +00:00
charnier
117d41cd62 Put includes in alphabetical order. Use fprintf() in usage(). 1997-09-25 06:42:30 +00:00
charnier
8852fabb4e Stylistic changes in man page. 1997-09-25 06:38:17 +00:00
charnier
de988dd511 Use err(3). 1997-09-25 06:36:29 +00:00
brian
7893d76754 Do the MSChap encryption.
Submitted by:	Gabor Kincses <gabor@acm.org>
1997-09-25 00:58:20 +00:00
brian
15fe95d93d Allow Microsoft CHAP authentication.
This is a combination of MD4 & DES.
Submitted by:	Gabor Kincses <gabor@acm.org>
1997-09-25 00:52:37 +00:00
charnier
dcccb44bd0 Use err(3). Add usage(). Various fixes in man pages. 1997-09-24 06:48:24 +00:00
charnier
c4125349a2 Statisize usage(). Add return(0) for -wall. 1997-09-24 06:44:12 +00:00
ache
d854f255c1 Compact usage string, devices list can be too long 1997-09-23 23:24:13 +00:00
brian
10d0f39609 Don't luse uu_lock in -direct mode. It conflicts w/
hylafax & the like.
Get the CD bit right at last - now that I've got
my second modem back - loss of carrier makes ppp exit.
1997-09-23 22:07:51 +00:00
brian
95319a53d4 Undo botched commit (local changes got in) 1997-09-23 19:52:14 +00:00
nate
eb9cb81f95 - Bump up the size of the space for strings read from PCMCIA cards. Newer
cards have longer entries.

Submitted by:	Lars Fredriksen <lars@fredriks-1.pr.mcs.net>
1997-09-23 19:51:32 +00:00
charnier
a08e5c8f58 Use err(3). Add usage() and prototypes. 1997-09-23 06:38:54 +00:00
charnier
bab9edb2ad Use err(3). Put includes in alphabetical order.
Rewrote man page in mdoc format.
Document -v and -p flags.
1997-09-23 06:36:27 +00:00
charnier
a22aefae5d Use err(3). Make it -Wall friendly. Typo fix in man page. 1997-09-23 06:32:33 +00:00
brian
3180b73eb2 Don't allow accept/deny when it's not appropriate.
Log PAP/CHAP users in utmp & wtmp, allowing it to
be avoided with "disable utmp"
1997-09-22 23:59:16 +00:00
max
9bf19cf654 Typo fix.
PR:		4594
Submitted by:	Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-09-22 10:12:47 +00:00
jkh
955e09a3f0 If we're going to blindly install freebsd.cf from the etc-sendmail.cf
rule then we'd better depend on it.
1997-09-22 07:33:14 +00:00
charnier
03573ec4a8 Use err(3). Put includes in alphabetical order. Use .An macro. 1997-09-22 06:30:04 +00:00
brian
c2540cceee Don't pause for one second before starting LCP
negotiation.  Instead, incrementally pause after
receiving LCPs with the same magic.  We can now
suffer a server that waits more than 1 second before
responding.  Pauses greater than a second get
hopelessly confusing as when the server eventually
starts, it sees a flood of Config Requests followed
by config NAKs and changes of magic.  This causes the
server to change its magic over and over.....
1997-09-22 02:51:24 +00:00
brian
a201ed1ecc Use the correct device name in "show modem" 1997-09-22 00:55:46 +00:00
brian
a88b0d13f4 Correct the way the uucp lock file and the ttyXX.if lock
file get created.  We don't create lock files over non-tty
connections, but we *do* create lock files in -direct mode.
This leaves us capable of adding utmp/wtmp support for
successful pap & chap logins (coming soon).
1997-09-22 00:46:56 +00:00
brian
d788f319a2 Sleep for a second before sending the first LCP
config request.  This stops us from squirting stuff
down a line that still has ECHO turned on because the
peer hasn't had a chance to start yet.
Lead to the cause by:	Greg Lehey <grog@lemis.com>
1997-09-21 23:01:34 +00:00
gibbs
94d84ccb7c Add isa_devtab_cam. 1997-09-21 22:12:50 +00:00
brian
a3705cc47f It turns out that the following:
close(1);
  close(2);
  x = open(ctermid(NULL), O_RDWR|O_NONBLOCK);
  close(0)
on a tty causes select() to return an exception for descriptor x !
This is the case in RELENG_2_2, but not in 2.2.2.  I'm not sure why.
Instead of doing the x=open() and close(0), we just do x=0 now.
Problem pointed out by: Greg Lehey <grog@lemis.com>
                        Tomi Vainio <tomppa@fidata.fi>
1997-09-21 20:26:47 +00:00
brian
b67aa30e55 Typo police
Submitted by:	Mark Cammidge <mark@gmtunx.ee.uct.ac.za>
1997-09-21 13:08:00 +00:00
brian
f07c095974 Add a pppctl(8) xref.
Suggested by:	joerg
1997-09-21 13:06:43 +00:00
wosch
c38b558497 Add ypwhich(1) and yppoll(8) manual pages.
Obtained from: NetBSD, slightly modified
1997-09-21 11:49:18 +00:00
wosch
d2e18fbdd4 Chown(8) compiled with -DSUPPORT_DOT (backward compatibility) does
first check for a `.' and then for `:' as a delimiter.
Usernames with a dot will fail.

# chown r.r:bin /tmp/bla
chown: r:bin: illegal group name

Fix: first check for a `:' and then for a `.'
1997-09-21 09:13:57 +00:00
wosch
3621c7a5fa Do not complain about non existing shell "/nonexistent"
Smarter error check if a uid is already in use.

Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su>
1997-09-20 19:59:54 +00:00
wosch
718c314afd Do not accept empty user names. 1997-09-20 18:26:22 +00:00
jkh
400eee4073 More label editor enhancements.
Submitted by:	Ed Gold <vegold01@starbase.spd.louisville.edu>
1997-09-20 06:24:17 +00:00
imp
1663688086 Add missing \ from previous rev to end of a line. 1997-09-20 04:58:08 +00:00
jkh
4871a19630 Fix conditional bogon in Label Editor [from Ed Gold]
Print info boxes without titles.
1997-09-20 02:48:48 +00:00
brian
558e49db7e Use snprintf() instead of sprintf() most of the time.
Obtained from: OpenBSD

Make usage() consistent with man page.
1997-09-19 22:22:04 +00:00
max
c19f6cc37e Typo. 1997-09-19 16:04:19 +00:00
jmg
0ab518992c bmake'd pnpinfo 1997-09-19 15:41:57 +00:00
jmg
ca173ef652 activate pnpinfo 1997-09-19 15:41:43 +00:00
jmg
e2eb794514 major modifications to the mixer. currently it doesn't report errors
that it encounters (such as invalid device), but does print usage upon
this error...

but otherwise allows complex commands such as:
mixer -f /dev/mixer4 synth line 50 -rec mic +rec line =rec cd ^rec mix
1997-09-19 13:38:51 +00:00
charnier
030c020a18 Use An macro for author name. 1997-09-19 06:29:52 +00:00
charnier
c93ab23f47 Use err(3). Typo fixes in man page. 1997-09-19 06:28:57 +00:00
charnier
7d1a811eb8 Use err(3). 1997-09-19 06:27:30 +00:00
jkh
5ce42b233d Whoops! Missed one on the XF8633 -> XF86331 update.
PR:		4560
1997-09-18 17:54:36 +00:00
jkh
fbd5c7472f Correct typo. 1997-09-18 16:24:36 +00:00
jkh
254b65d7ff Over 1000 ports now. Note this in the relevant place. 1997-09-18 16:19:17 +00:00
phk
7d1a30911b Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
charnier
23d24985c5 environmental -> environment. 1997-09-18 06:55:21 +00:00
charnier
1050957269 Typo. 1997-09-18 06:54:03 +00:00
charnier
c8857f6e29 Use err(3). Document -y flag. Remove unused -s flag from getopt string. 1997-09-18 06:35:51 +00:00
brian
25ee9997f3 Don't close(1) in direct mode and then proceed to
isatty(1) !  Keep 0 open for this till the modem's
been set up by either dup()ing 0 or by opening
ctermid(NULL) (if isatty(0)).

Discussed problem with: Tomi Vainio <tomppa@fidata.fi>
Made it finally dawn on me: Angelo Turetta <ATuretta@stylo.it>
1997-09-18 00:15:25 +00:00
brian
c8c9219bd1 Support CHAP using MD4
Suggested by: jordan
1997-09-17 23:17:57 +00:00
pst
1022332b55 Fix misspelling 1997-09-17 16:23:48 +00:00
pst
f31a735d6a variable_load.c is dead 1997-09-17 16:18:54 +00:00
pst
e5ff8a9d1b Put all variables in VAR_ #define's to force a single location for all
of these magic knobs.  This is purely cosmetic and a documentation issue
so we don't have to glop through the source code looking for gems.
1997-09-17 16:18:22 +00:00
jkh
0669639743 Add a new netInteractive variable so that the interactiveness of the TCP
setup dialog from scripts is more controllable.  No more biasing off of
hostname (which is now non-optional in the non-netInteractive case).
Requested by:	pst
1997-09-17 13:33:14 +00:00
charnier
285e8aa5a7 Use err(3). Document options in man page, not in usage string. 1997-09-17 06:32:45 +00:00
charnier
5c61f71e51 Perror() -> warn(). 1997-09-17 06:30:22 +00:00
charnier
5321587692 Use err(3). Add prototypes. 1997-09-17 06:29:23 +00:00
charnier
cce249cc7c Use err(3), add usage(). 1997-09-17 06:27:23 +00:00
charnier
922bbb359a Use err(3) instead of local redefinition. 1997-09-17 06:26:06 +00:00
charnier
24b6185548 Use err(3). Use An/Aq for author name. 1997-09-17 06:24:58 +00:00
charnier
712f2188eb Wrap too long lines.
Requested by: Bruce.
1997-09-17 06:20:45 +00:00
brian
6d1d7d71c8 o Fix two unlikely descriptor leaks.
o Output the correct device for "show modem"
  while in -direct mode.
o Cosmetic:  Moan a bit more when we can't open
  the [modem] device.
o Call OpenModem() in a more "natural" way.
o Add some LogDEBUG in OpenModem().
1997-09-16 23:15:16 +00:00
jkh
9dce8dc9fa Whoops, forgot a file!
Submitted by:	pst
1997-09-16 18:57:47 +00:00
jkh
bb5b3cf175 Much better dispatch code and scripting support.
Submitted by:	pst
1997-09-16 18:57:18 +00:00
jkh
91766440b7 MF22: pst's changes.
Submitted by:	pst
1997-09-16 10:14:23 +00:00
charnier
f463013615 Police from style.9 and Bruce. 1997-09-16 07:11:13 +00:00
charnier
f94097b8d7 Use err(3). 1997-09-15 06:41:09 +00:00
charnier
214510519d Use err(3). Rewrote man page in mdoc format. 1997-09-15 06:39:25 +00:00
charnier
bce35eb1f9 Use err(3), add usage(). -Wall clean. 1997-09-15 06:37:10 +00:00
charnier
62b2e66cf2 Put includes in alphabetical order. various cosmetics. 1997-09-15 06:33:52 +00:00
charnier
7b331acb34 Remove unused #include. Statisize usage(). 1997-09-15 06:32:01 +00:00
rgrimes
2bab6f36d3 Now that this has been merged over to RELENG_2_2 remove
the #if FreeBSD >= 3 wart I added while debugging.
1997-09-15 05:08:05 +00:00
joerg
1d71c0cf14 Explain a little more about the piping feature.
PR:		4122
1997-09-14 06:55:15 +00:00
jkh
607688ffd6 XFree86 3.3.1 updates
Document new media flag in lieu of links.
1997-09-14 04:18:42 +00:00
max
5e0cc0c20e Typo. 1997-09-13 17:55:43 +00:00
wosch
07b6e5147d spelling corrections.
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
wosch
71c4c006ca typo
PR:		docs/4523
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-09-13 15:35:00 +00:00
jlemon
71f1b79fcd If a host in an export line in /etc/exports (or within a netgroup on
an export line) is unresolvable, make a note of it via syslog and skip
that individual host instead of skipping the entire line.

PR:	1981, 815
Perused by:	joerg
1997-09-12 16:25:24 +00:00
jkh
bff6965ba0 Fix offset bug in partition display that made partitions of type
`linux_swap' hose the output.

Also add a (T)ype command for changing the type of a partition.
1997-09-11 17:12:08 +00:00
brian
5b5c39fe6e Get rid of missing-prototype-warning 1997-09-10 23:55:35 +00:00
brian
14c01a8c35 PRED1 => TY_PRED1 (oops) 1997-09-10 21:36:54 +00:00
brian
bfeef12e0d o Initialize the PRED1 input queue when we
receive the ResetAck, NOT when we send the
   ResetReq (as per the rfc).
o  SILENTLY ignore CCPs that arrive *before*
   the network phase (as per the rfc).
o  Check that we've actually negotiated PRED1
   before sending PRED1 output.
   This bug has been around for a *VERY* long
   time !  We shouldn't need to explicitly disable
   PRED1 now :-)
1997-09-10 21:33:32 +00:00
jkh
fa8202c1d9 Update to XFree86 3.3.1 1997-09-10 10:15:41 +00:00
peter
1637b84960 Duh, calculate the compression ration correctly. (fixed point artithmatic
with 8 "fractional" bits needs to be divided (not multiplied) by 256.0
to get a floating point representation)
1997-09-10 08:43:17 +00:00
brian
0caf4797c1 Cosmetic: Remove unused variables and build on OpenBSD. 1997-09-10 02:20:35 +00:00
brian
ee58958cd6 Allow dial to work in non-interactive mode. 1997-09-09 23:56:29 +00:00
brian
0afb2f18f7 Print errors correctly (don't adjust
argc/argv for commands).
1997-09-09 23:23:24 +00:00
brian
656d13566a Don't start an interactive shell from a
telnet prompt.
1997-09-09 23:13:31 +00:00
brian
93918a0b6b Correct ppp authentication defaults in interactive
mode.  We don't want to be forced to type a password
here :-(
Pointed out by: mouth@ibm.net (John Kelly)

While I'm there, don't allow a "set server" in
interactive mode.
1997-09-09 21:51:39 +00:00
brian
ee76eaf632 Document the use of PAP/CHAP properly. 1997-09-09 21:01:53 +00:00
jkh
cee2977305 Scrolling partition and label lists now make it possible to partition
lots of disks from sysinstall.  Yay!  Please test this as much as
possible with any 3.0 SNAP later than 970910 (I.E. tomorrow's snap),
especially those of you with larger disk farms.

Submitted by:	Ed Gold <vegold01@starbase.spd.louisville.edu>
1997-09-09 16:32:01 +00:00
jkh
6f26e90411 Eliminate an obviously redundant message title. 1997-09-09 16:27:50 +00:00
jkh
1ade47e9ae Update for XFree86 3.3.1 1997-09-09 16:26:29 +00:00
jkh
3361aa6687 Be more cautious about leaving user with a workable kernel during the
upgrade process.
Submitted by:	Mikael Karpberg <karpen@ocean.campus.luth.se>
1997-09-09 09:19:30 +00:00
jkh
061268315e Make upgrade potentially a little less interactive.
Add and document new loadConfig function (sort of like a script #include).
Make TCP/IP setup far less chatty when it doesn't need to be.
1997-09-08 11:09:11 +00:00
joerg
adc301fb9f Add a hint to the FAQ regarding ``DD'' disks. 1997-09-07 14:05:21 +00:00
bde
4586565f9a Oops, the previous commit shouldn't have touch the Makefile. 1997-09-07 12:27:54 +00:00
bde
dedafbbcaf Don't say that swapping is configured by config. 1997-09-07 10:35:17 +00:00
brian
637e8c7c1e Disable LQR by default. It causes too many problems
with too many ISPs to be a good default.  LQR is still
accepted by default.
1997-09-07 01:00:06 +00:00
brian
3623261749 Use __libalias_version to derive the name to
pass to dlopen().
1997-09-06 11:16:02 +00:00
brian
2c126ac098 Ingored incoming packets are now dropped when
deny_incoming option is set to yes.
Submitted by:	Ari Suutari <ari@suutari.iki.fi>
1997-09-06 11:14:03 +00:00
fsmp
a0037914b6 Changed the Ints labels for the IO APIC from "INT#" to "PIN#" to better
reflect its logical usage.  Ie., there is NOT a 1-to-1 correspondence
between IRQ numbers and APIC pin numbers as there is with the 8259 ICU.
1997-09-06 04:11:53 +00:00
brian
dc6c06db24 Insist that the user has group network.
Discussed on: -committers
1997-09-05 23:11:28 +00:00
charnier
acd1e661ab Cosmetic in man page. Sync usage() with man page. 1997-09-04 11:55:45 +00:00
charnier
32af9f285a Use err(3). Style in usage(). 1997-09-04 11:52:28 +00:00
charnier
6aecc16ce2 Use err(3). Add usage and prototypes. Remove Xref: Diskless(8) does not
exist. Use An/Aq macros for Author.
1997-09-04 11:50:37 +00:00
charnier
1ef83148c9 Use err(3). Add usage(). Remove Xref: format(8) does not exist. 1997-09-04 11:40:51 +00:00
brian
aa64151d7f Install as group ``network''
Insist that uid == 0 for client ppp
Disallow client sockets if no password is specified
Don't exit on failure to open client socket for listening
Allow specification of null local password
Use reasonable size (smaller) ``vector''s in auth.c
Fix "passwd ..." usage message
Insist on "all" as arg to "quit" (if any)
Drop client socket connection before Cleanup() when "quit all"
1997-09-04 00:38:22 +00:00
jkh
5c71e8316a Install boot.help a little more skillfully; now it works without a src
dist installed. :)
1997-09-03 11:19:56 +00:00
jkh
7b5b6c96bb People have complained that this is overly chatty, and
"dangerously dedicated" mode doesn't appear to have killed
anyone in recent memory, so I agree.
1997-09-03 10:47:44 +00:00
charnier
f9d0b25995 Use err(3). Document -n flag from OpenBSD.
Obtained from: OpenBSD.
1997-09-03 06:32:31 +00:00
brian
d65200962f Bring CCP and IPCP layers down properly when LCP
comes down.  Give a count of bytes sent/received
in IPCP log.
1997-09-03 02:08:20 +00:00
brian
247761fccb Allow the transition from an idle timeout value
of zero (no timeout) while IPCP is up.
Move some prototypes into .h files and re-order
some includes.
1997-09-03 00:40:51 +00:00
jkh
aef420d4e2 Eliminate an annoying message. 1997-09-02 08:48:47 +00:00
charnier
e2047f0e6d Use err(3). Silent -Wall. 1997-09-02 06:37:48 +00:00
charnier
6039519c78 Use err(3). Typo in man page. 1997-09-02 06:36:39 +00:00
charnier
8a919505e4 Add usage(), use err(3), remove `progname'. 1997-09-02 06:35:27 +00:00
davidn
fc548d56d0 Unquote default group in pw.conf.
PR: 4365
Submitted by: "Andrew L. Moore" <alm@mclink.com>
1997-09-01 09:33:08 +00:00
charnier
176b4f9aa3 Cosmetic changes. 1997-09-01 06:14:17 +00:00
charnier
84df38645d Use err(3). 1997-09-01 06:12:37 +00:00
charnier
aaa911ea7f Style in rcsid, sort #include. 1997-09-01 06:11:40 +00:00
brian
6e6dc583c0 Cosmetic: Make LogPrintf() calls consistent. 1997-08-31 22:59:49 +00:00
brian
a42ed26cbb Make ppp owner root.ppp, mode 4550
Suggested by: guido
Condoned by: eivind
1997-08-31 20:18:03 +00:00
brian
2c8e1d89ae Remove use of login_progok()
Suggested by: guido
1997-08-31 20:07:03 +00:00
eivind
a9b20aa908 Fix my e-mail address. Old work addres is no good. 1997-08-31 16:38:33 +00:00
peter
51aaabd5d5 Initial support for dealing with an elf /kernel. This is a loose hybrid
of OpenBSD's elf nlist code for this, and our a.out version.  The OpenBSD
version was mainly a seek/read system with a mmap of the string table,
this one simply mmap's the lot (like the a.out version).

Obtained from:  a fair chunk from OpenBSD
1997-08-30 23:35:00 +00:00
peter
18758c40e7 Update to include some of the newer vnode flags and remove some stale ones. 1997-08-30 20:18:49 +00:00
jmg
fe87b6f70d fix a few spelling changes
Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.
1997-08-30 12:22:49 +00:00
jmg
d3cdd4aa57 fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4424
1997-08-30 11:05:34 +00:00
jmg
6f11b4577c fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4423
1997-08-30 11:04:03 +00:00
kato
59ed83fa92 Added hw.machine_arch. 1997-08-30 02:28:00 +00:00
guido
0f5b2573a9 Plug info agthering attack as pointed out on Bugtraq recently.
Obtained from: OpenBSD
1997-08-29 19:22:28 +00:00
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
pst
173a3e2bb3 Back out the fancy directory sorting, it's more pain that its worth,
and it's there in the CVS repository in case someone things that this
idea is superkeen.
1997-08-13 06:23:54 +00:00
pst
0742607c97 Incorporate some ideas that came up during discussion with msmith. 1997-08-13 06:02:18 +00:00
pst
b1f3c13cfa Enable periodic 1997-08-13 00:58:49 +00:00
pst
e99989d54f This commit was generated by cvs2svn to compensate for changes in r28112,
which included commits to RCS files with non-trunk default branches.
1997-08-12 17:48:49 +00:00
pst
2b36cb62ca Initial import of periodic executable control program. 1997-08-12 17:48:49 +00:00
brian
7df0e33632 Use libalias.so.2.3. 1997-08-11 22:07:57 +00:00
jkh
ef21597f1e Add a SEE ALSO for install.cfg sample script. 1997-08-11 13:20:38 +00:00
jkh
577e091a3e Make some changes to the way the label editor reads script variables
so you don't need to re-enter it for each and every filesystem. Heads up!
This change is incompatible with the previous scripting format,
so those folks (all 2 of you) using config files should take a look
at the changes to the sample install.cfg file for the diskLabelEditor's
new calling syntax.

Finally write a man page for this thing, documenting all of the above
and more.  I can't drive a stake through this thing's heart without
properly documenting it first, so please consider this step #1 in that
process (to be honest, sysinstall will also live on for some time in
the 2.2. branch since it's unlikely that the new install tools will ever
make it over there - they're strictly 3.0 material).
1997-08-11 13:08:29 +00:00
brian
efd2e57820 Correct default log file name.
PR:		4065
Prompted by:	Steve Price <sprice@hiwaay.net>
Submitted by:	sjr1@flash.net
1997-08-10 22:03:20 +00:00
brian
a7a4ee2e82 - Buffer space problem found by Sergio Lenzi <lenzi@bsi.com.br>
fixed. Natd now waits with select(2) for buffer space
  to become available if write fails.
- Packet aliasing library upgraded to 2.2.

Submitted by:	Ari Suutari <suutari@iki.fi>
1997-08-10 21:55:52 +00:00
wpaul
0cc6a9e3e1 Don't initialize structures from other variables; gcc -ansi -pedantic
doesn't allow it. Use proper constants instead.
1997-08-10 20:37:48 +00:00
rgrimes
02326bbc5f Add #if __FreeBSD__ >= 3 around #include <net/if_var.h> so that this
can compile under both FreeBSD 2.x and 3.x.
1997-08-06 00:45:23 +00:00
peter
8cb152219b Merge sendmail-8.8.7 changes from vendor branch 1997-08-04 05:07:46 +00:00
peter
b5427c8dbd Merge sendmail 8.8.7 changes from vendor branch 1997-08-04 05:06:42 +00:00
peter
0c24c755eb Import sendmail-8.8.7 onto vendor branch.
Obtained from: ftp.sendmail.org
1997-08-04 05:00:07 +00:00
peter
5a1a3c54a3 This commit was generated by cvs2svn to compensate for changes in r27876,
which included commits to RCS files with non-trunk default branches.
1997-08-04 05:00:07 +00:00
brian
6db25c59fd Use libalias.so.2.2 1997-08-03 20:21:22 +00:00
peter
323fad76e0 Zap antique #ifndef NEWVM code. This should be redone to use libkvm
someday.
1997-08-03 09:53:04 +00:00
bde
97f7b12133 config.new/config.8 seems to be new in Lite2. Remove it like the rest of
config.new.
1997-08-03 06:40:01 +00:00
bde
e6b13e1573 README is for Lite2. We don't want it. 1997-08-03 06:38:27 +00:00