[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any Ping Sensitivity Adjust

From: Daniel
Subject: Re: Any Ping Sensitivity Adjust
Date: Wed, 03 Aug 2005 12:34:24 +1200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050601

M. D. Parker wrote:
Sorry system is a 266MHz Pentium 2.


M. D. Parker
Systems Administrator
General Atomics / Electromagnetic Systems
+1 858 455 2877

-----Original Message-----
From: M. D. Parker [mailto:address@hidden Sent: Tuesday, August 02, 2005 4:49 PM
To: 'This is the general mailing list for monit'
Cc: 'Martin Pala'
Subject: RE: Any Ping Sensitivity Adjust

I compiled and tried the suggested patch against the CVS head.
What happened during the test was that when started ALL hosts using the ICMP
test were flagged as down (and sent alerts accordingly) both with and
without the COUNT option.

Package was compiled on a Intel x32 running Fedora Core 3 with all current

I also patched it against 4.5.1 after stripping out the .pod patching and it went in cleanly.

Ethereal shows that the ICMP layer checksum on all the echo request packets is incorrect (and therefore packet is ignored/dropped by firewalls). The ICMP checksum also appears not to change across from the 2nd on packet on.

It looks like this call
icmphdrout[i]->checksum= checksum_ip((unsigned char *)icmphdrout, ICMP_SIZE)

and the one below it in net.c (line ~654) need to be changed to

icmphdrout[i]->checksum= checksum_ip((unsigned char *)icmphdrout[i], ICMP_SIZE)

Doing that made it at least mark the hosts as working now and I see the multiple amount of ping requests.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]