summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/check_icmp.c
AgeCommit message (Collapse)Author
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-12spacingPierre-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-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-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-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-03spacingReyk 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-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-16knf, add copyright and license for in_cksum() from ping.cReyk Floeter
2006-12-16Import hostated, the host status daemon. This daemon will monitorReyk Floeter
remote hosts and dynamically alter pf(4) tables and redirection rules for active server load balancing. The daemon has been written by Pierre-Yves Ritschard (pyr at spootnik.org) and was formerly known as "slbd". The daemon is fully functional but it still needs some work and cleanup so we don't link it to the build yet. Some TODOs are a partial rewrite of the check_* routines (use libevent whenever we can), improvement of the manpages, and general knf and cleanup. ok deraadt@ claudio@