Antwort: [Nagiosplug-devel] check_ping: Could not interpret output from ping command [Virus scanned]

Andreas Ericsson ae at op5.se
Sat Sep 4 01:44:06 CEST 2004


Julien TOUCHE wrote:
> Andreas Ericsson a écrit :
> 
>> So does the ping program, which is forked by the check_ping plugin. 
>> Root  privileges are required for access to raw sockets on most 
>> systems, although some have quirks to get around it for ICMP traffic, 
>> and it's also possible to do TCP Connect and TCP SYN pings, but that's 
>> a bit different and somewhat obscure.
>>
> i agree. next it depends on trust you give to each program to be setuid 
> or not.
> at least they drop privs but i don't understand this part of the help of 
> check_icmp
> 
> * This program requires root privileges to run properly.
>   If it is run as setuid root it will halt with an error if;
>     interval < 25 || retries > 5
> 
> and it seems to work ok with setuid ?

Yes. I redid that part so the program automagically raises the interval 
if it's too low and UID != EUID. This is to prevent regular users from 
flooding the network with ICMP packets. I think I need to go over it and 
check for this sort of thing once more.

> or maybe ';' is a ':' ?
> 

Possibly. It's a matter of poor capacity for grasping foreign 
punctuation styles on my behalf.

> Regards
> 
>         Julien

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer




More information about the Devel mailing list