On 2016-09-01 00:27, Sebastian Benoit wrote:
Remi Locherer([email protected]) on 2016.08.19 16:31:10 +0200:
>Synopsis:   relayd's icmp check only works for a small number of hosts
>Category:   relayd
>Environment:
        System      : OpenBSD 5.9
Details : OpenBSD 5.9 (GENERIC.MP) #10: Wed Aug 3 13:46:07 CEST 2016 [email protected]:/binpatchng/work-binpatch59-amd64/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64

>Description:
relayd says 70 out of 104 hosts are not reachable via icmp. But ping on the same host where relayd runs can reach all hosts with a rtt below 1ms.

In the logs I see "210ms,icmp read timeout". But in relayd.conf a timeout
of 1000 is set.

Could this be related to the problem mentioned in the commit message of
src/usr.sbin/relayd/check_icmp.c rev 1.41?

i think you mean 1.40?

yes

try to increase

usr.sbin/relayd/relayd.h:93:#define ICMP_RCVBUF_SIZE 262144

and see if you can have more checks then.

I tried the values 524288 and 393216 for ICMP_RCVBUF_SIZE. For both values relayd tells me:

relayd_icmp_patch: icmp_setup: setsockopt: No buffer space available

And then it exits.

Reply via email to