dbus-daemon(1): Recommend requiring EXTERNAL on non-Windows OSs
authorSimon McVittie <smcv@collabora.com>
Thu, 12 Apr 2018 13:09:19 +0000 (14:09 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 25 Apr 2018 15:48:17 +0000 (16:48 +0100)
This is the default, and blocks TCP-based attacks by making the
attacker fail to authenticate (while also preventing inadvisable
TCP-based configurations from working).

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106004
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
(cherry picked from commit aef4475939a773e1a205a71d641ea2bb6793ab92)

doc/dbus-daemon.1.xml.in

index 899cec2..42e3f86 100644 (file)
@@ -491,6 +491,10 @@ exist, then all known mechanisms are allowed.  If there are multiple
 &lt;auth&gt; elements, all the listed mechanisms are allowed.  The order in
 which mechanisms are listed is not meaningful.</para>
 
+<para>On non-Windows operating systems, allowing only the
+  <literal>EXTERNAL</literal> authentication
+  mechanism is strongly recommended. This is the default for the
+  well-known system bus and for the well-known session bus.</para>
 
 <para>Example: &lt;auth&gt;EXTERNAL&lt;/auth&gt;</para>