You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/xinetd/files/xinetd-2.3.15-config.patch

23 lines
437 B

set up some secure defaults:
- services can only be accessed from localhost
- sanitize the runtime environment (so root's shell vars don't bleed through)
--- contrib/xinetd.conf
+++ contrib/xinetd.conf
@@ -22,5 +22,5 @@
#
# no_access =
-# only_from =
+ only_from = localhost
# max_load = 0
cps = 50 10
@@ -35,7 +35,7 @@ defaults
# setup environmental attributes
#
-# passenv =
+ passenv =
groups = yes
umask = 002