Skip to contentSkip to conversation

Turn http access off in default xend-config.sxp

PATCH Applied Nivedita Singhvi 2 participants 2 messages Dec 15, 2005 – Dec 16, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Turn http access off in default xend-config.sxp

For security reasons, since most people run with the default file and don't make any changes, turning http access off again.

thanks,
Nivedita

# HG changeset patch
# User nivedita@hex
# Node ID bebb5e237e7d42f4bd40610f85b73705047d9975 # Parent 6b1d39a56c2be5dbc2290f508d24eac750111cf4 Xend http access turned off by default.

tools/examples/xend-config.sxp Thu Dec 15 23:52:39 2005 renamed from tools/examples/xend-config.sxp Thu Dec 15 20:50:12 2005 +4 -5
diff -r 6b1d39a56c2b -r bebb5e237e7d tools/examples/xend-config.sxp
@@ -4,9 +4,9 @@
 # Xend configuration file.
 #
 
-# This example configuration is appropriate for an installation that trusts
-# only localhost connections, and is otherwise fully functional, with a
-# bridged network configuration.
+# This example configuration is appropriate for an installation that
+# utilizes a bridged network configuration. Access to xend via http
+# is disabled.
 
 # Commented out entries show the default for that entry, unless otherwise
 # specified.
@@ -15,7 +15,6 @@
 #(loglevel DEBUG)
 
 #(xend-http-server no)
-(xend-http-server yes)
 #(xend-unix-server yes)
 #(xend-relocation-server no)
 (xend-relocation-server yes)
@@ -34,7 +33,7 @@
 # Specifying 'localhost' prevents remote connections.
 # Specifying the empty string '' (the default) allows all connections.
 #(xend-address '')
-(xend-address localhost)
+#(xend-address localhost)
 
 # Address xend should listen on for relocation-socket connections, if
 # xend-relocation-server is set.

# HG changeset patch
# User nivedita@hex
# Node ID bebb5e237e7d42f4bd40610f85b73705047d9975 # Parent 6b1d39a56c2be5dbc2290f508d24eac750111cf4 Xend http access turned off by default.

tools/examples/xend-config.sxp +4 -5
diff -r 6b1d39a56c2b -r bebb5e237e7d tools/examples/xend-config.sxp
@@ -4,9 +4,9 @@
 # Xend configuration file.
 #
 
-# This example configuration is appropriate for an installation that trusts
-# only localhost connections, and is otherwise fully functional, with a
-# bridged network configuration.
+# This example configuration is appropriate for an installation that 
+# utilizes a bridged network configuration. Access to xend via http
+# is disabled.  
 
 # Commented out entries show the default for that entry, unless otherwise
 # specified.
@@ -15,7 +15,6 @@
 #(loglevel DEBUG)
 
 #(xend-http-server no)
-(xend-http-server yes)
 #(xend-unix-server yes)
 #(xend-relocation-server no)
 (xend-relocation-server yes)
@@ -34,7 +33,7 @@
 # Specifying 'localhost' prevents remote connections.
 # Specifying the empty string '' (the default) allows all connections.
 #(xend-address '')
-(xend-address localhost)
+#(xend-address localhost)
 
 # Address xend should listen on for relocation-socket connections, if
 # xend-relocation-server is set.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Applied
#1 lore raw
Quoted 2 lines · Nivedita Singhvi

For security reasons, since most people run with the default file and don't make any changes, turning http access off again.

Applied, thanks Nivedita.

Ewan.