Commit Graph

4914 Commits

Author SHA1 Message Date
sheldonh
9399e329ba Fix typo: sofware -> software.
PR:	12837
Submitted by:	Norihiro Kumagai <kuma@jp.freebsd.org>
1999-07-28 13:33:36 +00:00
davidn
fc1c90c001 Remove some more warnings. 1999-07-28 12:49:34 +00:00
obrien
d3d8fcaefb Correctly refer to the companion program rather than as "chown".
Clean up wording a little (like I have any idea what real English looks like...)
1999-07-28 04:28:05 +00:00
obrien
6ceec54562 Go back to allowing ``.'' as a username.group separator for backward
compatibility.  : is still the documented non-ambiguous approach.  The
algorithm used will correctly parse david.obrien.staff as strrchar() is
used, and in my mind more people would use a ``.'' in the username than
the group name.

Convinced by argument and patch by: sheldonh (with slight changes by me)
1999-07-28 04:26:10 +00:00
brian
3c3730e544 Fix a load of typos
Use sizeof, not a hardcode value.

Some of it submitted by:  Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
1999-07-28 03:01:52 +00:00
brian
b1e2568a74 o Overhaul filtering, adding facilities to jump over rules and to
negate the sense of rules.
o Remove the redundant (and undocumented) ``host'' and ``port''
  words (README.changes updated).
o Don't permit (and ignore) garbage instead of the protocol.

Mostly submitted by:  Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
1999-07-27 23:44:00 +00:00
nik
5e2df02973 Remove references to the non-existent addgroup(8) and rmgroup(8)
commands.

PR:             docs/12659
Submitted by:   Mark Diekhans <markd@Grizzly.COM>
1999-07-27 18:22:18 +00:00
n_hibma
759f3353b2 Changed 'overriding what /etc/passwd says' to 'overriding default set
by cron'

PR:		12520
Submitted by:	(not specified)
1999-07-27 16:39:02 +00:00
brian
caf44157f7 If we've negotiated CBCP and have also specified ``none'' as a possible
callback option, and the server sends us CBCP_NONUM, proceed directly
to the network phase rather than insisting on our configured CBCP
option.

Mostly submitted by: kkphang <phang@dgate.po.my>
1999-07-27 13:47:59 +00:00
brian
ff795a3c8a Be a bit more consistent with variable names. 1999-07-27 00:30:32 +00:00
brian
39e8ada562 Fix an off-by-one error and correct the man page WRT clearing
filters.

Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
PR:		12437
1999-07-26 11:15:11 +00:00
brian
e4e0d5af10 Add a default ppp.conf (mode 600).
Originally submitted by: Wayne Self <wself@cdrom.com>

Allow a ppp startup option in rc.conf.

Adjust sysinstall so that it appends to the end of ppp.conf
and uses the generated profile to start ppp in auto mode on
boot.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
1999-07-26 10:49:37 +00:00
des
abbc705db7 Pull on my asbestos undies and claim ownership of inetd to prevent further
flamage between our beloved messrs Hearn and Feldman. Further commits go
through me. I urge the contestants to direct their energies at cleaning
up main() in inetd.c, which has over time become a crawling horror.
1999-07-26 08:43:03 +00:00
green
6a50e3204b Here goes, the "clear up any possible confusion" commit.
I've taken time to write up comments for the ident code tonight,
so there should no longer be any confusion about the purpouse of
whatever is in there. Wow, me commenting code... who'd have thought
that would happen?

Reviewed by:	DES
1999-07-26 07:57:35 +00:00
sheldonh
10baadac8b Bring two wayward memory allocation failure messages in line with
those featured in the rest of the code.
1999-07-26 06:39:46 +00:00
green
a6d024dd6d More cleanups to ident_stream. Variables moved around, changed.
Got rid of an extra variable or two, while making corrections to
problems (that would probably not be a problem anyway, and worked.)

Partially Obtained from:	David Malone <dwmalone@maths.tcd.ie>
1999-07-25 23:15:03 +00:00
wpaul
bfb34cd229 This commit adds device driver support for Adaptec Duralink PCI fast
ethernet controllers based on the AIC-6915 "Starfire" controller chip.
There are single port, dual port and quad port cards, plus one 100baseFX
card. All are 64-bit PCI devices, except one single port model.

