File xinetd-config.patch of Package xinetd.5736

From: mvyskocil@suse.com
Subject: Merge SUSE default config with upstream one

SUSE have been providing own xinetd.conf, which is a bit different from
upstream. This patch merges almost all features of old default configuration,
except the default log_type is SYSLOG instead of a file. That means all xinetd
instances start to use syslog by default.

---
 contrib/xinetd.conf |   19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

Index: xinetd-2.3.15/contrib/xinetd.conf
===================================================================
--- xinetd-2.3.15.orig/contrib/xinetd.conf
+++ xinetd-2.3.15/contrib/xinetd.conf
@@ -13,20 +13,31 @@ defaults
 #	enabled		=
 #	disabled	=
 
+# Previous default in SUSE - please don't forget to use the logrotate. The 
+# sample configuration is in /usr/share/packages/doc/xinetd/logrotate
+#       log_type        = FILE /var/log/xinetd.log 
+
 # Define general logging characteristics.
 	log_type	= SYSLOG daemon info 
-	log_on_failure	= HOST
-	log_on_success	= PID HOST DURATION EXIT
+	log_on_failure	= HOST ATTEMPT
+	log_on_success	= HOST EXIT DURATION
 
 # Define access restriction defaults
 #
 #	no_access	=
-#	only_from	=
+#	only_from	= localhost
 #	max_load	= 0
 	cps		= 50 10
-	instances	= 50
+	instances	= 30
 	per_source	= 10
 
+#
+# The specification of an interface is interesting, if we are on a firewall.
+# For example, if you only want to provide services from an internal
+# network interface, you may specify your internal interfaces IP-Address.
+#
+#	bind	= 127.0.0.1
+
 # Address and networking defaults
 #
 #	bind		=
openSUSE Build Service is sponsored by