CVSROOT: /cvs
Module name: src
Changes by: [EMAIL PROTECTED] 2008/12/05 09:37:56
Modified files:
usr.sbin/relayd: check_icmp.c check_script.c check_tcp.c hce.c
log.c pfe.c relayd.conf.5 relayd.h ssl.c
usr.sbin/relayctl: relayctl.8 relayctl.c
Log message:
change the way relayd reports check results: instead of logging an
arbitrary string in debugging mode, it will store an error code
(HCE_*) for each host. the error code can be translated to a string
(in log.c) for debugging but it will also be passed to relayctl via
the control socket.
from a user point of view, this will print a human-readable error
message in the "relayctl show hosts" output if a host is down because
the check failed. the relayctl(8) manpage includes detailed
explanations of the error messages including mitigations for the
most-common problems.
ok jmc@ (manpages)
ok phessler@