The Starfire would be a very nice chip were it not for the fact that
receive buffers have to be longword aligned. This requires buffer
copying in order to achieve proper payload alignment on the alpha.
Payload alignment is enforced on both the alpha and x86 platforms.
The Starfire has several different DMA descriptor formats and transfer
mechanisms. This driver uses frame descriptors for transmission which
can address up to 14 packet fragments, and a single fragment descriptor
for receive. It also uses the producer/consumer model and completion
queues for both transmit and receive. The transmit ring has 128
descriptors and the receive ring has 256.

This driver supports both FreeBSD/i386 and FreeBSD/alpha, and uses newbus
so that it can be compiled as a loadable kernel module. Support for BPF
and hardware multicast filtering is included.
1999-07-25 04:32:50 +00:00
green
cd1df26040 Correct a groff error in macro usage ("foo : bar" becomes "``foo: bar''").
Document the auth -n flag.
1999-07-24 17:11:50 +00:00
green
663872d2f0 More cleanups, asprintf() usage (proper, as opposed to using snprintf()),
and addition of a -n .noident-checking flag.
1999-07-24 17:06:05 +00:00
green
2fe5cf8c6f Clean up to match style(9) more closely. This should fix the problem of
people having ants in their pants ;)
1999-07-24 16:24:03 +00:00
sheldonh
a81c542596 Use comments to group functions by service more clearly. I've used the
excuse of providing the RFC numbers for the associated services.
1999-07-24 13:02:09 +00:00
sheldonh
59225f1252 Style nits:
* Bring memory allocation failure handling in line with that of
	the rest of the code.
      * Nestle block curlies between case statements correctly.

I've left the in-block declarations alone, since style(9) says we should
conform to the existing style within the code, and inetd already does
this. I've left the asprintf()'s in there because that's how Brian wants
it.
1999-07-24 12:35:50 +00:00
brian
57c8debd5f When we fetch previously retrieved IP fragments from the alias
tables, copy them correctly back into our mbuf rather giving a
bzero'd count to memcpy() and ending up with a 0 byte fragment.

The old code resulted in a 0 byte write to the tun device which
tickled a bug that resulted in a panic :-(
1999-07-24 02:53:39 +00:00
sheldonh
02f4a20733 Document the -o and -t options to the internal auth service and give an
example of their usage in the sample config. Merge the two examples
for the green internal auth service.

This commit failed the first time around because Brian beat me to the
punch on inetd.8 . I like my descriptions better and I'm pretty sure
Brian won't mind.
1999-07-23 15:49:34 +00:00
green
1812d0ce51 Ahem. Put things back a bit. I declare variables in the scope they're
used! I don't declare every variable at the top of a function because
that wastes stack space. I've clarified the error a bit (for if asprintf()
filas.)
1999-07-23 15:49:14 +00:00
jkh
6c129aa123 Disable more PC98isms on the Alpha 1999-07-23 15:39:51 +00:00
green
95bbb04328 As per DES's prodding, document _all_ the arguments to inetd's auth
service. This includes the -o "operating system" argument and the -t
"timeout" argument.
1999-07-23 15:37:39 +00:00
sheldonh
b1678c7cad Style cleanups for iderror() and ident_stream(). Looks like c++ hang-over.
;-)
1999-07-23 15:26:42 +00:00
sheldonh
ad6a8d3c58 Fix auth -t argument handling. It was broken for the "sec.usec" case.
Add a warning for bogus -t arguments for the (debug) case.
1999-07-23 15:00:07 +00:00
hosokawa
009be88d81 Set correct "flags" value when pccardd allocates/initializes driver. 1999-07-23 14:58:33 +00:00
des
325c3b9e2e Don't match up TCP services with UDP sockets. 1999-07-23 14:45:21 +00:00
hosokawa
74f62b341b Removed a very very old hack (I disabled it in PAO long time ago)
that existed in original PC-card driver for FreeBSD 2.0 (maybe).
This prevents from utilizing flags for drivers.
1999-07-23 08:53:20 +00:00
green
c961343ec9 Fixed a braino: lack of spaces in sscanf caused ident parsing to fail.
Sorry, guys.
1999-07-23 03:51:52 +00:00
jkh
21ba64b2b6 More changes for the Alpha X support - don't list PC98 servers since they make
no sense here but list the TGA server, since it does.
1999-07-23 03:42:23 +00:00
hosokawa
ad8014e762 Sorry, I forgot to test "iosize auto" before merging "iosize" patch. 1999-07-23 02:01:19 +00:00
hosokawa
104085db69 Inappropriate commment for -i option. 1999-07-23 01:46:47 +00:00
hosokawa
7fdfe857ae Added "iosize" directive in /etc/pccard.conf
Allocate free I/O window with given size to card.

