ejabberd - Comments for "Is SASL Authentication Supported?" https://www.ejabberd.im/node/4117 en Ouch! Not being able to https://www.ejabberd.im/node/4117#comment-56093 <p>Ouch!</p> <p>Not being able to specify a prefered method means the likely outcome will be dialback and this may not be desired. In this situation there is no requirement to use TLS. Thus, all traffic is susceptible to inspection. Mind you, some business-level security policies require this for compliance reasons and will only federate with its own remote office XMPP servers over a VPN ;-)</p> <p>Thanks badlop for all your help to date.<br /> regards,<br /> paddy.</p> Thu, 24 Jun 2010 12:17:12 +0000 paddyjoesoap comment 56093 at https://www.ejabberd.im SASL EXTERNAL not configurable https://www.ejabberd.im/node/4117#comment-56088 <div class="quote-msg"> <div class="quote-author"><em>paddyjoesoap</em> wrote:</div> <p>Does ejabberd have this configuration option where dialback and/or SASL External can be enabled/disabled explicitly?</p></div> <p>Not configurable. In fact, I connected to several remote servers, and the code in ejabberd_s2s that negotiates SASL EXTERNAL wasn't executed in any case. I don't know what are exactly the conditions in which ejabberd decides itself to use SAL EXTERNAL.</p> Thu, 24 Jun 2010 10:33:03 +0000 mfoss comment 56088 at https://www.ejabberd.im Interesting! I think the same https://www.ejabberd.im/node/4117#comment-56080 <p>Interesting!</p> <p>I think the same applies to Dialback.</p> <p>From the ejabbered configuration file there is an option for the following:</p> <p>{s2s_use_starttls,true} where "true" can be replaced with "false".</p> <p>I presume that once port 5269 is open, ejabberd will internally enable both dialback and SASL External. And the above command will only provide TLS to the dialback if required.</p> <p>If this assumption is correct then there may be some issues. For example, what if one wanted to disable dialback entirely or disable SASL External in favour of dialback (perhaps to connect with a legacy XMPP server or an XMPP server over a VPN).</p> <p>Does ejabberd have this configuration option where dialback and/or SASL External can be enabled/disabled explicitly?</p> Wed, 23 Jun 2010 11:10:30 +0000 paddyjoesoap comment 56080 at https://www.ejabberd.im S2S SASL EXTERNAL https://www.ejabberd.im/node/4117#comment-56079 <div class="quote-msg"> <div class="quote-author"><em>paddyjoesoap</em> wrote:</div> <p>Does ejabberd support SASL EXTERNAL for S2S communication</p></div> <p>Seems so:<br /> <noindex><a href="https://git.process-one.net/ejabberd/mainline/commit/f6343f01f7db7aa46658ce6ad580e96cc2710478" title="https://git.process-one.net/ejabberd/mainline/commit/f6343f01f7db7aa46658ce6ad580e96cc2710478" rel="nofollow" >https://git.process-one.net/ejabberd/mainline/commit/f6343f01f7db7aa4665...</a></noindex></p> <p>And it doesn't seem to need any configuration.</p> Tue, 22 Jun 2010 18:51:27 +0000 mfoss comment 56079 at https://www.ejabberd.im Thanks for that https://www.ejabberd.im/node/4117#comment-56077 <p>Thanks for that information.</p> <p>Does ejabbered support SASL EXTERNAL for S2S communication rather than dialback?</p> <p>What is the configuration argument for this, given that</p> <p>{auth_method, internal} is intended for C2S using either SASL PLAIN or SASL MD5.</p> Tue, 22 Jun 2010 14:23:58 +0000 paddyjoesoap comment 56077 at https://www.ejabberd.im Unrelated option https://www.ejabberd.im/node/4117#comment-56073 <div class="quote-msg"> <div class="quote-author"><em>paddyjoesoap</em> wrote:</div> <p>Is this the command to have s2s over TLS and SASL EXTERNAL?</p> <p>{auth_method, external}.</p></div> <p>That option tells ejabberd to start a script or program externally to ejabberd, and send all the auth queries to it instead of accessing the database.</p> <p>That option is unrelated to the SASL EXTERNAL protocol that a client would like to use when negotiating auth with ejabberd.</p> Mon, 21 Jun 2010 11:06:05 +0000 mfoss comment 56073 at https://www.ejabberd.im ejabberd supports SASL PLAIN https://www.ejabberd.im/node/4117#comment-56072 <p>ejabberd supports SASL PLAIN and SASL DIGEST-MD5 when configured with </p> <pre> {auth_method, internal}. </pre><p>or odbc, ...</p> <p>It also supports SASL ANONYMOUS when configured:</p> <pre> {auth_method, anonymous}. {anonymous_protocol, sasl_anon}. </pre><p> There is also a <noindex><a href="/cyrsasl_gssapi" rel="nofollow" >contributed SASL GSSAPI patch</a></noindex>, but I don't know if that allows other SASL methods, or what exactly it does.</p> Mon, 21 Jun 2010 11:02:00 +0000 mfoss comment 56072 at https://www.ejabberd.im Is this the command to have https://www.ejabberd.im/node/4117#comment-56068 <p>Is this the command to have s2s over TLS and SASL EXTERNAL?</p> <p>{auth_method, external}.</p> Mon, 21 Jun 2010 10:11:00 +0000 paddyjoesoap comment 56068 at https://www.ejabberd.im