]> xenbits.xensource.com Git - libvirt.git/commitdiff
Change the default of mdns_adv to false
authorStef Walter <stefw@gnome.org>
Tue, 27 Mar 2012 14:20:54 +0000 (16:20 +0200)
committerEric Blake <eblake@redhat.com>
Tue, 27 Mar 2012 15:54:49 +0000 (09:54 -0600)
 * Don't advertise information on the network without consent of
   the user, either through manual configuration, or a user
   interface that drives this option.
 * Since libvirtd must be configured for network access anyway
   (for all but ssh), this setting was not useful "out of the box",
   so changing this default setting does not remove "out of the box"
   functionality.

AUTHORS
daemon/libvirtd.c
daemon/libvirtd.conf
daemon/test_libvirtd.aug
docs/remote.html.in
tests/confdata/libvirtd.conf
tests/confdata/libvirtd.out

diff --git a/AUTHORS b/AUTHORS
index 64cf5491a4b7b1a562f0f2f4712b0d26b601ca4c..881a8c155208a62994b2390a655d32af5f420794 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -226,6 +226,7 @@ Patches have also been contributed by:
   Duncan Rance         <libvirt@dunquino.com>
   Peng Zhou            <ailvpeng25@gmail.com>
   Li Zhang             <zhlcindy@linux.vnet.ibm.com>
+  Stef Walter          <stefw@gnome.org>
 
   [....send patches to get your name here....]
 
index c1ab32d5212c904331925308810432f1df287644..44fb36395c5d20b90979ff315a1bac9866366943 100644 (file)
@@ -909,7 +909,7 @@ daemonConfigNew(bool privileged ATTRIBUTE_UNUSED)
 #endif
     data->auth_tls = REMOTE_AUTH_NONE;
 
-    data->mdns_adv = 1;
+    data->mdns_adv = 0;
 
     data->min_workers = 5;
     data->max_workers = 20;
index 3eab2be487ff811ed0c1c53e225169cc60f48cdc..50eda1b14d28980c734a0327ab2998f0d142f3ce 100644 (file)
@@ -56,8 +56,8 @@
 # Alternatively can disable for all services on a host by
 # stopping the Avahi daemon
 #
-# This is enabled by default, uncomment this to disable it
-#mdns_adv = 0
+# This is disabled by default, uncomment this to enable it
+#mdns_adv = 1
 
 # Override the default mDNS advertizement name. This must be
 # unique on the immediate broadcast network.
index 58b7170e9033fe515c56ae21d7b065a30366af9d..dbe532a14dc26eaca380e5d6857a29f922b95857 100644 (file)
@@ -54,8 +54,8 @@ listen_addr = \"192.168.0.1\"
 # Alternatively can disable for all services on a host by
 # stopping the Avahi daemon
 #
-# This is enabled by default, uncomment this to disable it
-mdns_adv = 0
+# This is disabled by default, uncomment this to enable it
+mdns_adv = 1
 
 # Override the default mDNS advertizement name. This must be
 # unique on the immediate broadcast network.
@@ -330,8 +330,8 @@ audit_level = 2
         { "#comment" = "Alternatively can disable for all services on a host by" }
         { "#comment" = "stopping the Avahi daemon" }
         { "#comment" = "" }
-        { "#comment" = "This is enabled by default, uncomment this to disable it" }
-        { "mdns_adv" = "0" }
+        { "#comment" = "This is disabled by default, uncomment this to enable it" }
+        { "mdns_adv" = "1" }
         { "#empty" }
         { "#comment" = "Override the default mDNS advertizement name. This must be" }
         { "#comment" = "unique on the immediate broadcast network." }
index 6a8e830236da983e68ba20671c576659dce2ecad..e6af4c2205fdbbf455d50b9beb1c7bd4c078f24f 100644 (file)
@@ -738,7 +738,7 @@ Blank lines and comments beginning with <code>#</code> are ignored.
       </tr>
       <tr>
         <td> mdns_adv <i>[0|1]</i> </td>
-        <td> 1 (advertise with mDNS) </td>
+        <td> 0 (advertise with mDNS) </td>
         <td>
   If set to 1 then the virtualization service will be advertised over
   mDNS to hosts on the local LAN segment.
index a943bfa195b307128bd2ad665f69f3c788eb7d39..2f2ba4b2f142a0600c381ff285d25cb40fde945b 100644 (file)
@@ -48,8 +48,8 @@ tcp_port = "16509"
 # Alternatively can disable for all services on a host by
 # stopping the Avahi daemon
 #
-# This is enabled by default, uncomment this to disable it
-mdns_adv = 0
+# This is disabled by default, uncomment this to enable it
+mdns_adv = 1
 
 # Override the default mDNS advertizement name. This must be
 # unique on the immediate broadcast network.
index 0bebe2f1f54aa93e36e39cd8e86bed3ae51f38e9..171945da1aafa28fe91858fb2d250c189db74c9c 100644 (file)
@@ -37,8 +37,8 @@ tcp_port = "16509"
 # Alternatively can disable for all services on a host by
 # stopping the Avahi daemon
 #
-# This is enabled by default, uncomment this to disable it
-mdns_adv = 0
+# This is disabled by default, uncomment this to enable it
+mdns_adv = 1
 # Override the default mDNS advertizement name. This must be
 # unique on the immediate broadcast network.
 #