(example)
# IBM PCMCIA Ethernet I/II
card "IBM Corp." "Ethernet"
	config	0x1 "ed0" ?
	iosize	32
	ether	0xff0

(it's currently only useful for externalizing hacks for broken CIS cards,
 but it will play an important role with "function" directive I'm planninng
 to merge)

Reviewed by:	freebsd-mobile list
Obtained from:	PAO3's "cardio" directive
1999-07-23 01:33:34 +00:00
hosokawa
7592caf7fb Release IRQ allocated dynamically. 1999-07-23 00:12:22 +00:00
green
42276676ae "knobs are cheap". Here's a -t timeout option for the internal ident
service. It takes a number (w/ or w/out .usec) as an argument.
1999-07-22 21:42:49 +00:00
green
2c0ff46401 This commit encompasses the following changes to inetd:
1. Cleanups of ident_stream. "Evil" stdio is less used.
	2. The BSD Copyright was added to the top of builtins.c.
	3. As suggested, a timeout is now implemented in the ident
	   service. It defaults to 10 seconds. If enough people want
	   it, I'll make it configurable.

Suggested by:	msmith
1999-07-22 21:11:40 +00:00
sheldonh
4a2d3b0a73 Relegate the diagnostic descriptor counter to the -DSANITY_CHECK case. 1999-07-22 16:29:48 +00:00
sheldonh
c3efca444a Remove unnecessary macro introduced in previous commit.
Also, the previous commit failed to reference:

PR:	12731
Submitted by:	dwmalone@maths.tcd.ie (David "Inetd" Malone)
1999-07-22 16:10:40 +00:00
sheldonh
372a82aeb2 Don't leak pipe descriptor to daemons on execv(). 1999-07-22 15:57:37 +00:00
sheldonh
f33da61123 Signal handlers should use _exit(2) and not exit(3). 1999-07-22 14:47:29 +00:00
yokota
004d15ba2f - Add new argument off' to the -b' option. This will turn off
the bell.
- Document it in the man page.
- Fix a couple of typo in the man page.

Submitted by: cpiazza
1999-07-22 14:19:14 +00:00
sheldonh
a26f6eed12 Move code for all builtin services from inetd.c to builtins.c, including
the Green Piece. :-)

In future, new builtin services are less likely to need to touch the
already tangled inetd.c .
1999-07-22 14:11:26 +00:00
jkh
ddd02604d0 Deal with new linux compat package naming.
Submitted by:	Marcel Moolenaar <marcel@scc.nl>
1999-07-22 09:18:12 +00:00
jkh
1211de8092 Intentionally do the wrong thing in using the initial DHCP values for
ifconfig, essentially stealing the lease until the user goes and changes
it.  The alternative, sadly, is total dysfunction since bpf isn't in
GENERIC and network connectivity would otherwise fail completely on first
bootup when DHCP configuration was attempted again.

The ultimate answer here is to make either bpf a loadable kernel module
(which security conscious admins will be able to simply remove from /modules)
or come up with a lighter weight mechanism just for dhcp and other apps that
need to see broadcast packets but not otherwise sniff the wire in full
bpf glory.
1999-07-22 08:51:42 +00:00
sheldonh
97ef87606c Fix for the hosts_options(5) spawn option.
Restore default SIGHUP, SIGCHLD and SIGALRM handlers in forked inetd
processes. This happens to work around the fact that hosts_access()
doesn't (but should) set SIG_IGN as the handler for SIGCHLD while it
handles the spawn option, but it would make sense even if that were
not true.

