Commit Graph

4864 Commits

Author SHA1 Message Date
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
sheldonh
2a7cfb8984 Fix handling of maximum children and connections per minute.
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1999-06-21 11:17:34 +00:00
rnordier
393bfe5b75 Implement -m option to enable/disable slices. 1999-06-19 21:44:43 +00:00
brian
e2797ccaca Don't use the ``next'' redial timer if we have no phone number at all. 1999-06-18 13:49:01 +00:00
ken
0f6688579d Add a MAINTAINER line to modules that I maintain.
Suggested by:	brian, markm
1999-06-18 00:41:47 +00:00
brian
0f545d82f1 Reset our start time when the link comes up, correcting
the reported connection time.

PR:		11943
Submitted by:	Peter Mutsaers <plm@xs4all.nl>
1999-06-17 22:12:51 +00:00
markm
2089153f16 More uncontroversial PAO updates. Make the IRQ wildcarding work a lot better,
and improve the daemonizing code.

Submitted by: Tatsumi HOSOKAWA
1999-06-17 21:07:59 +00:00
markm
0783e41813 Add bits of PAO that are non-controversial.
Submitted by: Tatsumi HOSOKAWA
1999-06-17 19:04:56 +00:00
sheldonh
45ab0550ea Various fixes for inetd's TCP Wrappers support:
1) Handle forking and non-forking internal services correctly.
	   Turn on wrapping for internal services because it works now.
	2) Preserve server names for each service on HUP.
	3) Honour hosts_options(5) severity option.
	4) Add IMPLEMENTATION NOTES section to clarify TCP Wrappers
	   usage and limitations.

This change may cause previously allowed builtin services (e.g. daytime)
to be denied in existing configurations.

