maybe chmod 0644 './conf.d/urandom'
maybe chmod 0644 './conf.d/wpa_supplicant'
maybe chmod 0644 './conf.d/xdm'
+maybe chmod 0644 './conf.d/xinetd'
maybe chmod 0700 './config-archive'
maybe chmod 0755 './config-archive/etc'
maybe chmod 0755 './config-archive/etc/bash'
maybe chmod 0755 './init.d/wpa_supplicant'
maybe chmod 0755 './init.d/xdm'
maybe chmod 0755 './init.d/xdm-setup'
+maybe chmod 0755 './init.d/xinetd'
maybe chmod 0644 './inittab'
maybe chmod 0644 './inputrc'
maybe chmod 0755 './iproute2'
maybe chmod 0644 './xdg/menus/settings.menu'
maybe chmod 0644 './xdg/user-dirs.conf'
maybe chmod 0644 './xdg/user-dirs.defaults'
+maybe chmod 0644 './xinetd.conf'
maybe chmod 0755 './xinetd.d'
+maybe chmod 0644 './xinetd.d/chargen-dgram'
+maybe chmod 0644 './xinetd.d/chargen-stream'
maybe chmod 0644 './xinetd.d/cvspserver'
+maybe chmod 0644 './xinetd.d/daytime-dgram'
+maybe chmod 0644 './xinetd.d/daytime-stream'
+maybe chmod 0644 './xinetd.d/discard-dgram'
+maybe chmod 0644 './xinetd.d/discard-stream'
+maybe chmod 0644 './xinetd.d/echo-dgram'
+maybe chmod 0644 './xinetd.d/echo-stream'
maybe chmod 0644 './xinetd.d/fingerd'
+maybe chmod 0644 './xinetd.d/ftp-sensor'
maybe chmod 0644 './xinetd.d/rsyncd'
maybe chmod 0644 './xinetd.d/svnserve'
+maybe chmod 0644 './xinetd.d/tcpmux-server'
+maybe chmod 0644 './xinetd.d/time-dgram'
+maybe chmod 0644 './xinetd.d/time-stream'
maybe chmod 0755 './xml'
maybe chmod 0644 './xml/.keep_app-text_build-docbook-catalog-0'
maybe chmod 0644 './xml/.keep_app-text_docbook-xml-dtd-4.1.2'
--- /dev/null
+# /etc/conf.d/xinetd: config file for /etc/init.d/xinetd
+
+XINETD_OPTS="-stayalive -reuse"
--- /dev/null
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/files/xinetd.rc6,v 1.24 2011/10/11 01:26:08 vapier Exp $
+
+extra_started_commands="reload dump check"
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting xinetd"
+ start-stop-daemon --start --exec /usr/sbin/xinetd -- \
+ -pidfile /var/run/xinetd.pid ${XINETD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping xinetd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/xinetd.pid
+ eend $?
+}
+
+do_sig() {
+ local sig=$1 ; shift
+ ebegin "$*"
+ start-stop-daemon --signal ${sig} --pidfile /var/run/xinetd.pid
+ eend $?
+}
+reload() { do_sig HUP "Reloading configuration" ; }
+dump() { do_sig USR1 "Dumping configuration" ; }
+check() { do_sig IOT "Performing Consistency Check" ; }
--- /dev/null
+#
+# This is the master xinetd configuration file. Settings in the
+# default section will be inherited by all service configurations
+# unless explicitly overridden in the service configuration. See
+# xinetd.conf in the man pages for a more detailed explanation of
+# these attributes.
+
+defaults
+{
+# The next two items are intended to be a quick access place to
+# temporarily enable or disable services.
+#
+# enabled =
+# disabled =
+
+# Define general logging characteristics.
+ log_type = SYSLOG daemon info
+ log_on_failure = HOST
+ log_on_success = PID HOST DURATION EXIT
+
+# Define access restriction defaults
+#
+# no_access =
+ only_from = localhost
+# max_load = 0
+ cps = 50 10
+ instances = 50
+ per_source = 10
+
+# Address and networking defaults
+#
+# bind =
+# mdns = yes
+ v6only = no
+
+# setup environmental attributes
+#
+# passenv =
+ groups = yes
+ umask = 002
+
+# Generally, banners are not used. This sets up their global defaults
+#
+# banner =
+# banner_fail =
+# banner_success =
+}
+
+includedir /etc/xinetd.d
+
--- /dev/null
+# This is the configuration for the udp/dgram chargen service.
+
+service chargen
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = chargen-dgram
+ type = INTERNAL
+ wait = yes
+ socket_type = dgram
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is the configuration for the tcp/stream chargen service.
+
+service chargen
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = chargen-stream
+ type = INTERNAL
+ wait = no
+ socket_type = stream
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is the configuration for the udp/dgram daytime service.
+
+service daytime
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = daytime-dgram
+ type = INTERNAL
+ wait = yes
+ socket_type = dgram
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is the configuration for the tcp/stream daytime service.
+
+service daytime
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = daytime-stream
+ type = INTERNAL
+ wait = no
+ socket_type = stream
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is the configuration for the udp/dgram discard service.
+
+service discard
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = discard-dgram
+ type = INTERNAL
+ wait = yes
+ socket_type = dgram
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is the configuration for the tcp/stream discard service.
+
+service discard
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = discard-stream
+ type = INTERNAL
+ wait = no
+ socket_type = stream
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is the configuration for the udp/dgram echo service.
+
+service echo
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = echo-dgram
+ type = INTERNAL
+ wait = yes
+ socket_type = dgram
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is the configuration for the tcp/stream echo service.
+
+service echo
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = echo-stream
+ type = INTERNAL
+ wait = no
+ socket_type = stream
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is an example sensor running on the ftp port. Xinetd sensors are
+# a form of intrusion detection aimed at locating hosts that are trying
+# to access an unadvertised service. Once tripped, they are denied
+# access to everything until the deny_time expires.
+
+service ftp
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = ftp-sensor
+ type = INTERNAL
+ wait = no
+ socket_type = stream
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+ flags = SENSOR
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+ deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is the configuration of the tcpmux server. It must be enabled in
+# order to add any other tcpmux services.
+
+service tcpmux
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = tcpmux-server
+ type = INTERNAL
+ wait = no
+ socket_type = stream
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user = root
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is the configuration for the udp/dgram time service.
+
+service time
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = time-dgram
+ type = INTERNAL
+ wait = yes
+ socket_type = dgram
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+
--- /dev/null
+# This is the configuration for the tcp/stream time service.
+
+service time
+{
+# This is for quick on or off of the service
+ disable = yes
+
+# The next attributes are mandatory for all services
+ id = time-stream
+ type = INTERNAL
+ wait = no
+ socket_type = stream
+# protocol = socket type is usually enough
+
+# External services must fill out the following
+# user =
+# group =
+# server =
+# server_args =
+
+# External services not listed in /etc/services must fill out the next one
+# port =
+
+# RPC based services must fill out these
+# rpc_version =
+# rpc_number =
+
+# Logging options
+# log_type =
+# log_on_success =
+# log_on_failure =
+
+# Networking options
+# flags =
+# bind =
+# redirect =
+# v6only =
+
+# Access restrictions
+# only_from =
+# no_access =
+# access_times =
+# cps = 50 10
+# instances = UNLIMITED
+# per_source = UNLIMITED
+# max_load = 0
+# deny_time = 120
+# mdns = yes
+
+# Environmental options
+# env =
+# passenv =
+# nice = 0
+# umask = 022
+# groups = yes
+# rlimit_as =
+# rlimit_cpu =
+# rlimit_data =
+# rlimit_rss =
+# rlimit_stack =
+
+# Banner options. (Banners aren't normally used)
+# banner =
+# banner_success =
+# banner_fail =
+}
+