summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-01-19 17:19:12 -0500
committerFrank Ch. Eigler <fche@elastic.org>2010-01-19 17:19:12 -0500
commit596bbda30fd116c2d45c155ad347cc2d27186f3c (patch)
tree90445317ecc222e9e85e4eb8b9ea558dfb59957c
parent5d580c21bf940ab8c8006a6efe37eb3fca1d191d (diff)
downloadsystemtap-steved-596bbda30fd116c2d45c155ad347cc2d27186f3c.tar.gz
systemtap-steved-596bbda30fd116c2d45c155ad347cc2d27186f3c.tar.xz
systemtap-steved-596bbda30fd116c2d45c155ad347cc2d27186f3c.zip
security: list some prudent security practices for stap-server
-rw-r--r--stap-server.8.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/stap-server.8.in b/stap-server.8.in
index 1c69ca1c..d44b60f0 100644
--- a/stap-server.8.in
+++ b/stap-server.8.in
@@ -359,6 +359,28 @@ structures and potentially private user information. See the
manual page for additional information on safety and security.
.PP
+As a network server, stap-server should be activated with care in
+order to limit the potential effects of bugs or mischevious users.
+Consider the following prophylactic measures.
+.TP
+1
+Run stap-server as an unprivileged user, never as root.
+.TP
+2
+Run stap-server with resource limits that impose maximum
+cpu time, file size, memory consumption, in order to bound
+the effects of processing excessively large or bogus inputs.
+.TP
+3
+Run stap-server with a $TMPDIR environment variable that
+points to a separate and/or quota-enforced directory, in
+order to prevent filling up of important filesystems.
+.TP
+4
+Activate network firewalls to limit stap-client connections
+to relatively trustworthy networks.
+
+.PP
The systemtap server and its related utilities use the Secure Socket Layer
(SSL) as implemented by Network Security Services (NSS)
for network security. The NSS tool
@@ -399,6 +421,7 @@ Location of installed kernels.
.IR stapprobes (3stap),
.IR stapfuncs (3stap),
.IR stapex (3stap),
+.IR ulimit (1),
.IR NSS ,
.IR certutil