summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/xinetd/files/xinetd.conf')
-rw-r--r--sys-apps/xinetd/files/xinetd.conf103
1 files changed, 103 insertions, 0 deletions
diff --git a/sys-apps/xinetd/files/xinetd.conf b/sys-apps/xinetd/files/xinetd.conf
new file mode 100644
index 000000000000..1a914d050813
--- /dev/null
+++ b/sys-apps/xinetd/files/xinetd.conf
@@ -0,0 +1,103 @@
+# This file generated by xconv.pl, included with the xinetd
+# package. xconv.pl was written by Rob Braun (bbraun@synack.net)
+#
+# The file is merely a translation of your inetd.conf file into
+# the equivalent in xinetd.conf syntax. xinetd has many
+# features that may not be taken advantage of with this translation.
+# Please refer to the xinetd.conf man page for more information
+# on how to properly configure xinetd.
+
+
+# The defaults section sets some information for all services
+defaults
+{
+ #The maximum number of requests a particular service may handle
+ # at once.
+ instances = 25
+
+ # The type of logging. This logs to a file that is specified.
+ # Another option is: SYSLOG syslog_facility [syslog_level]
+ log_type = FILE /var/log/servicelog
+
+ # What to log when the connection succeeds.
+ # PID logs the pid of the server processing the request.
+ # HOST logs the remote host's ip address.
+ # USERID logs the remote user (using RFC 1413)
+ # EXIT logs the exit status of the server.
+ # DURATION logs the duration of the session.
+ log_on_success = HOST PID
+
+ # What to log when the connection fails. Same options as above
+ log_on_failure = HOST RECORD
+
+ # The maximum number of connections a specific IP address can
+ # have to a specific service.
+ per_source = 5
+}
+
+service time
+{
+ flags = REUSE NAMEINARGS
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ type = INTERNAL
+ id = time-stream
+}
+
+service time
+{
+ flags = REUSE NAMEINARGS
+ socket_type = dgram
+ protocol = udp
+ wait = yes
+ user = root
+ type = INTERNAL
+ id = time-dgram
+}
+
+service ftp
+{
+ flags = REUSE NAMEINARGS
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ server = /usr/sbin/tcpd
+ server_args = proftpd
+}
+
+service smtp
+{
+ flags = REUSE NAMEINARGS
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ server = /var/qmail/bin/tcp-env
+ server_args = tcp-env /var/qmail/bin/qmail-smtpd
+}
+
+service pop-3
+{
+ flags = REUSE NAMEINARGS
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ server = /var/qmail/bin/qmail-popup
+ server_args = qmail-popup localhost /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
+}
+
+service swat
+{
+ flags = REUSE NAMEINARGS
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ server = /usr/sbin/swat
+ server_args = swat
+}
+