summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/check_tcp.c
AgeCommit message (Expand)Author
2021-09-18check_send_expect() does some nasty ibuf magic to allow fn_match()Claudio Jeker
2019-09-15Add support for binary protocol health checking. Feedback and guidance fromrob
2018-04-14In case of a tcp read timeout, the destination host state needs to beSebastian Benoit
2017-07-04if configured, set the ttl (IPV6_UNICAST_HOPS) for ipv6 tcp checks.Sebastian Benoit
2017-05-28use __func__ in log messages. fix some whitespace while here.Sebastian Benoit
2017-05-27Migrate relayd to use libtls for TLS. Still does the TLS privsep via theClaudio Jeker
2017-02-09Do not loose the send/expect validation error on timeout.Reyk Floeter
2016-01-11This adds the host_error output and the http code (when available) to theSebastian Benoit
2015-12-30now that ibuf_free() checks for null, we can remove the check here.Sebastian Benoit
2015-12-24revert check_tcp rev 1.41 by yasuoka@Sebastian Benoit
2015-11-28Use SOCK_NONBLOCK in relayd as well.Reyk Floeter
2015-08-21Increase the input side socket buffer size for "check icmp" not toYASUOKA Masahiko
2015-01-22Clean up the relayd headers with help of include-what-you-use and someReyk Floeter
2015-01-16Adapt to <limits.h> universe.Theo de Raadt
2014-12-12Change the keyword "ssl" to "tls" to reflect reality since weReyk Floeter
2014-05-15Use log_warn() to include errno if write() fails.Reyk Floeter
2011-06-17don't leak fds in failure path (ie when hosts are down)Jonathan Gray
2011-05-19Fix reload support in relayd(8) by reimplementing large parts of theReyk Floeter
2011-05-05Update all logging and debug functions to use the __func__ macroReyk Floeter
2010-12-20Only set SO_REUSEPORT for listening ports.David Hill
2010-11-30The relayd processes did already bump up the socket file descriptorReyk Floeter
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
2010-02-18Do an event_del before event_set/event_add in case we double addJonathan Gray
2009-08-07allow to modify the IP TTL value for host checks. this can be used toReyk Floeter
2009-06-04tweakReyk Floeter
2008-12-05change the way relayd reports check results: instead of logging anReyk Floeter
2008-03-03log a different notification message when the tcp check times out.Reyk Floeter
2007-12-07hoststated gets renamed to relayd. easier to type, and actually saysReyk Floeter
2007-11-24sort includes, adjust to style(9)Reyk Floeter
2007-11-21move digest string handling into an extra function.Reyk Floeter
2007-11-21allow the http digest type to be either SHA1 or MD5 determined by theReyk Floeter
2007-11-19knf (replace some ';;' with a single ';')Reyk Floeter
2007-09-28Correct my mail address.Pierre-Yves Ritschard
2007-06-07always close sockets before calling hce_notify_done.Pierre-Yves Ritschard
2007-05-27Second step towards hoststated reload:Pierre-Yves Ritschard
2007-02-22spacingReyk Floeter
2007-02-08carefully check some return values and make lint happier. never passReyk Floeter
2007-02-07include the host name in log_debug() messages used by check_tcp readReyk Floeter
2007-02-07another log_debug() removal ("nothing to write")Reyk Floeter
2007-02-07more log_debug() cleanupReyk Floeter
2007-02-07remove superfluos log_debug() messagesReyk Floeter
2007-02-06update some more debug messages and fix typos. also remove some extraReyk Floeter
2007-02-06now that check_http_code, check_http_digest and check_send_expect arePierre-Yves Ritschard
2007-02-03merge tcp-based checks into one file, no functional changesReyk Floeter
2007-02-03remove debug messageReyk Floeter
2007-01-30style changes.Pierre-Yves Ritschard
2007-01-29Add SSL support to hoststated.Pierre-Yves Ritschard
2007-01-20when retrying a write, the position was previously not updated.Pierre-Yves Ritschard
2007-01-12eliminate duplicate tcp read/write code.Pierre-Yves Ritschard
2007-01-11use real async events for checks and improve the non-blocking socketReyk Floeter