PR:	12097
Reviewed by:	markm
1)
Reported by:	Pierre Beyssac <pb@fasterix.freenix.org>
2)
Submitted by:	Masachika ISHIZUKA <ishizuka@ish.org>
3)
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1999-06-17 09:16:08 +00:00
brian
37f6a9df5e Add the -p switch - tells rwhod to ignore POINTOPOINT interfaces.
Mostly submitted by: Stefan Zehl <sec@42.org>
PR:	12216
1999-06-16 21:05:21 +00:00
ru
6aff4c9502 This really belongs to section 8. 1999-06-15 14:04:19 +00:00
obrien
7d78380bb3 Support Alpha and -CURRENT in the "-r" option case. 1999-06-14 21:58:59 +00:00
brian
0f1321c494 Come up with something useful when someone searches for
``dynamic IP''.
1999-06-14 10:12:41 +00:00
brian
42f2a0b71d Show the correct error if we fail to open a device. 1999-06-11 13:28:29 +00:00
brian
45e0115c27 Describe why a ``magic'' enddisc is not always a good idea. 1999-06-11 11:27:18 +00:00
jkoshy
fece792408 Larger, space separated fields in the output of repquota.
PR:		8730
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1999-06-11 10:31:24 +00:00
brian
9a0bce272e Allow reserved substitution strings to be escaped by preceeding them
with a backslash.
1999-06-10 09:34:57 +00:00
brian
2aa45a21d0 Never bring a link back up after receiving a terminating signal,
don't rely on already being in PHASE_DEAD.
1999-06-10 09:06:30 +00:00
brian
e38303d43c Allow a remote IP and port range specification in the
``alias port'' command.
1999-06-10 00:17:27 +00:00
brian
a71c6ca380 Initialise `mp'. 1999-06-09 20:27:26 +00:00
brian
472a277d26 Allow our endpoint discriminator to be enabled, disabled, accepted
and denied.  This is necessary for some MP implementations that
get confused if you accept their endpoint discriminator but reject
their MRRU.
1999-06-09 16:54:04 +00:00
jkh
5148a61ddb where_arge is allocated on stack and return address is overwritten
by buffer overflow.

Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1999-06-09 09:29:53 +00:00
jkh
e645797c80 Remove apple.com from time server list.
Submitted by:	Mike Haro
1999-06-09 09:18:33 +00:00
brian
ecf825269a Use the correct pid when substituting PROCESSID.
Problem reported by: Amedeo Beck Peccoz <gea@gressoney.it>
1999-06-09 08:47:36 +00:00
brian
ed2d80f59c Don't use static variables if we don't have to. 1999-06-08 20:12:06 +00:00
brian
a557d51984 Don't drop the last character from lines in ppp.secret unless it's '\n'. 1999-06-08 20:11:53 +00:00
brian
30bfd76142 Don't IPCP TLD if we're already doing it. This prevents
recursion by doing something like ``down'' or ``quit all''
in ppp.linkdown.
1999-06-08 11:58:27 +00:00
brian
a7f994e40c Make the `load'', dial'' and `open'' commands a big clearer.
Requested by: Michael Heitmeier <MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com>
1999-06-08 11:57:59 +00:00
brian
5425bb01c0 Correct the way ppp transfers links on the server side in MP
mode by padding out the ``struct device'' to the maximum
device size.
Bump the ppp version number to indicate the transfer format
change.

This should make MP over tty and udp devices functional again.
1999-06-05 21:36:00 +00:00
archie
84960a50be When incrementing through a SIOCGIFCONF list, enforce a lower limit of
sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len.
Otherwise the increment will be wrong in certain cases.

Obtained from:  Whistle source tree
For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests
                SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
1999-06-05 05:55:07 +00:00
archie
d12466fe7c When incrementing through a SIOCGIFCONF list, enforce a lower limit of
sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len.
Otherwise the increment will be wrong in certain cases.

Obtained from:	Whistle source tree
For the record:	Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests
		SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
1999-06-05 05:52:52 +00:00
ru
587d12fde0 Switch to proper mbr.
OK'ed by:	jkh,rnordier
1999-06-04 10:01:53 +00:00
peter
447cf23fc3 Check and warn about unknown devices in the config file along the same
lines as the pseudo-device checking.  Previously 'device xyz0' would have
been silently accepted without comment.
1999-06-03 20:37:19 +00:00
brian
efbb71c511 Fix some MP sequence number comparison bogons that are tickled by
having different speed links in a bundle.  This would manifest itself
by having the link occasionally hang, but revive when a new connection
is made....
Make ``show mp'' a bit prettier.
1999-06-03 13:29:32 +00:00
yokota
019a0ffb3f Mention that 8x8 font is required for 43, 50 and 60 line text modes,
and that font files can be specified in /etc/rc.conf[.local].
1999-06-03 12:44:16 +00:00
yokota
7524539ed3 Make it clear that PS/2 type mice will work only with "auto" and
"ps/2" protocol types, and that serial mouse protocols shouldn't be
specified for these mice.
1999-06-03 12:43:16 +00:00
yokota
17fc514707 Fix PS/2 MouseMan+ protocol. We have been looking at a wrong place
for the sign bit for roller movement!
1999-06-03 12:42:10 +00:00
brian
a3ba58f533 Oops, quieten a compiler warning. 1999-06-02 23:06:21 +00:00
brian
42fe7474a9 Mention physical and sync logging in the ``set log''
usage message.
1999-06-02 21:28:02 +00:00
brian
bbbd0aef90 o Alter the mbuf type as it's processed by different layers.
o Show more information about missing MP fragments in ``show mp''.
o Do away with mbuf_Log().  It was showing mbuf stats twice on
  receipt of LCP/CCP/IPCP packets.... ???!!?
o Pre-allocate a bit extra when creating LQR packets to avoid having
  to allocate another mbuf in mbuf_Prepend().
1999-06-02 15:59:09 +00:00
brian
2401bce80b Introduce the ``keep-session'' option. Refer to the man
page for details.  This allows MP over non-tty devices where
the original ppp process must not exit (such as sshd-spawned
ppp sessions).
1999-06-02 00:46:55 +00:00
brian
89b86dc6ea Increase the length of an individual device name to LINE_LEN.
Adjust the base physical device name correctly after a link
transfer (allowing correct multilink callbacks).
1999-06-01 19:08:59 +00:00
brian
ed0d10bcdc Make async/sync/physical/hdlc dumps prettier by showing printable
characters at the end of the line in hexdump style.
1999-06-01 16:01:48 +00:00
brian
25a2440c6f Mention that using MYADDR and HISADDR with ``set filter''
will result in the rules being updated any time MYADDR
or HISADDR change.
1999-06-01 08:46:53 +00:00
brian
be201b7693 Remember if MYADDR or HISADDR is used in a filter add tweak all
filters any time either value changes.
1999-05-31 23:57:40 +00:00
kris
7eecd67861 Xref mountd in text.
Submitted by:	Philippe Charnier
1999-05-29 08:14:00 +00:00
brian
44647b0f4d Don't forget to free the mbufs that get processed by
mp_Assemble().
Leak spotted by: louqi
1999-05-28 08:03:24 +00:00
ghelmer
0206338d27 Add missing -s option.
PR:		docs/10378
1999-05-28 02:09:46 +00:00
brian
9ef4827356 Handle unterminated quoted strings without dup'ing the last character
with an out-by-one-memcpy.
1999-05-27 16:51:47 +00:00
jkh
c60ae3a8de Do a clean-up pass on error/warning messages. 1999-05-27 10:32:50 +00:00
brian
029592c490 Add some comments, optimise out a few strlen()s and
remove a few extraneous assignments.
1999-05-27 09:50:10 +00:00
brian
8fc2c43f16 Call tty_Offline() from tty_Cooked() and tty_Free(), just in
case ppp is abending and hasn't called physical_Offline()
already.
1999-05-27 08:42:49 +00:00
brian
dd813bf3cc Move the code for tweaking interface flags into one function. 1999-05-27 08:42:17 +00:00
brian
8d73072137 Correct the ``ignoring sync/async'' warnings so that they show
up with the correct device type.
Reassign the correct tcpdevice or execdevice after transfering
a link in MP server mode.
1999-05-24 16:39:17 +00:00
brian
6e3dffd5ac Don't warn about ``!'' lines being unindented commands in ppp.conf. 1999-05-24 09:04:35 +00:00
imp
72333c78b3 getopt(3) returns -1 not EOF. 1999-05-23 23:24:26 +00:00
jmz
2fd23819b0 Initialize exit code so that the program exits with code 0 on success.
PR:		bin/10904
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-05-22 22:56:26 +00:00
dfr
1fd255890e Port pnpinfo to alpha. 1999-05-22 17:35:48 +00:00
wpaul
a05c2f300a - Fix up some comments in if_wi.c (no code changes)
- Mention that the 6Mbps turbo adapters are supported in HARDWARE.TXT
  and RELNOTES.TXT and the wi.4 man page
- Mention turbo adapters in the wicontrol.8 man page and provide a
  complete table of available transmit speed settings
1999-05-22 16:12:54 +00:00
jdp
e774b28d83 Fix hostname lookup problems on 64-bit machines. 1999-05-21 20:52:42 +00:00
jdp
2a47c2fe02 Fix a sign-extension bug in xntpdc's "kerninfo" output for on 64-bit
machines.  Negative pll offset values were printed as large positive
numbers.
1999-05-21 16:10:44 +00:00
jkh
88e2d5c92f Don't do anything on alpha machines. 1999-05-21 11:00:56 +00:00
roberto
cdbdfda974 ftp3.fr.freebsd.org (UVSQ, Versailles, France) has been available for a long
time.

Submitted by:	Rémy Card <Remy.Card@csi.uvsq.fr>
1999-05-21 07:10:35 +00:00
wpaul
c38c22251d This commit adds driver support for PCI fast ethernet cards based on the
ADMtek AL981 "Comet" chipset. The AL981 is yet another DEC tulip clone,
except with simpler receive filter options. The AL981 has a built-in
transceiver, power management support, wake on LAN and flow control.
This chip performs extremely well; it's on par with the ASIX chipset
in terms of speed, which is pretty good (it can do 11.5MB/sec with TCP
easily).

I would have committed this driver sooner, except I ran into one problem
with the AL981 that required a workaround. When the chip is transmitting
at full speed, it will sometimes wedge if you queue a series of packets
that wrap from the end of the transmit descriptor list back to the
beginning. I can't explain why this happens, and none of the other tulip
clones behave this way. The workaround this is to just watch for the end
of the transmit ring and make sure that al_start() breaks out of its
packet queuing loop and waiting until the current batch of transmissions
completes before wrapping back to the start of the ring. Fortunately, this
does not significantly impact transmit performance.

This is one of those things that takes weeks of analysis just to come
up with two or three lines of code changes.
1999-05-21 04:37:48 +00:00
hm
87c7b1e12a upgrade isdn4bsd from version 0.71 to the just released version 0.81 1999-05-20 10:14:57 +00:00
jkh
d316cfbbfc Add CHAP/PAP question to the ppp setup dialog, simplifying things considerably
for some.

Submitted by:	Jack O'Neill <jack@germanium.xtalwind.net>
1999-05-19 10:49:46 +00:00
jkh
2720086414 Add ftp5.uk.freebsd.org
Submitted by:	Roger Hardiman <roger@cs.strath.ac.uk>
1999-05-19 08:56:56 +00:00
brian
9f8ec2fa75 Move the tty locking stuff back out to physical.c so
that we lock the device *before* we open it.
We still open the device only once - and then ask all
our handlers if they know how to handle it.
1999-05-18 01:37:46 +00:00
jkh
09e40d8945 deal with a.out ldconfig paths also. 1999-05-18 00:44:28 +00:00
brian
30f16f258a Mention ``show layers'' 1999-05-16 13:39:03 +00:00
brian
cb334a1a2c Initialise ttydevice::Timer 1999-05-16 11:58:48 +00:00
phk
0141aed9cf Turn an error into a warning. If running a 4.x binary on a 3.x system
we may still have vn in the kernel but not be able to see it.

This enables building -current SNAPS in a chroot on a -stable system
1999-05-16 08:09:23 +00:00
phk
acf54a8234 Be more non-crypto friendly at make release time. 1999-05-15 19:21:15 +00:00
jkh
1cd13458cb Small typo in windowmaker startup line. 1999-05-15 15:05:08 +00:00
jkh
1dfc6def42 o Prevent alpha installs from grabbing x86 bits and vice-versa, at least
on CDs and FTP sites.

o Collapse some redundant code.

o Fix typo'd menu.

o Restrict searches properly to packages rather than categories.

o Small tweaks to signal handling.

All RELENG_3 candidates.
1999-05-15 14:34:22 +00:00
bde
5c7545a82f Test the correct database file (not necessarily the one corresponding to
the running kernel if the nlist file is specified explicitly).
1999-05-15 11:54:36 +00:00
brian
69c6034fcb Add ``show layers'' to see the protocol layering for a link. 1999-05-15 02:24:18 +00:00
wpaul
81b86b6bb7 Fix usage in wicontrol.c to agree with man page.
Update documentation for -f frequency selection option to include complete
list of channel numbers and frequencies.
1999-05-14 18:31:31 +00:00
jkh
78e23516fa Do more impressive things for windowmaker. 1999-05-14 15:04:24 +00:00
jkh
6cf37ac421 DTRT for "Latest" search keywords. 1999-05-14 14:57:59 +00:00
jkh
11f1ada01e Be properly verbose. 1999-05-14 14:29:50 +00:00
jkh
86b945fa5d Correct return status logic a bit. 1999-05-14 12:15:34 +00:00
brian
e2081f9e58 Handle LCP echo reqs properly again (broken with the
layering changes).
1999-05-14 09:36:06 +00:00
brian
44bc59df8d Ensure that we're not going to overflow our ``struct tun''
when we mbuf_Read() into it.
Add the link name to a few diagnostics.
1999-05-14 09:35:51 +00:00
jkh
84b0e29284 Yikes! I almost left out the 3D Labs server. :) 1999-05-14 07:15:05 +00:00
brian
7c0d6ce0d0 Initialise the struct device part of struct ttydevice. 1999-05-13 19:29:40 +00:00
brian
f10f2a4b07 Fix a bum pointer dereference and make some variable
names more consistent.
Stack trace supplied by: Joe Clarke <jclarke@cisco.com>
1999-05-13 16:35:13 +00:00
brian
c234a5fbac Ignore repeated signals sent to the parent in background
mode.
1999-05-13 16:34:57 +00:00
jkh
79679be180 Correct a bug which could cause a segfault if there is no uc_devlist
data.

Noticed by:	Bill Swingle <bill@cdrom.com>
1999-05-12 23:08:02 +00:00
jkh
84bed489c4 Update norwegian time server.
Noted by:	dag
1999-05-12 22:06:00 +00:00
brian
fe4ab71d52 Adjust our first timer delta according to the return
from getitimer() so that times are correct for
``show timer''.
1999-05-12 19:10:22 +00:00
brian
bfe6e1140f Oops - hook the sync push diagnostics correctly. 1999-05-12 09:54:33 +00:00
brian
61c20ab896 Allow `host:port/udp'' devices and support `host:port/tcp'' as
being the same as the previous (still supported) ``host:port''
syntax for tcp socket devices.

A udp device uses synchronous ppp rather than async, and avoids
the double-retransmit overhead that comes with ppp over tcp (it's
usually a bad idea to transport IP over a reliable transport that
itself is using an unreliable transport).  PPP over UDP provides
througput of ** 1.5Mb per second ** with all compression disabled,
maxing out a PPro/200 when running ppp twice, back-to-back.

This proves that PPPoE is plausable in userland....

This change adds a few more handler functions to struct device and
allows derivations of struct device (which may contain their own
data etc) to pass themselves through the unix domain socket for MP.
** At last **, struct physical has lost all the tty crud !

iov2physical() is now smart enough to restore the correct stack of
layers so that MP servers will work again.

The version number has bumped as our MP link transfer contents have
changed (they now may contain a `struct device').

