summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2007-01-20Ignore SIGPIPE in the parent and RDE as well.Claudio Jeker
2007-01-20when retrying a write, the position was previously not updated.Pierre-Yves Ritschard
ok reyk@
2007-01-15the new sensors tre can give us the number of sensors per type.Henning Brauer
With this patch, we give up without bothering sysctl kern_sensors.c::sensor_find() unless we know for sure that timedelta sensor is present. From: "Constantine A. Murenin" <cnst+openbsd@bugmail.mojo.ru>
2007-01-15allow users to specify interface specific parameters even on a global basisMichele Marchetto
OK henning@
2007-01-15Although Unix compilers accept more than one definition of a globalOtto Moerbeek
symbol, follow the guidelines from K&R: only one definition of a global symbol (and possibly more declarations). Rename some vars here and there to avoid shadowing. ok henning@
2007-01-14clarify that -K needs an argument >= 1000, and add two examples dealing withAlexander von Gernler
encrypted images. help from and ok pedro@ jmc@
2007-01-14Esape from the Mouth of Madness by adjusting stored sensor offsetsOtto Moerbeek
when we adjust time. This prevents ntpd from going wild when using sensor time sources; ok henning@ (on an earlier version) and a LOT of testing by naddy@
2007-01-14Add some comments on the expresssion which converts sensor timedeltasOtto Moerbeek
to ntp offsets; also, rewrite the expression to make it more clear with no change in semantics. ok henning@
2007-01-14typoMichele Marchetto
metricr -> metric
2007-01-12spacingPierre-Yves Ritschard
2007-01-12use an u_int16_t for flags, the u_int8_t was getting too small.Pierre-Yves Ritschard
ok reyk@
2007-01-12eliminate duplicate tcp read/write code.Pierre-Yves Ritschard
ok claudio@, reyk@
2007-01-12Compare against the username, so listing groups when given a numericOtto Moerbeek
user id to userinfo works. From Alf Schlichting; ok millert@
2007-01-11Correct logic in path_update() so that moves are only done when needed.Claudio Jeker
Previously prefix changes of neighbors with softreconfig in disabled where using prefix_add() instead of prefix_move(). Luckily prefix_add() has additional logic to detect this case and calls prefix_move() itself. This made backtraces of a totaly different issue so strange that I was hunting a bug for weeks at the completely wrong spot. Doh!
2007-01-11Silently ignore unknown neighbors in the rde and ospfe imsg handler. ThisClaudio Jeker
is needed for upcomming reload support -- it can happen that a message to a just deleted neighbor is still pending.
2007-01-11Join two lines.Claudio Jeker
2007-01-11Remove unneeded config stuff when booting up the RDE. This makes the reloadClaudio Jeker
handling a bit easier.
2007-01-11spacingPierre-Yves Ritschard
2007-01-11use real async events for checks and improve the non-blocking socketReyk Floeter
usage. also modify the check_icmp code to use non-blocking raw sockets and merge the icmp4 and icmp6 functions. some other minor changes while i'm here. as discussed with pyr@ claudio@ deraadt@ ok pyr@
2007-01-11remove unused #define DHCP_MIN_LENKevin Steves
2007-01-10resolve conflicts and regen configure scriptJakob Schlyter
2007-01-10ISC BIND release 9.3.3Jakob Schlyter
2007-01-10sync usage() somewhat;Jason McIntyre
2007-01-10- better wording for -f, as well as missing punctuationJason McIntyre
- put CAVEATS in the right place
2007-01-10tweaks;Jason McIntyre
2007-01-10remove ancient code. sync w/ kameJun-ichiro itojun Hagino
2007-01-09typoReyk Floeter
2007-01-09Finish renaming hostated to hoststated.Pierre-Yves Ritschard
Note to testers: the user the daemon changes its id to is now _hoststated, don't forget to update master.passwd. ok reyk@
2007-01-09use the correct buffer sizes.Reyk Floeter
(this code needs some more work to implement a better icmp handling, but this will fix a serious bug for now)
2007-01-09unbreakReyk Floeter
2007-01-09adapt to renameTheo de Raadt
2007-01-09rename to hoststate{d,ctl}, using a repository copyTheo de Raadt
as discussed with reyk
2007-01-08c should be u_char for printing option numbers. fix parameter requestKevin Steves
list option numbers >127 being negative. ok krw@
2007-01-08do NOT use the regexp interface. it is way to complicated, error-proneReyk Floeter
and we don't know about all the possible security problems. change the check send/expect code to use the fnmatch(3) interface using shell globbing rules instead. this allows simple patterns like "220 * ESMTP*" or "SSH-[12].??-*". suggested by deraadt@ and otto@ ok Pierre-Yves Ritschard (pyr at spootnik dot org)
2007-01-08term 3 here can be dropped tooTheo de Raadt
2007-01-08how did you use one with an old license??Theo de Raadt
2007-01-08ports can be specified by number or by nameReyk Floeter
2007-01-08allow to use service names in addition to numerical port numbers inReyk Floeter
the configuration file, eg. "real port http". > From Pierre-Yves Ritschard (pyr at spootnik dot org) ok claudio@
2007-01-08timeouts must not exceed the global intervalReyk Floeter
2007-01-08the timeout values are not allowed to exceed the global interval (iReyk Floeter
figured this out while testing hostated against a stottering spamd where the send/expect timeout needs be > 10 seconds). also use another struct timeval to store the interval for easier handling in the code. ok Pierre-Yves Ritschard (pyr at spootnik dot org)
2007-01-08the timeout values are not allowed to exceed the global interval (iReyk Floeter
figured this out while testing hostated against a stottering spamd where the send/expect timeout needs be > 10 seconds). also use another struct timeval to store the interval for easier handling in the code. ok Pierre-Yves Ritschard (pyr at spootnik dot org)
2007-01-08allow shared key specification in hex (0x01234...); ok hoMarkus Friedl
2007-01-08remove unused token.Reyk Floeter
2007-01-08add a generic send/expect check using regular expression (seeReyk Floeter
regex(3)). this allows to define additional checks for other TCP protocols. From Pierre-Yves Ritschard (pyr at spootnik dot org)
2007-01-08update man page reflecting claudio's changesMichele Marchetto
2007-01-08New redistribute code adapted from ospfd. It is now possible to do the sameClaudio Jeker
redistribute setups as in ospfd (rtlables, per prefix, negation). Tested, input and OK michele@
2007-01-06increase buffer size; ie. for hw.sensors.ipmi0.indicator0Theo de Raadt
from cnst+openbsd@bugmail.mojo.ru
2007-01-05Fix two small memleaksReyk Floeter
From Pierre-Yves Ritschard (pyr at spootnik dot org)
2007-01-05mmap returns MAP_FAILED on error, not -1 or NULL; from xsa@Otto Moerbeek
2007-01-04 Using DB_BTREE for spamd is wrong, order is never requiredBob Beck
and the rebalancing really slags big databases. Make spamd use DB_HASH instead, and convert if the old type is noticed on startup. Testing by me, djm, ian, others ok deraadt@, millert@, djm@