summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2006-10-26- sort optionsJason McIntyre
- sync usage()
2006-10-25Remove some unneeded externs. OK canacar@Moritz Jodeit
2006-10-25allow pflogd to listen on alternate pflog interfacesHenning Brauer
"Berk D. Demir" <bdd@mindcast.org> sent a diff in private, and then it evolved quite a bit... ok djm canacar berk
2006-10-25make absolutely sure logif is 0 unless set specifically, even if log is 0.Henning Brauer
logif is to be considered invalid unless log is set, but we need this to please the optimizer...
2006-10-25teach the optimizer about logif, with & ok frantzenHenning Brauer
2006-10-25and another nit, $$.log should be set to 0 explicitely on quick without logHenning Brauer
2006-10-25add pflog to list of clonable devices; ok henningJason McIntyre
2006-10-25urgs, $$.quick needs to be set to 0 explicitely on log (without quick)Henning Brauer
2006-10-25allow the log interface to be selected likeHenning Brauer
pass log(to pflog5) block out log(to pflog2) input & ok mcbride
2006-10-24Ignore NUL lines returned by fgets(3), so we don'tMoritz Jodeit
access one byte before the lbuf buffer. OK cloder@ henning@
2006-10-24Check strlen(buf) to be > 0 before accessing buf[strlen(buf)-1].Moritz Jodeit
OK ray@ cloder@
2006-10-23no need to use "keep state" and "flags S/SA" in pf rules,Jason McIntyre
now that it is the default; ok henning mcbride camield (ftp-proxy bits) deraadt
2006-10-20OpenBSD no longer supports using an older FreeBSD MBR partition.David Hill
ok krw@
2006-10-19note that all rules using enc0 should specify: keep state (if-bound)Jason McIntyre
2006-10-19Add WATTHOUR and AMPHOURMarco Peereboom
ok jordan@
2006-10-18Replace gcc __attribute with __dead. Recompile yields no binary change.Chad Loder
2006-10-18do not name FILE * variables "fd" since it is confusingTheo de Raadt
2006-10-17Don't automatically set 'flags S/SA' on stateless rules.Ryan Thomas McBride
pointed out by david@ ok mpf@ dhartmei@
2006-10-16More details on multipath.Ryan Thomas McBride
ok henning + style suggestions from jmc
2006-10-16tab needed instead of space to format this correctly;Jason McIntyre
2006-10-16Add multipath variables.Ryan Thomas McBride
2006-10-15Proper link state descriptions in print_rtmsg() RTM_IFINFO case.Ryan Thomas McBride
ok deraadt henning
2006-10-15build fdisk on landiskDale Rahn
2006-10-14Friends don't let friends look for disklabels in Free/NetBSD MBRKenneth R Westerback
partitions since the kernel doesn't put them or look for them there anymore.
2006-10-14Friends don't let friends look for disklabels in Free/NetBSD MBRKenneth R Westerback
partitions since the kernel doesn't put them or look for them there anymore.
2006-10-13Fix another potentially unsafe instance of foo[strlen(foo) - 1] = '\0'.Chad Loder
OK krw
2006-10-12Should be correct for landisk.Dale Rahn
2006-10-11quotes around filename, pr 5253, sthen@zephyr.spacehopper.orgTheo de Raadt
2006-10-11Allow the 'quick' keyword on an anchor. IFF there is a matching rule insideRyan Thomas McBride
the anchor, terminate ruleset evaluation when stepping out of the anchor. This means that if you absolutely want the anchor to be terminal, you probably want to use a 'block all' or 'pass all' rule at the start of the anchor. ok dhartmei@ henning@ deraadt@
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
the code easier to read. OK deraadt
2006-10-06Print 'flags any' correctly and handle anchors.Ryan Thomas McBride
2006-10-06'no state' should only be printed on pass rules, though.Ryan Thomas McBride
2006-10-06Print out 'no state' when the rule is not stateful.Ryan Thomas McBride
2006-10-06Oops, flags S/SA doesn't work on fragments.Ryan Thomas McBride
2006-10-06Make 'flags S/SA keep state' the implicit for filter rules, based onRyan Thomas McBride
a suggestion from dhartmei@. Also add 'flags any' and 'no state' options to disable flag matching and stateful filtering respectively. IMPORTANT NOTE: Current rulesets will continue to load, but the behaviour may be slightly changed as these defaults are more restrictive. If you are purposefully filtering statelessly ('no state') or have a requirement to create states on intermediate packets ('flags any') you should update your ruleset to make use of the new keywords to explicitly request the behaviour. Note that creation of states from intermediate packets in a connection is not recommended, and will increasingly cause problems as more OSs enable window scaling and increase buffer sizes by default. ok dhartmei@ deraadt@ henning@
2006-10-05Reword sentence to fix grammar nit.Tom Cosgrove
ok jmc@
2006-10-04sort the smartoffline subcommands;Jason McIntyre
2006-10-04DIAGNOSTICS -> CAVEATS because:Jason McIntyre
1) this section discusses caveats, not diagnostics 2) DIAGNOSTICS is not standard for section 1 ok grange
2006-10-03move the advice about smart, readattr, and sec* to before the commandJason McIntyre
list, since it doesn;t make sense to put these in any one single command description (nor indeed to repeat them for every command); ok grange
2006-10-03provide a summary of the available commands, since there's a ton ofJason McIntyre
them;
2006-10-03put the command list into some semblance of order;Jason McIntyre
2006-10-02various tweaks to smarten this page up a bit;Jason McIntyre
2006-10-02standard EXAMPLES;Jason McIntyre
2006-10-02simplify SYNOPSIS and sync usage();Jason McIntyre
2006-09-30Don't use uninitialized variable.Ray Lai
From Peter Philipp <peter underscore philipp at freenet dot de>. OK deraadt@.
2006-09-30Clear errno before calling the strtol functions.Ray Lai
From Paul Stoeber <x0001 at x dot de1 dot cc>. OK deraadt@.
2006-09-29add a new section header, since DESCRIPTION is getting so large...Jason McIntyre
2006-09-29make it clearer what needs to be run, and how; push manual keying downJason McIntyre
the list; move the rc stuff from ipsecctl to ipsec.conf; ok hshoexer
2006-09-27Oops. Missed a line. Fix so disklabel(8) compiles again.Kenneth R Westerback
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@