Don't extract the protocol twice in MP mode (resulting in protocol
rejects for every MP packet).  This was broken with my original
layering changes.

Add ``Physical'' and ``Sync'' log levels for logging the relevent
raw packets and add protocol-tracking LogDEBUG stuff in various
LayerPush & LayerPull functions.

Assign our physical device name for incoming tcp connections by
calling getpeername().

Assign our physical device name for incoming udp connections from
the address retrieved by the first recvfrom().
1999-05-12 09:49:12 +00:00
jkh
92a76e707b Add some extra checks to make *sure* we got what we were told we got. 1999-05-12 09:22:47 +00:00
jkh
95973a7b6f Completely change the way package_add() does its work. Now we
handle dependencies at a lower level and use package add for this.
Also made index searches stricter.
1999-05-12 09:02:37 +00:00
jkh
7cf02cbd49 Erm, delete the package base hint again. Gotta lay off the crack!
I simply forgot that I'd already proven this to be a "really good idea that
unfortunately didn't work at all" the *last* time I tried it.  Now
I remember.  Hmmm.  I WILL defeat this evil problem.
1999-05-12 07:12:01 +00:00
jkh
30e2f09c42 We don't bundle the XFree86 release notes on the floppies anymore; take it
out of the appropriate menus.
1999-05-12 06:58:18 +00:00
jkh
3bdeb9f451 Set PKG_ADD_BASE hint in a certain case. 1999-05-12 06:11:32 +00:00
jkh
fdb3f52157 Revive the PKG_ADD_BASE stuff a bit. 1999-05-12 06:06:49 +00:00
jkh
5053512542 Fix a couple of bogons in the X server/desktop setup menus. 1999-05-12 04:52:41 +00:00
peter
a470222f84 Tidy up references to <sys/rlist.h> and support for the old swap management
that went away in January.
1999-05-11 14:32:18 +00:00
des
bbe91cfca5 Don't stop listening to the signal pipe just because you don't have
anything else to do.

