NRPE and allowed_hosts after v.2.0
Sim
simvirus at gmail.com
Tue Feb 7 16:36:33 CET 2006
> you run the nrpe in standalone mode
> the allowed_hosts working
Hi! It isn't true :(
# cd nrpe-2.0/src/
# grep "allowed_hosts" *
Binary file nrpe matches
nrpe.c:char allowed_hosts[MAX_INPUT_BUFFER];
nrpe.c: else if(!strcmp(varname,"allowed_hosts")){
nrpe.c: if(strlen(input_buffer)>sizeof(allowed_hosts)){
nrpe.c: strncpy(allowed_hosts,varvalue,sizeof(allowed_hosts));
nrpe.c: allowed_hosts[sizeof(allowed_hosts)-1]='\x0';
nrpe.c: syslog(LOG_DEBUG,"Allowing connections from:
%s\n",allowed_hosts);
nrpe.c: strncpy(temp_buffer,allowed_hosts,sizeof(temp_buffer));
# cd nrpe-2.3/src/
# grep "allowed_hosts" *
#
Thanks!
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list