This does not address the leaking descriptors issue discussed on the
same PR.

PR:	12731
Reviewed by:	des
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1999-07-21 16:09:45 +00:00
sheldonh
fe21c41b9a Fix horribly broken comment. The submitter of the associated code sent
me the right comment and I bastardized it. :-(
1999-07-21 12:19:24 +00:00
jkh
d7df7320f5 XFree86 3.3.4 seems to require "XWINHOME" to be set for the setup tool
to work (fnark).
1999-07-20 21:06:18 +00:00
green
ba609e7eff Make bcd2int work (resume time reporting now works.)
PR:		12613
Submitted by:	Michael Constant <mconst@not.there.com>
1999-07-20 15:37:28 +00:00
green
4b2dc69309 Make wall_cmos do something.
PR:		12614
1999-07-20 15:31:23 +00:00
jkh
34c6cab383 The matcd driver is acting strange (returning a successful open even
when it fails).  Disable it in sysinstall for now.
1999-07-20 08:47:35 +00:00
jkh
33156a0288 Fix a bad dhcp keyword; it's host-name not server-name. 1999-07-20 08:08:24 +00:00
jkh
f3a8e75d0d Add slovakian ftp mirror.
Submitted by:		"Tomas TPS Ulej" <tps@ti.sk>
1999-07-20 07:50:26 +00:00
jkh
9af17c13e3 More Alpha ifdefage. 1999-07-20 07:39:22 +00:00
msmith
306522cd3e Make memcontrol's internal help actually work. No substitute for a real
manpage, but at least now you can get syntax help without resorting
to reading the source.
1999-07-20 04:33:14 +00:00
rnordier
a7afad5c3f Activate kgzip. 1999-07-19 20:22:44 +00:00
rnordier
bff311200f This commit was generated by cvs2svn to compensate for changes in r48905,
which included commits to RCS files with non-trunk default branches.
1999-07-19 18:00:18 +00:00
rnordier
21ebb70093 kgzip is a kzip(8) replacement able to compress and link bootable
32-bit binaries in both ELF and a.out format.

Development sponsored by Global Technology Associates, Inc.

Reviewed/tested by: abial
1999-07-19 18:00:18 +00:00
jkh
febde75d0f Catch an XFree86 3.3.4 update I missed. 1999-07-19 11:58:01 +00:00
jkh
c53c574b39 Update for XFree86 3.3.4 1999-07-19 11:49:22 +00:00
jkh
f7a8e911ac Wait for dhclient in a far saner fashion.
Submitted by:	obrien
1999-07-19 11:00:56 +00:00
jkh
3dfb76f3fa cleanup pass over new stuff. 1999-07-19 10:18:52 +00:00
jkh
41da52ddf5 Another batch of fixes for dhcp support in sysinstall, now dragging
in some code from C. Stone to parse the lease information.  This is still
a WIP and this commit is largely intended to allow others to sync up; the
dhclient code still only works when doing dhcp configuration post-install
and requires a bit more work on the boot floppy before it will truly
work in the minimal bootstrapping role.
1999-07-19 10:06:18 +00:00
jkh
0a77c04420 Some additional optimizations for using DHCP. 1999-07-18 10:18:06 +00:00
jkh
bc7fbcba28 Miscellaneous fixes for dhcp client support. 1999-07-18 02:20:56 +00:00
brian
ac3ceda750 Fix a typo
Submitted by:	Rich Wood <rich@chugaboom.net>
1999-07-17 10:33:57 +00:00
jkh
0827089587 Add in a hack to turn off unaligned access warnings for alpha.
Submitted by:	msmith
1999-07-16 22:07:09 +00:00
jkh
6bf0f0fd41 Don't offer compat dists on alpha since it makes no sense to do so.
Suggested by:	msmith
1999-07-16 22:03:27 +00:00
sheldonh
d3feb2fa04 Document the new {auth,ident,tap} service and provide examples in the
configuration file.

Requested by:	green
1999-07-16 15:41:14 +00:00
jkh
d65a08ff66 Re-enable DHCP client support again (but optional and turned off by default
for the time being) for debugging purposes.

Fix bug in options selection.
1999-07-16 11:13:09 +00:00
abial
f5f226bf3c Add a knob to avoid DES code when making crunched binary. This isn't a beauty
incarnated, it just matches other deficiencies related to crunchgen
and friends... and we already have similar code in ppp/Makefile.

RELEASE_CRUNCH should be axed, but for now let's be consistent.

Submitted by:	Patrick Powell <papowell@astart.com>
1999-07-15 21:47:52 +00:00
green
559371c2c8 By popular demand, ident_stream now takes arguments. Ex:
# This enables the old, fake ident service.
auth    stream  tcp     nowait  root    internal
# This enables the new, real ident service.
auth	stream	tcp	nowait	root	internal	auth -r
# This enables ~/.fakeid support, too.
auth	stream	tcp	nowait	root	internal	auth -r -f
1999-07-15 17:01:43 +00:00
imp
6494839c7f Fix a dangling else warning from new egcs. 1999-07-15 03:04:31 +00:00
brian
0a88060ec0 Don't declare `end' if we aren't compiling radius support. 1999-07-15 02:02:51 +00:00
green
7396d5d8d0 This is the working internal ident service. Turn it on by setting
the make variable REAL_IDENT, and ~/.fakeid support can be added
with FAKEID set. Note that the default behavior is the same as
the old behavior.
1999-07-15 01:34:02 +00:00
foxfair
50d7141234 Change the wrong URL of back-issue FreeBSD newsletter. 1999-07-14 02:23:16 +00:00
nik
7effc709bc Add $Id$, to make it simpler for members of the translation teams to
track.

The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:12:29 +00:00
nik
e176ea7855 Add $Id$ to these manpages.
Approved by:            bde
1999-07-12 20:04:59 +00:00
yokota
a67a6931b0 Improve Logitech MouseMan+ protocol support. 1999-07-12 15:16:14 +00:00
green
6bd61f84b2 Fix ``:''.
PR:		12589
1999-07-11 08:32:24 +00:00
iwasaki
f4f70db459 Fix typo ($Id: ... % --> $Id: ... $). 1999-07-10 18:28:26 +00:00
iwasaki
a18b453403 Activate apmd. 1999-07-10 17:44:02 +00:00
iwasaki
184061acbd This commit was generated by cvs2svn to compensate for changes in r48730,
which included commits to RCS files with non-trunk default branches.
1999-07-10 17:39:36 +00:00
iwasaki
8202136bb4 The apmd package provides a means of handling various APM events from
userland code.  Using apmd.conf, the apmd(8) configuration file, you
can select the APM events to be handled from userland and specify the
commands for a given event, allowing APM behaviour to be configured
flexibly.

Have Fun!

Submitted by:	iwasaki, KOIE Hidetaka <hide@koie.org>
Reviewed by:	-hackers, -mobile and bsd-nomads ML folks.
Contributed by:	Warner Losh <imp@FreeBSD.org>,
	Hiroshi Yamashita <bluemoon@msj.biglobe.ne.jp>,
	Yoshihiko SARUMARU <mistral@imasy.or.jp>,
	Norihiro Kumagai <kuma@nk.rim.or.jp>,
	NAKAGAWA Yoshihisa <nakagawa@jp.FreeBSD.org>, and
	Nick Hilliard <nick@foobar.org>.
1999-07-10 17:39:36 +00:00
brian
d857dcc720 Oops - add a missing cast. 1999-07-10 00:08:19 +00:00
brian
9c4ccb7f5f Leap through one more hoop to avoid alignment problems. 1999-07-10 00:03:58 +00:00
phk
f541d27fb1 Add example of how to create a jail. 1999-07-09 21:35:50 +00:00
sheldonh
ce3b80473d Use the proctitle to indicate that we're busy wrapping a request for a
service. Inetd already uses the process title to indicate that a request
for an internal service is being serviced, so this addition is fairly
orthogonal.

Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1999-07-09 11:46:45 +00:00
sheldonh
ae39058a9f Allow internal and external wrapping to be enabled independantly of
each other. Instead of allowing the -w option to be specified twice,
we now take -w (wrap external) and -W (wrap internal).

Discussed with:	markm
1999-07-09 11:19:01 +00:00
wpaul
336bbb02d9 This commit adds driver support for the SysKonnect SK-984x series
gigabit ethernet adapters. This includes two single port cards
(single mode and multimode fiber) and two dual port cards (also single
mode and multimode fiber). SysKonnect is currently the only
vendor with a dual port gigabit ethernet NIC.

The ports on dual port adapters are treated as separate network
interfaces. Thus, if you have an SK-9844 dual port SX card, you
should have both sk0 and sk1 interfaces attached. Dual port cards
are implemented using two XMAC II chips connected to a single
SysKonnect GEnesis controller. Hence, dual port cards are really
one PCI device, as opposed to two separate PCI devices connected
through a PCI to PCI bridge. Note that SysKonnect's drivers use
the two ports for failover purposes rather that as two separate
interfaces, plus they don't support jumbo frames. This applies to
their Linux driver too. :)

