henning [Tue, 11 Mar 2003 15:10:31 +0000 (15:10 +0000)]
add comments saying what we are testing
henning [Tue, 11 Mar 2003 15:07:19 +0000 (15:07 +0000)]
test rules get the qid and pqid assigned correctly
henning [Tue, 11 Mar 2003 15:05:53 +0000 (15:05 +0000)]
include pfctl -gsr output in the verification for the pfaltq tests
henning [Tue, 11 Mar 2003 14:03:22 +0000 (14:03 +0000)]
regen
henning [Tue, 11 Mar 2003 14:02:12 +0000 (14:02 +0000)]
do the queue ID assignment for cbq already in userland. ensure that queues
with different names always have different queue IDs, even if they live on
different interfaces (that was the goal here).
fixes regress pfaltq4
ok cedric@ dhartmei@
dhartmei [Tue, 11 Mar 2003 13:26:09 +0000 (13:26 +0000)]
Missing break, unintentional fall-through. Found by Kimmo Mösö.
dhartmei [Tue, 11 Mar 2003 13:20:17 +0000 (13:20 +0000)]
On pfctl -a foo -Fn/-Fr, traverse all subrulesets in the anchor and
clear nat/rules, like -sn/-sr already does.
Reported by Julien Bordet. ok henning@, cedric@
henning [Tue, 11 Mar 2003 12:00:07 +0000 (12:00 +0000)]
verify different named queues don't get the same queue id on different
interfaces
fails right now
henning [Tue, 11 Mar 2003 11:53:28 +0000 (11:53 +0000)]
fix format strings in debugging output, qid is unsigned
ok cedric@ mcbride@
henning [Tue, 11 Mar 2003 11:14:59 +0000 (11:14 +0000)]
more complicated cbq queue id assigment verification
henning [Tue, 11 Mar 2003 11:05:11 +0000 (11:05 +0000)]
test queue ID assignment with cbq
henning [Tue, 11 Mar 2003 10:57:11 +0000 (10:57 +0000)]
new class of regress tests.
add target "pfaltq".
altq rules are loaded into the kernel and pfctl -gsq output is verified.
opposed to most other regress tests, these ones modify the existing setup,
as altq definitons cannot live in anchors. all queue definitions are flushed
by these tests. Thus, they are not run by default (not part of
REGRESS_TARGETS), but must be run explicitely (make pfaltq).
pfaltq1: very queue id assignment on multiple interfaces with the priq
scheduler
david [Tue, 11 Mar 2003 10:13:16 +0000 (10:13 +0000)]
eol whitespace nit
ok henning@
david [Tue, 11 Mar 2003 10:11:59 +0000 (10:11 +0000)]
remove extra #
ok henning@
david [Tue, 11 Mar 2003 09:59:37 +0000 (09:59 +0000)]
sprinkle some .Li
ok deraadt@
deraadt [Tue, 11 Mar 2003 09:29:36 +0000 (09:29 +0000)]
sync
deraadt [Tue, 11 Mar 2003 09:29:25 +0000 (09:29 +0000)]
OK, this is a strange case. At least some parts of this software is
copyrighted, and then marked "Copying for Profit is Prohibited", but
the author has passed away. A number of people have tried to make
some sort of effort at trying to contact his estate, and have failed.
Therefore, lacking the ability to correct this copyright, we must
delete it. I would bet strongly that this is not what the author
would have intended, but until we can get this resolved, this is the
action we must take.
jmc [Tue, 11 Mar 2003 09:24:57 +0000 (09:24 +0000)]
removed .Ic's which were giving postscript trouble;
ok deraadt@
david [Tue, 11 Mar 2003 09:23:30 +0000 (09:23 +0000)]
fix spacing in sample output
ok cedric@
david [Tue, 11 Mar 2003 08:44:03 +0000 (08:44 +0000)]
new sentence, new line and whitespace at EOL
ok jmc@
jmc [Tue, 11 Mar 2003 08:11:08 +0000 (08:11 +0000)]
files with dead .Xr's;
left .Xr, but removed man page number
as suggested by mpech@
more help and ok millert@
david [Tue, 11 Mar 2003 07:58:34 +0000 (07:58 +0000)]
EOL whitespace
ok jmc@
david [Tue, 11 Mar 2003 07:54:01 +0000 (07:54 +0000)]
date is supposed to be written formally
ok jmc@
david [Tue, 11 Mar 2003 07:10:04 +0000 (07:10 +0000)]
mdoc fixes: macros are not allowed inside .Bd -literal blocks
ok deraadt@
etoh [Tue, 11 Mar 2003 04:52:57 +0000 (04:52 +0000)]
The variable cse_not_expected must be initialized.
etoh [Tue, 11 Mar 2003 04:52:27 +0000 (04:52 +0000)]
The loop optimization using frame pointer is omitted.
etoh [Tue, 11 Mar 2003 04:51:53 +0000 (04:51 +0000)]
not to combine the register related to frame addressing for the case FRAME_GROWS upward
david [Tue, 11 Mar 2003 04:47:39 +0000 (04:47 +0000)]
double words and spelling fixes
ok pjanzen@
david [Tue, 11 Mar 2003 04:43:54 +0000 (04:43 +0000)]
spelling
ok jmc@
david [Tue, 11 Mar 2003 04:42:25 +0000 (04:42 +0000)]
spelling
ok millert@
david [Tue, 11 Mar 2003 04:39:52 +0000 (04:39 +0000)]
new sentence, new line
ok beck@
millert [Tue, 11 Mar 2003 04:36:55 +0000 (04:36 +0000)]
Make lpr and lprm setuid root but drop to daemon very early.
Functionally this is the same as when lpr and lprm were setuid
daemon but the executable are now owned by root which is safer.
deraadt@ OK
david [Tue, 11 Mar 2003 04:24:04 +0000 (04:24 +0000)]
new sentence, new line
ok mickey@
david [Tue, 11 Mar 2003 04:22:40 +0000 (04:22 +0000)]
$OpenBSD$
ok henning@
itojun [Tue, 11 Mar 2003 04:01:29 +0000 (04:01 +0000)]
getnameinfo buffer has to be NI_MAXHOST
itojun [Tue, 11 Mar 2003 04:01:11 +0000 (04:01 +0000)]
check error on getnameinfo failure.
kjc [Tue, 11 Mar 2003 02:35:34 +0000 (02:35 +0000)]
always compile and set pcap filters even when filters are not specified.
bpf implements snaplen by filters and captures full packets when filters
are not set.
ok deraadt@, dhartmei@
deraadt [Tue, 11 Mar 2003 02:32:29 +0000 (02:32 +0000)]
strcpy -> strlcpy; Hans-Joerg.Hoexer@yerbouti.franken.de
kjc [Tue, 11 Mar 2003 02:25:59 +0000 (02:25 +0000)]
add protection against packets without pkthdr.
this should not happen but just in case.
printf() is intended to be annoying so that we'll get reports on it.
original idea from dhartmei@
ok deraadt@, henning@
deraadt [Tue, 11 Mar 2003 02:22:46 +0000 (02:22 +0000)]
sync
tedu [Tue, 11 Mar 2003 02:02:29 +0000 (02:02 +0000)]
groupmod modifies groups, it doesn't add them
ok millert@
deraadt [Tue, 11 Mar 2003 02:01:18 +0000 (02:01 +0000)]
sync
krw [Tue, 11 Mar 2003 01:12:09 +0000 (01:12 +0000)]
Fix incorrect restriction on valid scsi tape density code values, allowing all
currently valid values (0 - 0xff) to be used in mt(1). Add sanity
check to catch negative values.
Minor cleanup so mt_count values are stored in daddr_t variables and
not ints. Eliminate unnecessary cast of mt_op, since it is already a
shot. Leave possible move of mt_count to int32_t rather than daddr_t
to post-3.3.
Problem found, and original diff by Joseph Bender.
costa@ henning@ tdeval@ ok
tedu [Tue, 11 Mar 2003 00:53:47 +0000 (00:53 +0000)]
mention that avgfilesize is in bytes.
tedu [Tue, 11 Mar 2003 00:50:56 +0000 (00:50 +0000)]
use file system consistently. spot by margarida
miod [Mon, 10 Mar 2003 23:22:34 +0000 (23:22 +0000)]
Document available video modes for ZX frame buffers, which one will be
picked up at boot time depending on which monitor you plug in, and the
lack of any software way to change the resolution (yet).
tedu [Mon, 10 Mar 2003 22:51:53 +0000 (22:51 +0000)]
add some notes about nosuid mounted file systems. suggested by deraadt@
ok deraadt@ millert@
dhartmei [Mon, 10 Mar 2003 22:39:51 +0000 (22:39 +0000)]
Add (inactive) relaydb examples, ok deraadt@
millert [Mon, 10 Mar 2003 21:08:44 +0000 (21:08 +0000)]
Move /var/log/sendmail.st creation to etc/Makefile where it belongs;
noticed by grange@
miod [Mon, 10 Mar 2003 20:50:37 +0000 (20:50 +0000)]
Sun documentation mentions that ZX can not run on a sun4c or inside an xbox,
so document this as well.
tedu [Mon, 10 Mar 2003 20:20:29 +0000 (20:20 +0000)]
add a man page for the VOP functions. currently only describes the
general idea and VOP_LOOKUP.
ok costa@ deraadt@ jmc@
miod [Mon, 10 Mar 2003 20:11:33 +0000 (20:11 +0000)]
Better frame buffer manual pages: attempt to better describe the frame buffers
supported by the various drivers, and provide more accurate information
about them.
Some feedback and fixes from jmc@ and deraadt@
tedu [Mon, 10 Mar 2003 19:56:29 +0000 (19:56 +0000)]
filesystem -> file system for section 9
ok jmc@
tedu [Mon, 10 Mar 2003 19:52:05 +0000 (19:52 +0000)]
filesystem -> file system for a little consistency
ok jmc@ millert@
tedu [Mon, 10 Mar 2003 19:39:36 +0000 (19:39 +0000)]
document dirpref options -g and -h (w/ avgfpdir)
ok millert@
deraadt [Mon, 10 Mar 2003 19:36:13 +0000 (19:36 +0000)]
nothing of import
tedu [Mon, 10 Mar 2003 19:35:29 +0000 (19:35 +0000)]
fix really old typo that prevented inode quotas from ever working.
help testing and eyeballing henric tdeval miod
ok costa deraadt
deraadt [Mon, 10 Mar 2003 19:35:21 +0000 (19:35 +0000)]
fix exit code, stupid bob, spotted by lebel
jmc [Mon, 10 Mar 2003 15:37:29 +0000 (15:37 +0000)]
these pages all had bad section numbers in the .Xr's;
lots of help and ok millert@
millert [Mon, 10 Mar 2003 15:27:17 +0000 (15:27 +0000)]
Log that cron started up after we detach from the controlling terminal
and dup fds to /dev/null, not before. This may fix a possible race
when cron is started as the last thing in /etc/rc.
millert [Mon, 10 Mar 2003 15:18:25 +0000 (15:18 +0000)]
Change a e_username to e_cmd.
millert [Mon, 10 Mar 2003 15:13:33 +0000 (15:13 +0000)]
Back out changes to get_number() that I didn't intend to commit.
millert [Mon, 10 Mar 2003 15:09:20 +0000 (15:09 +0000)]
Do the check for missing command before the un_getchar(); otherwise
the error messages will say line 0. This is because un_getchar('\n', file)
will decrement the line count. Noticed by mpech@
henning [Mon, 10 Mar 2003 14:56:50 +0000 (14:56 +0000)]
regen
henning [Mon, 10 Mar 2003 14:54:17 +0000 (14:54 +0000)]
check for multiple same named queues on one interface.
before this was rejected at load time with a rather useless error message,
now a nice error message points out the actual error.
inspired by an error report from Damien Miller
ok dhartmei@ pb@ (monsterdiff complete)
henning [Mon, 10 Mar 2003 14:50:29 +0000 (14:50 +0000)]
correctly cope with errors returned by eval_pfqueue and pfctl_add_altq
ok dhartmei@ pb@ (as part of... you know, monsterdiff)
henning [Mon, 10 Mar 2003 14:48:38 +0000 (14:48 +0000)]
rework error handling in eval_pfqueue().
instead of using errx, print the error message and return. This is
consistent with what we do everywhere in pfctl.
ok dhartmei@ pb@ (as part of a monsterdiff)
henning [Mon, 10 Mar 2003 14:46:09 +0000 (14:46 +0000)]
when complaining about a queue wiwthout parent, include the queue name in
the error message
ok dhartmei@ pb@ (as part of a monsterdiff)
henning [Mon, 10 Mar 2003 14:24:33 +0000 (14:24 +0000)]
english(4) police, Officer Jolan Luff
jmc [Mon, 10 Mar 2003 14:15:02 +0000 (14:15 +0000)]
small changes to mike's random-id section;
ok frantzen@
henning [Mon, 10 Mar 2003 13:28:00 +0000 (13:28 +0000)]
it doesn't make sense to mimic pfctl -vsr output in pfctl -vsl (same for
-vvsr ./. -vvsl). this resulted in more or less garbage in pfctl -vsl and
-vvsl output.
so ignore the extra verbosity flags for -sl.
found by pb@
ok pb@ dhartmei@
henning [Mon, 10 Mar 2003 12:34:20 +0000 (12:34 +0000)]
whitespace
mcbride [Mon, 10 Mar 2003 12:13:23 +0000 (12:13 +0000)]
Fix for the "short cable bug" in sis:
A small number of DP83815's will have excessive receive
errors when using short cables (<30m/100feet) in 100Base-TX
mode. This patch was taken from the National Semiconductor
linux driver and (supposedly - no mention of this in any NS
docs) modifies the dsp's signal attenuation.
ok jason@ deraadt@ markus@
From Willem Dijkstra wpd at xs4all dot nl
henning [Mon, 10 Mar 2003 12:09:23 +0000 (12:09 +0000)]
regen; line numbers changed after adding comment in input file
henning [Mon, 10 Mar 2003 12:07:01 +0000 (12:07 +0000)]
queue doubly defined on one interface, fails right now
(is later rejected at load time by the kernel, but pfctl should detect it)
henning [Mon, 10 Mar 2003 12:04:29 +0000 (12:04 +0000)]
tun0 mtu depends on too much external factors, so better hardcode tbrsize
jmc [Mon, 10 Mar 2003 11:35:06 +0000 (11:35 +0000)]
typos;
deraadt [Mon, 10 Mar 2003 09:40:47 +0000 (09:40 +0000)]
use Pa for paths more
deraadt [Mon, 10 Mar 2003 09:33:51 +0000 (09:33 +0000)]
few minor tweaks
jmc [Mon, 10 Mar 2003 09:27:47 +0000 (09:27 +0000)]
removal of .Ic for examples.
this was messing the postscript output.
deraadt [Mon, 10 Mar 2003 09:26:27 +0000 (09:26 +0000)]
fix offset; from jmc
deraadt [Mon, 10 Mar 2003 09:16:06 +0000 (09:16 +0000)]
real pretty now
deraadt [Mon, 10 Mar 2003 07:22:04 +0000 (07:22 +0000)]
based on ideas from david, fix the Cm problems, and others
deraadt [Mon, 10 Mar 2003 06:22:41 +0000 (06:22 +0000)]
sync
itojun [Mon, 10 Mar 2003 06:20:10 +0000 (06:20 +0000)]
correct use of getnameinfo. PR 3138
millert [Mon, 10 Mar 2003 05:51:29 +0000 (05:51 +0000)]
Correct SYNOPSIS, document option `-C', add /etc/man.conf to section FILES,
add references to man.conf(5) and makewhatis(8); Andrey Matveev
david [Mon, 10 Mar 2003 04:02:49 +0000 (04:02 +0000)]
duplicate words and spelling fixes in comments
ok miod@
david [Mon, 10 Mar 2003 03:57:57 +0000 (03:57 +0000)]
typo
ok drahn@
david [Mon, 10 Mar 2003 03:56:39 +0000 (03:56 +0000)]
double word (be be) in comment
ok drahn@
david [Mon, 10 Mar 2003 03:55:09 +0000 (03:55 +0000)]
double word (the the) and spelling
ok henning@
david [Mon, 10 Mar 2003 03:53:32 +0000 (03:53 +0000)]
spelling fixes
ok millert@
david [Mon, 10 Mar 2003 03:50:13 +0000 (03:50 +0000)]
double words in comments
ok millert@
david [Mon, 10 Mar 2003 03:48:16 +0000 (03:48 +0000)]
spelling fixes
ok millert@
david [Mon, 10 Mar 2003 03:45:20 +0000 (03:45 +0000)]
fix spelling in comment
ok millert@
mdw [Mon, 10 Mar 2003 02:37:34 +0000 (02:37 +0000)]
Fixed some small typos & formatting following suggestions from jmc
deraadt [Mon, 10 Mar 2003 01:05:28 +0000 (01:05 +0000)]
commented hourly spamd-setup run
millert [Mon, 10 Mar 2003 00:59:54 +0000 (00:59 +0000)]
Fix AP scan on prism and add a /* FALLTHROUGH */ comment to make
things obvious.
miod [Sun, 9 Mar 2003 22:41:54 +0000 (22:41 +0000)]
zx fits on the floppies.
henning [Sun, 9 Mar 2003 22:23:31 +0000 (22:23 +0000)]
add comments what we are testing - these tests look so simple that they
might get removed later otherwise, so make clear these are edge cases in
internals we are provoking
henning [Sun, 9 Mar 2003 22:21:16 +0000 (22:21 +0000)]
typo in comment, krause