summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2002-12-18Reorder sysctl list, to match sysctl -a output (mostly, structures cheat).Miod Vallat
Add/remove the missing/extra bits. And you get a typo fix for free.
2002-12-18more KNFHenning Brauer
2002-12-18Pass skip step values through ioctl interface, pfctl -vvsr shows them,Daniel Hartmeier
main purpose is making them regress-testable.
2002-12-18remove dup includeMarkus Friedl
2002-12-18rule.nr USHRT_MAX -> -1, to detect states whose creating rules areDaniel Hartmeier
already gone.
2002-12-18ryan, look at this.Henning Brauer
2002-12-18Remove duplicate entry for kern.somaxconn introduced in last commit;Todd C. Miller
Noticed by Dries Schellekens
2002-12-18Maintain separate pfioc_rule structures for each type of rule,Ryan Thomas McBride
to prevent tickets from getting overwritten. bug reported by dhartmei@ ok dhartmei@
2002-12-18proto list expansion is not supported in binat-anchor yet, print an errorDaniel Hartmeier
when attempted.
2002-12-18Support (single) destination port in rdr-anchor rules. Print an errorDaniel Hartmeier
where parameters are not supported (in rdr-anchor and binat-anchor) yet. If those are needed, we'll have to expand them properly.
2002-12-18fix some INCREDIBLE new bugs which were introducedTheo de Raadt
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.Todd C. Miller
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit.
2002-12-17add support for the PRIQ schedulerHenning Brauer
partitially from kjc@ ok kjc@ dhartmei@
2002-12-17Match merge of pf_nat/pf_binat/pf_rdr structs into pf_ruleRyan Thomas McBride
ok dhartmei@ henning@
2002-12-17missing break in switchHenning Brauer
2002-12-17beautify the %type blockHenning Brauer
2002-12-17PRIQ and HFSC support functions, not yet used.Henning Brauer
mostly from kjc@ with adjustments by me. ok theo ryan daniel
2002-12-17display.focus is a signed int, make it so; this fixes a problem under x11, ↵Michael Shalayeff
which is now a correct -1
2002-12-17class -> queueHenning Brauer
2002-12-17duh. two checks in rate2str which decide wether to print Mb or Kb had 1024Henning Brauer
instead of 1000 in. cosmetic changes if at all.
2002-12-16only create a root queue if scheduler = cbqHenning Brauer
2002-12-16KNFHenning Brauer
2002-12-16only try to add the root queue for cbqHenning Brauer
from kjc@
2002-12-16get full [scheduler]_opts struct instead of just .flags, and wrap in into aHenning Brauer
switch (scheduler) statement in one case inspired by kjc@
2002-12-16raidframe -> RAIDframeThierry Deval
2002-12-15correct clri description; from Dan Weeks <danimal at danimal dot org> viaFederico G. Schwindt
PR/3034.
2002-12-15There is no such thing as pf=YES variable, there is a variablemargarida
named pf which you can assign YES. Mention net.inet6.ip6.forwarding. inspired by nick@ and ok'd by henning@
2002-12-15rule set(s) -> ruleset(s)margarida
henning@ ok
2002-12-15more writable spelling; torhHenning Brauer
2002-12-13allow a second queue for higher priorized (currently: tos=lowdelay) packetsHenning Brauer
to be specified per rule queue (qname, priorized_qname) idea dhartmei ok dhartmei@ frantzen@ deraadt@
2002-12-13a bit KNF originally part of another diff soon to come; frantzen@ correctlyHenning Brauer
pointed out that should be a seperate commit.
2002-12-13permit re-ordering of some scrub parameters, and also clean up some otherTheo de Raadt
grammer balony; henning ok
2002-12-13fdisc -> fdesc. form@Mike Pechkin
2002-12-12KNFHenning Brauer
2002-12-12we don't need to keep a private copy of the queue name in expand_rule,Henning Brauer
r->qname is never modified discussed with dhartmei@
2002-12-12Missing 'Cm'. From <andrushock@korovino.net>Mike Pechkin
2002-12-12ansiTheo de Raadt
2002-12-11Minor cosmetic nits picked while reading though init.c:Todd C. Miller
o Use STD{IN,OUT,ERR}_FILENO, not 0-2 o Call exit() from main, not return() (code is never reached anyway) o Change two cases of '!' into "== NULL"
2002-12-11ansi; p/o by Andrushock <andrushock@korovino.net>Alexander Yurchenko
ok gluk@
2002-12-11ansi; modload users please testTheo de Raadt
2002-12-11ansiTheo de Raadt
2002-12-11ansiTheo de Raadt
2002-12-11Replace strncpy + ugly pointer math with sscanif for reading source-hash keysRyan Thomas McBride
ok dhartmei@ henning@
2002-12-11Wording; David KrauseHenning Brauer
2002-12-10don't warnx after ioctl, use warnHenning Brauer
pointed out by form@ via mpech@
2002-12-09KNFTheo de Raadt
2002-12-09replace (properly guarded) strncpy using logic by a strsep & strlcpy usingHenning Brauer
one. discussion & ok dhartmei@
2002-12-09(properly guarded) strcpy() -> strlcpy()Daniel Hartmeier
2002-12-09KNFMarkus Friedl
2002-12-09allow setting of ifcost with brconfig. enables selection of preferredMarkus Friedl
port/path to root bridge among several LANs. unlike ifpriority, which allows you to select designated port if serveral interfaces belong to the same LAN; ok jason@