Support is provided for hardware multicast filtering, BPF and
jumbo frames. The SysKonnect cards support TCP checksum offload
however this feature is not currently enabled (hopefully it will
be once we get checksum offload support).

There are still a few things that need to be implemeted, like
the ability to communicate with the on-board LM80 voltage/temperature
monitor, but I wanted to get the driver under CVS control and into
-current so people could bang on it.

A big thanks for SysKonnect for making all their programming info
for these cards (and for their FDDI and token ring cards) available
without NDA (see www.syskonnect.com).
1999-07-09 04:30:09 +00:00
yokota
f133a11071 Do not list a null string in a dialog box. 1999-07-07 13:20:38 +00:00
jkh
7dafac1afc invoke fvwm properly 1999-07-07 09:47:41 +00:00
phk
34132adf1f update fla related entries. 1999-07-06 20:40:22 +00:00
jkh
82a3adae67 Don't ask about Linux emulation on the alpha (for now). 1999-07-06 09:19:36 +00:00
hosokawa
06e261ee78 Use #include <pccard_conf.h> instead of -DPCCARD.
Now we don't have to make clean before make boot.flp's.
1999-07-06 09:16:00 +00:00
jkh
1cb9b86e52 Add an option for more fully enabling linux compatibility. 1999-07-06 08:45:40 +00:00
nik
d66ca720b4 Make the source and the man page agree about the flags accepted by
ntpdate.

