summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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@;
2008-02-14Add authpf-noip, which allows multiple users to connect from a single IP;Ryan Thomas McBride
forces users to write sane rulesets for this by not providing $user_ip or updating the authpf table. testing and prodding by mtu, manpage heavily worked over by jmc ok beck dhartmei henning
2008-02-13bump copyrightReyk Floeter
2008-02-13no need to set values after bcopying the complete structReyk Floeter
2008-02-13stylistic change: move code to add protonodes from the BNF intoReyk Floeter
seperate functions in relayd.c (protonode_add/protonode_header). this code got to big to look nice in the BNF statements...
2008-02-11tweak previous;Jason McIntyre
2008-02-11Correct the output of several error and debug messages.Esben Norby
2008-02-11Correct the output of several error and debug messages.Esben Norby
2008-02-11log_debug error messages report incorrect function namesEsben Norby
from Igor Zinovik
2008-02-11unbreak the dns protocol handler, closes pr 5717Reyk Floeter
Thanks to Nigel Taylor
2008-02-11Marry relayd with snmpd using new "send trap" option: Request to sendReyk Floeter
a SNMP trap when the state of a host changes. relayd(8) will try to (re-)connect to snmpd(8) and request it to send a trap to the registered trap receivers, see snmpd.conf(5) for more information about the configuration. ok pyr@ thib@
2008-02-11bump Mdocdate for pages committed in "febuary", necessary becauseJason McIntyre
of a typo in rcs.c;
2008-02-09fix a memleak in the snmp engine and the ber i/o; free the dynamicallyReyk Floeter
allocated ber write buffer after using it. extend the ber api with a ber_free() function to do the required cleanup. Thanks to Will Backman (bitgeist at yahoo dot com) for testing and for figuring out that there was a memleak.
2008-02-08use correct variable for COUNTER64Reyk Floeter
2008-02-08fix Mdocdate.Jason McIntyre
developers please note: you do not have to edit this field when you make changes to man pages. it's a cvs keyword which expands automatically.
2008-02-08adjust this page a little more, now that -an is the default;Jason McIntyre
2008-02-07Oops. Better diff to enable -an by default without breakingThordur I. Bjornsson
the other options too badly; ok millert@
2008-02-07make arp(8) default to -na when called with no arguments;Thordur I. Bjornsson
man page bit from jmc@ ok millert@, oga@, laurent@
2008-02-07add a imsg which allows to "lock" the control connection, theReyk Floeter
restricted connection will reject any commands except snmp traps.
2008-02-07spacingReyk Floeter
2008-02-07add IPv6 root serversJakob Schlyter
2008-02-06Fix FETCH_CMD and don't hardcode ftp(1) but use OpenBSD::Paths->ftp().Bernd Ahlers
ok espie@
2008-02-05Fix a debug printf. After the session members got a se_ prefix this oneThordur I. Bjornsson
was forgotten.