summaryrefslogtreecommitdiff
path: root/usr.sbin/hoststated
AgeCommit message (Collapse)Author
2007-02-06inform hoststatectl monitor of ruleset changes and table syncs.Pierre-Yves Ritschard
ok reyk@
2007-02-03merge tcp-based checks into one file, no functional changesReyk Floeter
ok pyr@
2007-02-03remove debug messageReyk Floeter
2007-02-01add a monitor mode to hoststatectl to continuously report changes inPierre-Yves Ritschard
hoststated. ok reyk@, "looks nice and clean" niallo@
2007-01-30this diff changes "-lcrypto -lssl" to "-lssl -lcrypto" to let itReyk Floeter
compile on vax. on some architectures the order of the libraries matters for the linker. ok pyr@
2007-01-30provide more accurate error messages.Pierre-Yves Ritschard
ok reyk@
2007-01-30small memleak plugged and style changes.Pierre-Yves Ritschard
ok reyk@
2007-01-30style changes.Pierre-Yves Ritschard
ok reyk@
2007-01-29manpage tweaks.Pierre-Yves Ritschard
advised by and ok jmc@
2007-01-29Add SSL support to hoststated.Pierre-Yves Ritschard
with help and OK reyk@ with help and advice by claudio@ and Srebrenko Sehic
2007-01-25return 0, not NULL in a function returning int.Niall O'Higgins
ok pyr@
2007-01-24Similar to ospfd and ripd ignore SIGPIPE in all processes to be able to doClaudio Jeker
a nice exit in case one of the processes dies. OK pyr@
2007-01-24Better handling of escaped CR-LF in the configuration file, commentingPierre-Yves Ritschard
them out was previously broken. This is needed for send/expect scripts. ok claudio@
2007-01-23Typo in fatal() message found by dunceor @ gmail dot comClaudio Jeker
2007-01-20when retrying a write, the position was previously not updated.Pierre-Yves Ritschard
ok reyk@
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-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-10tweaks;Jason McIntyre
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-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-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-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-05Fix two small memleaksReyk Floeter
From Pierre-Yves Ritschard (pyr at spootnik dot org)
2007-01-03spacingReyk Floeter
2007-01-03allow the sticky-address option for round-robin pools.Reyk Floeter
From Pierre-Yves Ritschard (pyr at spootnik dot org)
2006-12-26Add missing $OpenBSD$Jonathan Gray
2006-12-25the global timeout for checks is specified in millisecondsReyk Floeter
2006-12-25fix the conversion from milliseconds to struct timeval, which usesReyk Floeter
seconds (tv_sec) and microseconds (tv_usec), but the code assumed seconds and milliseconds...
2006-12-25knfReyk Floeter
2006-12-25partial rewrite of the check_* routines to use libevent everywhereReyk Floeter
instead of nested select() calls and to handle the non-blocking sockets properly. From Pierre-Yves Ritschard (pyr at spootnik dot org) (with a little help by me)
2006-12-19sort the various commands; discussed w/ pyrJason McIntyre
2006-12-18some initial improvements for the hostated pages;Jason McIntyre
2006-12-16- allow to use host/service/table names instead of Ids in hostatectl.Reyk Floeter
- minor change of the "hostatectl show" command output - increase the max service and tag names (max pf tag name size is 64 now!) thanks to pyr who found a bug in my initial diff
2006-12-16typoMartin Reindl
2006-12-16spacingTheo de Raadt
2006-12-16spacingReyk Floeter
2006-12-16knf (second level indents are four spaces)Reyk Floeter
2006-12-16knf, spacingReyk Floeter
please note that some editors will replace tabs with multiple spaces if you cut & paste code from other sections. please try to keep the tabs ;).