PR:             docs/12344
Submitted by:   Gerhard Gonter <gonter@whisky.wu-wien.ac.at>
Reviewed by:    nik
1999-07-05 23:06:33 +00:00
yokota
47ed71183f Added the EXAMPLE section and try to make the text slightly more informative.
Grammar and Spelling Reviewed by: mpp

While mpp kindly checked grammar and spelling, any technical errors
remaining in the man pages are entirely of mine.
1999-07-05 09:58:41 +00:00
hosokawa
cfa8489fcc configure "pccardd_flags" in /etc/rc.conf by sysinstall. 1999-07-04 15:54:14 +00:00
hosokawa
efd5e9cb33 Modified to configure pccard_mem in /etc/rc.conf by sysinstall. 1999-07-04 15:11:23 +00:00
peter
1da55a2a54 Delete special handling for 'device-driver' suffix, it's not used in
the kernel source now.
1999-07-03 19:22:52 +00:00
mharo
66637919ff wcd -> acd
Submitted by:	 Ruslan Ermilov <ru@ucb.crimea.ua>
1999-07-03 05:42:38 +00:00
jkh
502edb46af Eliminate some varargs abuse. 1999-07-02 22:36:14 +00:00
sheldonh
a145b5f217 Allow service alias names from /etc/services to be used when specifying
internal services in inetd.conf .

The inetd(8) manpage used to say that the official name of a service
_must_ be used, yet inetd itself was hardcoded to used a service alias for
the auth service, namely ident!

Rather than change inetd.conf and break existing configurations on next
upgrade, we now allow service aliases as well as official names. This
allows the software to work as expected and still support existing
configurations.

