ejabberd - Comments for "challenge stanza in response to authentication attempt" https://www.ejabberd.im/node/4260 en sasl https://www.ejabberd.im/node/4260#comment-56606 <p>its the sasl mechanism... i actually wrote a huge post about it but i guess this forum doesnt allow for it :(<br /> looking for a good tutorial for it though, if anyone knows of any?</p> Fri, 10 Sep 2010 05:41:57 +0000 xukster comment 56606 at https://www.ejabberd.im sasl https://www.ejabberd.im/node/4260#comment-56605 <p>its the encoded response for a digest-md5 challenge...<br /> i dont think disabling it is a good idea, but im having trouble getting around it. ive tried to compute the response and send it to the server, but i get a bad protocol error. anyone have any idea what that means? my worry is that i mis-computed the response and i get the error in exchange... but the xmpp specs dont list bad-protocol as an error i should be getting, so maybe thats not it?</p> <p>here are the stanzas (removed the tags coz they dont get displayed):</p> <p>sent = (body hold='1' secure='true' rid='$rid' to='server.name.org' wait='60' xmpp:version='1.0' xml:lang='en' xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh'/)</p> <p>returned = (body xmlns='http://jabber.org/protocol/httpbind' sid='5009a1af7a9' wait='60' requests='2' inactivity='30' maxpause='120' polling='2' ver='1.8' from='server.name.org' secure='true' authid='3360310511' xmlns:xmpp='urn:xmpp:xbosh' xmlns:stream='http://etherx.jabber.org/streams' xmpp:version='1.0')(stream:features xmlns:stream='http://etherx.jabber.org/streams')(mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl')(mechanism)DIGEST-MD5(/mechanism)(mechanism)PLAIN(/mechanism)(/mechanisms)(c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='wwrSvLFOLzC92POh074kJuEqYxE='/)(register xmlns='http://jabber.org/features/iq-register'/)(/stream:features)(/body)</p> <p>sent = (body rid='$rid' sid='$sid' xmlns='http://jabber.org/protocol/httpbind')(auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5')=(/auth)(/body)</p> <p>returned = (body xmlns='http://jabber.org/protocol/httpbind')(challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl')bm9uY2U9c3M=(/challenge)(/body)</p> <p>sent = (body rid='$rid' sid='$sid' xmlns='http://jabber.org/protocol/httpbind')(response xmlns='urn:ietf:params:xml:ns:xmpp-sasl')$zb64(/response)(/body)</p> <p>and the final return = (body xmlns='http://jabber.org/protocol/httpbind')(failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl')(bad-protocol/)(/failure)(/body)</p> Fri, 10 Sep 2010 05:25:25 +0000 xukster comment 56605 at https://www.ejabberd.im Umm https://www.ejabberd.im/node/4260#comment-56598 <div class="quote-msg"> <div class="quote-author"><em>xukster</em> wrote:</div> <p>k, after a bit more reading i discovered that this was the built in captcha for bosh</p></div> <p>CAPTCHA in ejabberd is only used when joining a MUC room tha is configured to require CAPTCHA</p> Sun, 05 Sep 2010 22:06:24 +0000 mfoss comment 56598 at https://www.ejabberd.im k, after a bit more reading i https://www.ejabberd.im/node/4260#comment-56596 <p>k, after a bit more reading i discovered that this was the built in captcha for bosh<br /> now i just need to figure out how to disable it :)</p> Sun, 05 Sep 2010 18:27:07 +0000 xukster comment 56596 at https://www.ejabberd.im