summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2003-03-16secrity -> security. Ok ho@Matthieu Herrb
2003-03-16modifed -> modifiedmargarida
2003-03-16Use len+1 as the size parameter to strlcpy() since len does not includeTodd C. Miller
the trailing NUL. From krw@; deraadt@ OK
2003-03-14Spelling fixes from david@. jmc@ ok.Hakan Olsson
2003-03-14unkown -> unknownmargarida
ok millert@
2003-03-14tweak; millert okTheo de Raadt
2003-03-13Remove duplicate Amoeba entries.Miod Vallat
2003-03-13clarify how mappings work. closes pr2138Ted Unangst
ok jmc@
2003-03-131 byte underflow; from tdevalTheo de Raadt
2003-03-13Might as well do blinding here too.Hakan Olsson
2003-03-13Avoid "j += snprintf()". niklas@ ok.Hakan Olsson
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-03-13zap two sprintf, more to goTheo de Raadt
2003-03-13more strlcpy; most from Hans-Joerg.Hoexer@yerbouti.franken.de, a bit from meTheo de Raadt
2003-03-13thought we had already deleted thisTheo de Raadt
2003-03-12more .LiTheo de Raadt
2003-03-12document setting ipx frame type; from ianm@cit.uws.edu.auMichael Shalayeff
2003-03-11do the queue ID assignment for cbq already in userland. ensure that queuesHenning Brauer
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@
2003-03-11On pfctl -a foo -Fn/-Fr, traverse all subrulesets in the anchor andDaniel Hartmeier
clear nat/rules, like -sn/-sr already does. Reported by Julien Bordet. ok henning@, cedric@
2003-03-11fix format strings in debugging output, qid is unsignedHenning Brauer
ok cedric@ mcbride@
2003-03-11sprinkle some .LiDavid Krause
ok deraadt@
2003-03-11fix spacing in sample outputDavid Krause
ok cedric@
2003-03-11files with dead .Xr's;Jason McIntyre
left .Xr, but removed man page number as suggested by mpech@ more help and ok millert@
2003-03-11mdoc fixes: macros are not allowed inside .Bd -literal blocksDavid Krause
ok deraadt@
2003-03-11spellingDavid Krause
ok millert@
2003-03-11always compile and set pcap filters even when filters are not specified.Kenjiro Cho
bpf implements snaplen by filters and captures full packets when filters are not set. ok deraadt@, dhartmei@
2003-03-11strcpy -> strlcpy; Hans-Joerg.Hoexer@yerbouti.franken.deTheo de Raadt
2003-03-11mention that avgfilesize is in bytes.Ted Unangst
2003-03-10filesystem -> file system for a little consistencyTed Unangst
ok jmc@ millert@
2003-03-10document dirpref options -g and -h (w/ avgfpdir)Ted Unangst
ok millert@
2003-03-10check for multiple same named queues on one interface.Henning Brauer
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)
2003-03-10correctly cope with errors returned by eval_pfqueue and pfctl_add_altqHenning Brauer
ok dhartmei@ pb@ (as part of... you know, monsterdiff)
2003-03-10rework error handling in eval_pfqueue().Henning Brauer
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)
2003-03-10when complaining about a queue wiwthout parent, include the queue name inHenning Brauer
the error message ok dhartmei@ pb@ (as part of a monsterdiff)
2003-03-10it doesn't make sense to mimic pfctl -vsr output in pfctl -vsl (same forHenning Brauer
-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@
2003-03-10whitespaceHenning Brauer
2003-03-10based on ideas from david, fix the Cm problems, and othersTheo de Raadt
2003-03-10double word (be be) in commentDavid Krause
ok drahn@
2003-03-09cope with LOOP_THROUGH modifying the lis (queues).Henning Brauer
in case of an error in the queue def in question the queues list remains unmodified, but the LOOP_THROUGH caused a mod anyway, and the list can stay empty. subsequent checks for NULL which check for a empty list fail then. fix by adding an explicit check before looping. fixes regress pfail31 error report by Kamil Andrusz via pb@, testcase from pb@ ok dhartmei@
2003-03-09cope with the fact that LOOP_THROUGH loops once even if the list is empty byHenning Brauer
moving the addition of child queues a bit down after the successfull addition of the current queue and an explicit NULL check before looping. fixes regress pf59 found by kjc@ ok kjc@ cedric@ dhartmei@
2003-03-09if fopen fails, do not bork; rob@animoid-row.orgTheo de Raadt
2003-03-08Remove unneeded #includes, from Andrey Matveev andrushock(at)pisem(dot)netDaniel Hartmeier
2003-03-08fix the obvious:Henning Brauer
since we do not modify the struct pf_altq *a any more but our private copy, we can of course not inherit teh scheduler type from it, since it did not inherit the scheduler type from the parent. so just inherit the scheduler type from the parent directly... ok dhartmei@ cedric@
2003-03-08in expand_queue, make a private copy of the struct pf_altq before modifyingHenning Brauer
it. modifying the original one had undesired side effects if a queue was expanded to more than one because it belonged to more than one interface ok pb@ cedric@ dhartmei@
2003-03-08when complaining about a queue's abndwidth beeing to small (below theHenning Brauer
resolution we can handle), don't say it must be >6KB, the value actually depends on quite some factors, including interface MTU. Instead, calculate the real minimum value and show that. mpech@ did a good job in bugging me to fix that ;-) ok pb@ dhartmei@ cedric@
2003-03-08inlcude queue interals in -gsr and -gsq output; will make debugging easier.Henning Brauer
ok cedric@ pb@
2003-03-07Only show non-active tables when the -g flag is given.Cedric Berger
ok dhartmei@ henning@
2003-03-07document -gHenning Brauer
ok jmc@
2003-03-07don't include debugging output, namely, the result of teh skip stepsHenning Brauer
calculation, in verbose output (pfctl -vvsr). Instead, use a new flag -g for that. result of a longer discussion with dhartmei@ and jakob@ ok cedric@ pb@
2003-03-07spelling errors/typosDavid Krause
ok jmc@