This should not breaking existing wrapped configurations either and the
inetd(8) manpage already states that it is the service name specified in
inetd.conf that is used for calls to hosts_access(3).

PR:	11796
Reported by:	Alex Charalabidis <alex@wnm.net>
Approved by:	des
1999-07-02 16:21:13 +00:00
sheldonh
d66e41ba15 Clarify that the services name, as specified in inetd.conf, for an
internal service should be used as the daemon name when constructing
hosts_access(5) rules.
1999-07-02 15:58:32 +00:00
sheldonh
bb40ae2ca1 Back out previous commit. Allowing `-' as a pseudonym for /dev/stdin is
legacy behaviour inherited from systems that don't have /dev/stdin.

Requested by:	bde
1999-07-02 12:31:31 +00:00
jkh
4206273f1d Fix stupid error where more bits where set than actual distributions
used.  Doh!

Embarassingly-pointed-out-by:	Brian Dean <brdean@unx.sas.com>
1999-07-02 02:00:23 +00:00
mks
c12e85162e Modify code to be -Wall'able.
PR: bin/11315
1999-07-01 20:48:59 +00:00
peter
c56d47c7a1 Don't include trailing whitespace in ID tokens before comments. ie:
options FOO=10		# comment
would give FOO the value of "10		" and that caused unwanted
touches on the opt_*.h files.

I hope I've got this right..
1999-07-01 16:20:16 +00:00
peter
238abea5d1 Detect and remove defunct or unknown options from opt_*.h files. This
can happen when options are removed from the options files.
1999-07-01 16:17:13 +00:00
sheldonh
fa80475425 Ommitted in previous commit message:
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1999-06-30 23:47:46 +00:00
sheldonh
d867ec5dc7 Enable wrapping for dgram services and fix logging so that -l really
does log all connections.
1999-06-30 23:36:39 +00:00
sheldonh
d8c33e0745 Allow the use of `-' as an argument to the -w option so that standard
input may be used (e.g. gunzip -c /var/log/wtmp.Jan.gz | ac -w - ).

