monit-general
[Top][All Lists]
Advanced

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

RE: Any Ping Sensitivity Adjust


From: M. D. Parker
Subject: RE: Any Ping Sensitivity Adjust
Date: Wed, 3 Aug 2005 08:39:09 -0700

I have installed the new patch against the current CVS head.....no problems
initially and I have just started monit running. 


==========================================

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


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Martin Pala
Sent: Wednesday, August 03, 2005 1:47 AM
To: This is the general mailing list for monit
Subject: Re: Any Ping Sensitivity Adjust

oops, thanks :) The checksum was computed from the first array member, thus
it was incorrect for second and later echo request which had different
sequence id.

Here is updated patch (it is fixed for solaris as well), it should be fine
now.

If developers will agree, i can send it to cvs.

Martin


Daniel wrote:
> M. D. Parker wrote:
> 
>> Sorry system is a 266MHz Pentium 2.
>>
>> ==========================================
>>
>> M. D. Parker
>> Systems Administrator
>> General Atomics / Electromagnetic Systems
>> +1 858 455 2877
>> address@hidden
>>
>>
>> -----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 patches.
> 
> 
> 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.
> 
> Regards
> 
> Daniel


*** eSafe scanned this email for malicious content ***
*** IMPORTANT: Do not open attachments from unrecognized senders  ***





reply via email to

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