PR:		10468, 11594
1999-05-11 12:50:14 +00:00
jkh
c4138c061a Make KDE the "default" desktop. 1999-05-11 08:33:45 +00:00
hm
4274b61c3c fix name clash for variables named "minor" and "major"
Submitted by:	Steve Kargl
1999-05-11 08:22:15 +00:00
jkh
e22f445d98 Preserve /root's dotfiles across upgrades too.
PR:		6559
1999-05-11 08:00:06 +00:00
kuriyama
e2909a3bc9 Fix typo.
Submitted by:	Hiroki Sato <hrs@geocities.co.jp>
1999-05-10 22:01:38 +00:00
obrien
8ae887a850 Move sysctl/ to src/sbin/ where it now belongs.
Repository copied by:	Peter
1999-05-10 10:17:22 +00:00
peter
961ce62c45 Understand 'config kernelname' and pretend it was a
'makeoptions KERNEL=kernelname'.  Warn about any trailing stuff as it's
not handled here.  This is a simple bandaid, hopefully to head off some
complaints from certain people.
1999-05-10 02:42:58 +00:00
brian
775e441973 Revert to the previous behaviour of only doing a utmp
login if we're -direct on a tty device.
1999-05-09 20:13:52 +00:00
brian
0e738865e5 Deal with the fact that as we now mbuf_Read the fsm
header in fsm_Input() we often end up with a NULL mbuf.

