summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2008-03-12mostly stylistic - always print the client host name in snmpe errorReyk Floeter
messages and make sure that the host string is initialized.
2008-03-12if (class != BER_CLASS_UNIVERSAL || type != BER_TYPE_SEQUENCE)Claudio Jeker
not if (class != BER_CLASS_UNIVERSAL && type != BER_TYPE_SEQUENCE) the class and type need to be of correct. OK reyk@
2008-03-12SNMP has a restricted BER encoding especially all encodings use theClaudio Jeker
definite-length from. So bail out with an error if this is not the case. OK cloder@, reyk@ cvs: ----------------------------------------------------------------------
2008-03-12Return an error if more data is requested even though the buffer is empty.Claudio Jeker
Fixes an infinite loop seen by cloder@. OK cloder@, reyk@
2008-03-12nuke unused variable.Pierre-Yves Ritschard
2008-03-11oopsMarc Espie
2008-03-10print better error message if child dies... with extra dark magic to grabMarc Espie
signal names from POSIX.
2008-03-10provide a partial implementation of the HOST-RESOURCES-MIB. this implementsDavid Gwynne
the hrStorage part, which is enough to see how much space is used on your filesystems. makes my nms happy. ok reyk@
2008-03-10Fix a null deref in link_state, which happens on configMarco Pfatschbacher
files which refer to undeclared states. popfile() needs to be called later. Found by and OK cnst@
2008-03-09tweak previous;Jason McIntyre
2008-03-08rename forced to definesMarc Espie
2008-03-08better -q: mention once, and it speeds up (assumes normal files haven'tMarc Espie
changed), but still checks config files. Use twice, and wipe your config out as well.
2008-03-08tweak messages mentioning checksums so that they mention checksums, notMarc Espie
specifics like md5, since that's likely to change.
2008-03-08let GetOpt count how many times it sees an option, removes special caseMarc Espie
for -v, and allow other fun possibilities.
2008-03-08avoid request for input if lines are set to zeroSimon Bertrang
ok deraadt@, sthen@
2008-03-04Since the back-off goes 5,10,20,40 seconds, allow the retry timeout toChris Kuethe
increase to 80 and then 160sec before failing. Helps when doing big updates with "pkg_add -ui" ok espie, deraadt
2008-03-03tweak previous;Jason McIntyre
2008-03-03log a different notification message when the tcp check times out.Reyk Floeter
also adjust the documentation a little bit to decrease confusion about the check timeout. From pyr@ ok deraadt@
2008-03-03fix utterly confusing message for updates.Marc Espie
okay bernd@/deraadt@
2008-03-03Inherit global table options.Reyk Floeter
From Armin Wolfermann ok pyr@ deraadt@
2008-03-03The fix removes the replacement of se_key from relay_dns_request. se_keyReyk Floeter
is assigned a random value for and id in relay_udp_server before where the SPLAY_INSERT is performed, se_outkey is set to the return id rather than the rl_dskkey. The relay_dns_request which occurs after the SPLAY_INSERT no longer updates se_outkey, or se_key. The request is sent using the random value already placed into the se_key when the session is created. From Nigel Taylor ok pyr@ deraadt@
2008-03-03improve the compare function of addresses respecting the ports; this will fixReyk Floeter
the tree lookups in some cases. From Nigel Taylor ok pyr@ deraadt@
2008-03-02fix pkg_add -r -BMarc Espie
problem noticed by winiger@
2008-03-02fix bugs formattingMarc Espie
2008-03-02introduce a isc_random_uniform() function to return a uniformly distributedDamien Miller
number 0 < x <= upper_bound and use it to correct the last tiny bias in the shuffle initialisation feedback & ok deraadt@
2008-03-02set the refid for v4 queries too. this allows sensor-driven ntpd to says itsChris Kuethe
reference is "HARD" (or "GPS", "UMBG", "UDCF" ... in theory) rather than "^@^@^@^@" "why not" henning@
2008-03-02another extra endpwent() not neededTheo de Raadt
2008-03-02Pass a buffer size to InterpretArg() and do not let it overflow it, savesMiod Vallat
propolice some work in command_Expand_Interpret(). Inspired by FreeBSD; ok deraadt@
2008-03-02PCI devices are specified by bus:dev:func, not dev:bus:func. Adjust usageMark Kettenis
and man page.
2008-02-29no , at end of enum; tobiasu@tmux.orgTheo de Raadt
2008-02-29replacement algorithm. initialize a 64K-short buffer using DurstenfeldTheo de Raadt
shuffle. Upon allocation, swap-permute the new value to a random slot in the 0..32K-1 th entry of the buffer as we move forward, ensuring randomness but also satisfying the non-repeating property we need. Inspired by Dillon's implementation for ip id. We believe this is easier to read though, initializes with less bias and wins speed tests. Thanks a lot to mcbride and djm for doing a bunch of statistical and speed analysis, and comments from nordin ok jakob djm mcbride
2008-02-27Unbreak parser by initializing topfile correctly.Marco Pfatschbacher
I got fooled by patch(1). Sorry.
2008-02-27Unbreak parser by initializing topfile correctly.Marco Pfatschbacher
I got fooled by patch(1). Sorry. Found by and OK thib@.
2008-02-27Have popfile() also close the main config file,Marco Pfatschbacher
but only do the final popfile call after yyparse() is done. This also fixes config reload on SIGHUP for some daemons. Spotted by otto@. OK deraadt@
2008-02-26Fix memory leak in the parser. Found by Matthew Dempsky but using the moreClaudio Jeker
common way to clear the TAILQ. OK thib@
2008-02-26Ignore and drop path attributes with a type code of 0 instead of sending anClaudio Jeker
error back. This increases robustness without causing any issues. The RFC does not forbid the use of 0 in the type code but it is not explicitly allowed and the type code list at IANA does not mention 0 at all. OK henning@
2008-02-26Don't pass quick when tagging, so the tag can be used outsideHenning Brauer
the ftp-proxy anchor. Exotic setups with route-to etc. can be implemented this way. from camield, ok reyk beck canacar and manpage polished by jmc
2008-02-26Have popfile() also close the main config file,Marco Pfatschbacher
but only do the final popfile call after yyparse() is done. This also fixes config reload on SIGHUP for some daemons. Spotted by otto@. OK deraadt@
2008-02-26Allow a range of baud rates in a manner similiar to tip/cu,Jonathan Gray
fixes PR 5734 as tested by Sergey Prysiazhnyi <apelsin@atmnis.com>. Fix suggested by and ok deraadt@, "diff is correct" miod@
2008-02-25uninitialized variable needs zero'ing, ok kettenisTheo de Raadt
2008-02-25document the basic algorithms used by pkg*.Marc Espie
Actually a must-read for any porter who plays with non-trivial updates.
2008-02-24Add missing space when printing ext. communities.Claudio Jeker
2008-02-24taht -> thatMarc Balmer
2008-02-24fix a type, taht -> that.Marc Balmer
2008-02-23correct pathnames reported; pr#5742Theo de Raadt
2008-02-22Allow multiple NUL characters within string-valued properties (but add anMark Kettenis
XXX saying that this may not exactly be what we want). This makes the output on macppc look much saner. ok fgsch@, beck@
2008-02-22remove comma from type list, add missing semicolon for consistencySimon Bertrang
OK claudio@
2008-02-20set globalnl to vnodenl in filemode() so we access the rightThordur I. Bjornsson
thing in the KGET() macros. Fixes a segfault when pstat is called with '-vT'; ok miod@,krw@,beck@
2008-02-16sort flags in both synopsis and usageIgor Sobrado
ok reyk@
2008-02-14backout the change to make arp(8) default to -an;Thordur I. Bjornsson
Remove that blurp from the man page also. requested by deraadt@;