File xinetd.patch of Package nagios-nrpe

diff -ruN nrpe-2.10-orig/sample-config/nrpe.xinetd.in nrpe-2.10/sample-config/nrpe.xinetd.in
--- nrpe-2.10-orig/sample-config/nrpe.xinetd.in	2007-03-09 19:19:17.000000000 +0000
+++ nrpe-2.10/sample-config/nrpe.xinetd.in	2007-12-06 21:37:25.000000000 +0000
@@ -1,16 +1,17 @@
-# default: on
+# default: off
 # description: NRPE (Nagios Remote Plugin Executor)
 service nrpe
 {
        	flags           = REUSE
         socket_type     = stream    
-	port		= @nrpe_port@    
+        type            = UNLISTED
+        port            = @nrpe_port@    
        	wait            = no
         user            = @nrpe_user@
-	group		= @nrpe_group@
+        group           = @nrpe_group@
        	server          = @bindir@/nrpe
         server_args     = -c @sysconfdir@/nrpe.cfg --inetd
        	log_on_failure  += USERID
-        disable         = no
-	only_from       = 127.0.0.1
+        disable         = yes
+        #only_from       = 127.0.0.1
 }
openSUSE Build Service is sponsored by