Deal with a possible NULL mbuf being passed into
mbuf_Prepend().

Adjust some spacing to make things more consistent.
1999-05-09 20:02:29 +00:00
peter
0e20c07c86 Put on my viking helmet from the closet, and get out the war axe and
"retire" some more stuff.
1999-05-09 18:54:25 +00:00
peter
2c229efea1 We don't have composite devices here either. 1999-05-09 17:48:23 +00:00
phk
93f2b3c91b config(8) lobotomy, please see commit msg in sys.
(I have no idea why cvs didn't take these changes before.)
1999-05-09 17:23:38 +00:00
yokota
f4cd299602 Added backward compatibility to set key repeat rate.
Requested by: bde
1999-05-09 04:57:51 +00:00
brian
5e107593b8 o Redesign the layering mechanism and make the aliasing code part of
the layering.

  We now ``stack'' layers as soon as we open the device (when we figure
  out what we're dealing with).  A static set of `dispatch' routines are
  also declared for dealing with incoming packets after they've been
  `pulled' up through the stacked layers.

  Physical devices are now assigned handlers based on the device type
  when they're opened.  For the moment there are three device types;
  ttys, execs and tcps.

o Increment version number to 2.2
o Make an entry in [uw]tmp for non-tty -direct invocations (after
  pap/chap authentication).
o Make throughput counters quad_t's
o Account for the absolute number of mbuf malloc()s and free()s in
  ``show mem''.
o ``show modem'' becomes ``show physical''.
1999-05-08 11:07:56 +00:00
wpaul
771dfddbe3 Fix a couple of small buglets. 1999-05-07 23:35:55 +00:00
jkh
a2324440b9 Don't install compat22 by default.
Add some more safety belts to package foo.
1999-05-07 20:31:36 +00:00
jkh
ed509915a7 Erm, correct mighty braino in previous "don't annoy me" change. 1999-05-07 11:45:26 +00:00
jkh
9d41e993f1 Make saving kernel configuration info disable-able (may be useful in certain
situations).
1999-05-07 11:02:58 +00:00
markm
263e7157c2 There seems to be a problem (most likely when there is no hosts.allow)
with wrapping the internal services, so do not wrap them for now.
1999-05-07 06:48:01 +00:00
jkh
dddcbf06c9 Use a more correct filesystem type name if given a "UFS" mountpoint that's
not really UFS.

PR:	10711
1999-05-07 05:39:50 +00:00
jkh
31faa7fc3f Commit a more general version of the last patch; don't do any back-filling
of values more than once.  User might want to override them.
1999-05-07 05:15:17 +00:00
jkh
72a17e8946 1. Silence warning.
2. Deal with potential whitespace evil early (PR#7455).
1999-05-07 04:36:21 +00:00
wpaul
af94996e5d Add support to wicontrol(8) and wi(4) for enabling and configuring
power management. This will only work on newer firmware revisions; older
firmware will silently ignore the attempts to turn power management on.

Patches supplied by: Brad Karp <karp@eecs.harvard.edu>
1999-05-07 03:28:54 +00:00
wpaul
897f703fbc Modify wicontrol(8) and wi(4) to allow setting the frequency of the
WaveLAN's radio modem. The default is whatever the NIC uses since NICs
sold in different countries may default to different frequencies. (The
Lose95/LoseNT software doesn't let you select the channel so it's probably
not really meant to be changed.)
1999-05-06 16:32:45 +00:00
dt
a40140cb32 readklog(): rename variable 'l' to 'len', to avoid possible confusion with 'i'
and '1'.

Requested by:	mckay
1999-05-06 13:57:57 +00:00
jkh
082771ab54 revert premature DHCP commit 1999-05-06 11:15:33 +00:00
jkh
cf089716ab Argh, those last two commits snuck in with the other one by mistake.
Disable the non-working dhcp client code I just committed by mistake.
1999-05-06 11:05:19 +00:00
jkh
d7c86ee279 Fix includes; I had a slightly different Makefile than everyone else
which is why I didn't see this. :)

Noted by:	Maxim Sobolev <sobomax@altavista.net>
1999-05-06 11:03:21 +00:00
wpaul
967861facf Fix some byte ordering problems; I was storing string lengths wrong,
which was causing wicontrol to crash when reading string parameters
from the WaveLAN.

Patches submitted by: Brad Karp <karp@eecs.harvard.edu>
1999-05-06 03:34:02 +00:00
phk
94149c3236 Various cosmetics.
Submitted by:	Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
Reviewed by:	phk
1999-05-05 19:23:45 +00:00
jkh
a3bc4e512d Another round of updates for -current and 3.2 1999-05-05 11:34:03 +00:00
jkh
c1a2e0ba33 Fix a few bogons and make this safer for humanity. 1999-05-05 10:14:06 +00:00
wpaul
44142abac1 Add device driver support for the Lucent WaveLAN/IEEE 802.11 PCMCIA
adapter (and some workalikes). Also add man pages and a wicontrol
utility to manipulate some of the card parameters.

This driver was written using information gleaned from the Lucent HCF Light
library, though it does not use any of the HCF Light code itself, mainly
because it's contaminated by the GPL (but also because it's pretty gross).
The HCF Light lacks certain featurs from the full (but proprietary) HCF
library, including 802.11 frame encapsulation support, however it has
just enough register information about the Hermes chip to allow someone
with enough spare time and energy to implement a proper driver. (I would
have prefered getting my hands on the Hermes manual, but that's proprietary
too. For those who are wondering, the Linux driver uses the proprietary
HCF library, but it's provided in object code form only.)

Note that I do not have access to a WavePOINT access point, so I have
only been able to test ad-hoc mode. The wicontrol utility can turn on
BSS mode, but I don't know for certain that the NIC will associate with
an access point correctly. Testers are encouraged to send their results
to me so that I can find out if I screwed up or not.
1999-05-05 07:37:11 +00:00
ghelmer
dbc3530e3f Use Cd macro instead of Em for SYNOPSIS, as do other section 4 pages.
Added $Id$.

PR:		docs/10494
1999-05-04 20:42:26 +00:00
phk
15374ab7dd Fix various bogons.
Submitted by:	Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
Reviewed by:	phk
1999-05-04 18:20:53 +00:00
des
eabb651409 Is there a limit to how stupid I can get? 1999-05-04 18:03:59 +00:00
kuriyama
47ce47ffa0 Activate pccardc.8. 1999-05-03 11:20:15 +00:00
dt
571d49c931 Little fix in previous: watch NUL-termination. 1999-05-02 17:44:16 +00:00
kuriyama
d9162f6a23 New translation of pccardc.8.
Obtained from:	PAO (written in Japanese)
Reviewed by:	bsd-nomads@clave.gr.jp
		freebsd-mobile@freebsd.org
		Randy Bush <randy@psg.com>
		Bill Trost <trost@grey.cloud.rain.com>
		Bruce Campbell <bc@apnic.net>
1999-05-02 16:33:13 +00:00
brian
282fe0fdfa Handle receiving more than one acceptable CCP REQ
during one negotiation session without REJecting
everything from the second REQuest.
1999-05-02 14:33:39 +00:00
dt
ae0d86d7b2 Fight with false newlines in kernel message logs. Output a line into log only
after we read a newline, or we have nothing to read from /dev/klog. Read
/dev/klog in non-blocking mode.
1999-05-02 12:47:09 +00:00
brian
903a0ea675 Mention ``show mp''.
Describe ACFComp correctly.
1999-05-02 08:52:50 +00:00
obrien
9c33bafb39 MFS: sort reference list and embelish history. 1999-05-01 22:03:00 +00:00
brian
bce3b34a2b Make ports 80 & 81 ``interactive''. 1999-05-01 11:31:29 +00:00
jkh
3b1bbd2751 Shuffle source selection menu items to make it a little easier to use. 1999-05-01 11:27:37 +00:00
wpaul
c1290b10b3 Close PR #10971: flush the database cache after forking in ypproc_all_2_svc()
so that parent and child don't share DB handles.
1999-04-30 16:59:48 +00:00
wpaul
e2b9dd9a88 Close PR #10970: exit at the end of ypproc_all_2_svc() instead of returning.
This really fixes the condition where a child creates children of its own.
I'm leaving the previous sanity tests in though, since they shouldn't hurt,
and will give an indication if this ever happens again.
1999-04-30 16:44:17 +00:00
des
26befb30f3 Implement fascist mode (do not open a datagram socket at all). 1999-04-30 12:51:20 +00:00
wpaul
a6a7379ef1 Add some extra checks to make sure that a child ypserv process doesn't
try to fork() a child of its own, which could result in several children
ypservs running at once. I'm still not sure exactly what leads to this
condition, but these fixes should stop it from causing trouble. A new
function, yp_fork() checks to see if the current process is already a
child of the parent ypserv, and returns failure (and logs an error message)
rather than spawning another child.
1999-04-29 20:24:00 +00:00
jdp
1a65e51299 pppd/Makefile:
Enable MS-CHAP support.

release/Makefile:
  Build a separate NOCRYPT version of pppd, to keep This Great
  Nation's top-secret cryptographic tools out of the filthy hands
  of those evil furriners.
1999-04-29 17:56:28 +00:00