summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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@;
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@