summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/check_icmp.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2017-07-12Consistently use the variable "ttl" for get/setsockoptJeremie Courreges-Anglas
2017-07-11Correctly set ttl for IPv4 and IPv6.Florian Obser
2017-05-28use __func__ in log messages. fix some whitespace while here.Sebastian Benoit
2016-09-02Split "struct relayd" into two structs: "struct relayd" and "structReyk Floeter
2015-11-28Use SOCK_NONBLOCK in relayd as well.Reyk Floeter
2015-10-23let the icmp check use getsockopt IP_IPDEFTTL to get the default ttlSebastian Benoit
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-21Stop pulling in <arpa/inet.h> or <arpa/nameser.h> when unnecessary.Philip Guenther
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2013-03-10This diff changes relayd to use the monotonic clock instead ofReyk Floeter
2013-01-29use correct function name in fatal error messageStuart Henderson
2013-01-17Remove unnecessary pointer casts. No binary diff.Alexander Bluhm
2012-09-19Copy the host id value to the ICMP echo payload in network byte order andReyk Floeter
2012-09-19Fix ICMP checks by setting the socklen correctly before calling recvfrom().Reyk Floeter
2011-05-09Reorganize the relayd code to use the proc.c privsep API/commodityReyk Floeter
2011-05-05Update all logging and debug functions to use the __func__ macroReyk Floeter
2009-08-14do not timeout disabled hosts in the icmp checksReyk Floeter
2009-08-07get the default ttl via sysctl instead of using IPDEFTTLReyk Floeter
2009-08-07allow to modify the IP TTL value for host checks. this can be used toReyk Floeter
2008-12-05change the way relayd reports check results: instead of logging anReyk Floeter
2008-08-08Check gettimeofday() against -1; Add a missing error check in one place.Thordur I. Bjornsson
2008-07-19If the new 'parent' keyword is specified for a host in a table,Reyk Floeter
2008-01-31add prefixes to names of structure elements to make it easier to grepReyk 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-10-09Do not notify twice about the same timeout in check_icmp, this previouslyPierre-Yves Ritschard
2007-09-28Correct my mail address.Pierre-Yves Ritschard
2007-07-16typoPierre-Yves Ritschard
2007-07-16use fatal and not err, the message would get lost.Pierre-Yves Ritschard
2007-05-31allocate table lists and service lists instead of using static structs.Pierre-Yves Ritschard
2007-05-27Second step towards hoststated reload:Pierre-Yves Ritschard
2007-02-23knfTheo de Raadt
2007-02-12spacingPierre-Yves Ritschard
2007-01-29Add SSL support to hoststated.Pierre-Yves Ritschard
2007-01-12spacingPierre-Yves Ritschard
2007-01-11use real async events for checks and improve the non-blocking socketReyk Floeter
2007-01-09use the correct buffer sizes.Reyk Floeter
2007-01-09adapt to renameTheo de Raadt
2007-01-08do NOT use the regexp interface. it is way to complicated, error-proneReyk Floeter
2007-01-08add a generic send/expect check using regular expression (seeReyk Floeter
2007-01-03spacingReyk Floeter
2006-12-25fix the conversion from milliseconds to struct timeval, which usesReyk Floeter
2006-12-25partial rewrite of the check_* routines to use libevent everywhereReyk Floeter
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