PR:	12467
Submitted by:	wollman
1999-06-30 21:46:03 +00:00
kris
a60b2a4f84 Grammar and spelling fixes
Obtained from:	OpenBSD
1999-06-30 12:49:56 +00:00
hosokawa
072c6bf79c Changed pcicmem and cardirq variables to non-dirty variables. 1999-06-30 05:04:37 +00:00
hosokawa
7c1d908dc1 pccard_beep parameter is not supported by rc.conf and rc.pccard of -current.
(I'll port it later...)
1999-06-30 04:16:08 +00:00
hosokawa
dd004b8d1a Added -z and -i option. 1999-06-30 03:49:30 +00:00
hosokawa
fe1b840778 FreeBSD does supports LKM now.
PR: doc/10331
Reviewed by: mpp@freebsd.org
Submitted by: Andreas Gustafsson <gson@araneus.fi>
1999-06-29 23:59:15 +00:00
pb
76f1b19c23 Move call to umask(0) back into pw_util(), because the latter
function is also used by chpass(1) and passwd(1).
1999-06-29 01:04:10 +00:00
sheldonh
9c4ac087ff Sync usage() with the manpage.
Approved by:	mpp
1999-06-28 11:27:14 +00:00
sheldonh
468ef4955f Fix broken logic: (!wrap || log) -> (!wrap && log) .
Reported by:	David Malone <dwmalone@maths.tcd.ie>
1999-06-28 09:28:17 +00:00
obrien
e6f703dc89 Syntax for user/group is changed from "user.group" to "user:group" to be
consistant with chown(8).
1999-06-28 03:15:02 +00:00
billf
e6db66ca5f New ports/{java,irc,x11-servers} categories, Step #5 - update misc files. 1999-06-28 02:37:34 +00:00
sheldonh
3ed9569b07 Fix the SYNOPSIS to reflect that the -w option can be specified twice.
Requested by:	obrien
Approved by:	mpp
1999-06-27 21:07:55 +00:00
sheldonh
743f810e74 Add command-line option (-w), specified once to enable wrapping and
twice to enable wrapping for internal wrapping as well. If the option is
not specified wrapping is turned off so that inetd will behave exactly
as it used to before TCP Wrappers was imported.

Change etc/defaults/rc.conf so as to encourage wrapping on new systems.

Clarify the use of TCP Wrappers in the IMPLEMENTATION NOTES of the
manual page.

Approved by:	jkh
1999-06-27 18:05:34 +00:00
mpp
63d6f378d1 Minor mdoc fix. 1999-06-26 23:16:40 +00:00
pb
f79578648f Force umask to 077 (instead of 000) during the edit phase, to get
secure permissions in case the user attempts to save something to
a file of his own.

Move umask stuff out of pw_init() into main() for better visibility
of overall umask tweaking logic.

PR:		misc/11797
1999-06-26 12:15:39 +00:00
sheldonh
d3271f9d2b Report the correct master.passwd path on failure when the -d option is
used.
1999-06-26 10:45:06 +00:00
sheldonh
6a6011a9a8 Add -d option to vipw(8) to allow selection of an alternative directory
for the password files.

PR:	2703
Submitted by:	jmg
1999-06-26 07:16:42 +00:00
brian
91ad6a1860 Correct usage message 1999-06-26 03:11:39 +00:00
brian
f285ede018 Don't bother read()ing if we ``expect'' nothing in our chat script. 1999-06-26 02:54:36 +00:00
brian
2b58d25492 If we run out of chat script immediately after a successfully executed
expect-send-expect sequence, finish gracefully, don't core dump.
This bug has been there for over a year - I could never reproduce it !

Straw provided by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1999-06-26 02:54:24 +00:00
n_hibma
34e5c4267f Fix typo (missing double quote) 1999-06-24 17:20:54 +00:00
imp
7d9014f75b Per Ken's request, back out my last change to this file. iostat's man
page documents '?' as a valid option, as does the usage message.  None
of the other programs' man pages documented '?' as a valid option.
1999-06-24 07:39:25 +00:00
imp
9472a2e779 Two getopts related nits:
o getopt returns -1 rather than EOF on errors
	o getopt returns '?' for characters it doesn't know about, so
	  don't include them in the getopt options string.
1999-06-24 06:43:21 +00:00
imp
24c7dc9781 '?' shouldn't be in the usage string. Unknown characters are already
converted to '?'.
1999-06-24 06:33:24 +00:00
mpp
0fc7bcdcdf Some man page cleanup. Make the NAME and SYNOPSIS sections agree so
that whatis(1) will produce the expected results.

Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 06:22:24 +00:00
billf
6031a99586 If we are going to have a case for '?' then we should define it in Options.
Submitted by:	Ben Olson <bseth@chc-chimes.com>
1999-06-23 16:54:38 +00:00
brian
cff11489a9 Support `igmp' filters.
Mostly submitted by: Timo Geusch <freebsd@sleepycat.ukpeople.net>
1999-06-23 16:48:24 +00:00
brian
bc5ef0ee65 The ports tree is now 83MB. Change `about 50MB'' to `about 90MB''.
Suggested by: Mark Knight <markk@shrewd.demon.co.uk
1999-06-23 08:40:56 +00:00
jkh
e312188b31 Eliminate dead ntp servers.
Submitted by:		mharo
1999-06-23 03:52:10 +00:00
mharo
23a684c508 Make UTC or local time message a little more clear. 1999-06-23 03:31:36 +00:00
rnordier
c320d7a68c Check that we really have a boot0 mbr before treating it as one.
Suggested by: peter

Also add a few comments.
1999-06-22 18:57:49 +00:00
yokota
1c48ed075d Reflect recent changes in syscons. 1999-06-22 14:15:46 +00:00
brian
03f37b2162 Disable TUNSLMODE when we first open the tun device.
Submitted by: Ian West <ian@niw.com.au>
1999-06-22 11:31:42 +00:00
rnordier
fcaa828a11 Ensure that an update takes place when the -m option is used. 1999-06-21 14:40:59 +00:00
sheldonh
1d333db7b6 Use Dq mdoc tag for double-quoted words. 1999-06-21 11:43:13 +00:00