[ejabberd] Libjingle / Myjingle - ejabberd compatibility

f.m.gomes at controlrede.com f.m.gomes at controlrede.com
Sun Mar 19 20:49:40 MSK 2006


I'm trying to run MyJingle (http://www.bluehands.de/software/beat/myjingle/) 
clients connecting to my ejabberd server (1.0.0 on windows), and it doesn't 
work.
I've enabled starttls mode, created a certificate, I can use the ejabberd 
server with starttls from other clients (exodus for example), but not with 
MyJingle. This is the log I have with MyJingle connecting to ejabberd 
server:


Out XML: <stream:stream to="athlon18" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
INFO:  logging in
In XML: <?xml version='1.0'?><stream:stream xmlns='jabber:client' 
xmlns:stream='http://etherx.jabber.org/streams' id='1143044799' 
from='athlon18' version='1.0' xml:lang='en'>
In XML: <stream:features><starttls 
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms 
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms><register 
xmlns='http://jabber.org/features/iq-register'/></stream:features>
Out XML: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
In XML: <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
Out XML: <stream:stream to="athlon18" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">


This is the log I have connecting to google server:

Out XML: <stream:stream to="gmail.com" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
INFO:  logging in
In XML: <?xml version="1.0" encoding="UTF-8"?><stream:stream 
from="gmail.com" id="FAF92003052FD170" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
In XML: <stream:features><starttls 
xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>
Out XML: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
In XML: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
Out XML: <stream:stream to="gmail.com" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
In XML: <?xml version="1.0" encoding="UTF-8"?><stream:stream 
from="gmail.com" id="463A4E6AF4776BB8" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
In XML: <stream:features><mechanisms 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>
Out XML: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" 
mechanism="PLAIN">AGYubS5nb21lc0BnbWFpbC5jb20AcnVpbWlndWVs</auth>
In XML: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
Out XML: <stream:stream to="gmail.com" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
In XML: <?xml version="1.0" encoding="UTF-8"?><stream:stream 
from="gmail.com" id="E42A5937F733A0AF" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
In XML: <stream:features><bind 
xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session 
xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
Out XML: <iq type="set" id="0"><bind 
xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></iq>
In XML: <iq id="0" type="result"><bind 
xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>f.m.gomes at gmail.com/835E6853</jid></bind></iq>
Out XML: <iq type="set" id="1"><session 
xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>
In XML: <iq type="result" id="1"/>
INFO:  logged in
Out XML: <presence><status/><priority>0</priority><c 
xmlns="http://jabber.org/protocol/caps" 
node="http://www.google.com/xmpp/client/caps" ver="1.0.0.66" 
ext="voice-v1"/><x xmlns="jabber:x:delay" 
stamp="20060319T17:26:43"/></presence>
In XML: <presence from="y at gmail.com/Talk.v86B5113164" 
to="x at gmail.com/835E6853"><priority>0</priority><c 
node="http://www.google.com/xmpp/client/caps" ver="1.0.0.86" ext="voice-v1" 
xmlns="http://jabber.org/protocol/caps"/><x stamp="20060319T17:10:08" 
xmlns="jabber:x:delay"/><status>£££â,¬â,¬â,¬â,¬Â§Â§Â£â,¬@__tou__aki__/*-++!""#$$&amp;</status></presence>
INFO: y at gmail.com/Talk.v86B5113164 added to roster

Is it possible to use MyJingle with ejabberd? The login to google is done 
using google token (see <mechanism> in the login sequence). MyJingle should 
support both google token and normal password (at least this is what they 
say about V 0.2).

Any tip about the correct configuration for the server? Anything else should 
be changed?

Thanks

Fernando



More information about the ejabberd mailing list