[jdev] Re: Google and jabber

Alexander Gnauck gnauck at ag-software.de
Wed Aug 24 03:20:52 CDT 2005


hi guys,

below is my log from exodus. There is no problem to login with 
SASL-PLAIN. They only seem to use no srv records. You you have to set 
the connet server manual to talk.google.com

when somebody is interested i can also post some socket debug of the 
original google client. They use no SSL or TLS :(

Alex

SENT: <presence type="unavailable"/>
RECV: SSL status: "SSL negotiation finished successfully"
RECV:
Using specified Host/Port: 64.233.167.125  5222
SENT: <stream:stream to="gmail.com" xmlns="jabber:client" 
xmlns:stream="http://etherx.jabber.org/streams"  xml:lang="de" 
version="1.0" >
RECV: <?xml version="1.0" encoding="UTF-8"?><stream:stream 
from="gmail.com" id="E5E74C55" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" 
xmlns="jabber:client"><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>
SENT: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
RECV: SSL status: "before/connect initialization"
RECV: SSL status: "before/connect initialization"
RECV: SSL status: "SSLv3 write client hello A"
RECV: SSL status: "SSLv3 read server hello A"
RECV: SSL status: "SSLv3 read server certificate A"
RECV: SSL status: "SSLv3 read server key exchange A"
RECV: SSL status: "SSLv3 read server done A"
RECV: SSL status: "SSLv3 write client key exchange A"
RECV: SSL status: "SSLv3 write change cipher spec A"
RECV: SSL status: "SSLv3 write finished A"
RECV: SSL status: "SSLv3 flush data"
RECV: SSL status: "SSLv3 read finished A"
RECV: SSL status: "SSL negotiation finished successfully"
RECV: SSL status: "SSL negotiation finished successfully"
RECV: Cipher: name = EDH-RSA-DES-CBC3-SHA; description = 
EDH-RSA-DES-CBC3-SHA    SSLv3 Kx=DH       Au=RSA  Enc=3DES(168) Mac=SHA1
; bits = 168; version = TLSv1/SSLv3;
SENT: <stream:stream to="gmail.com" xmlns="jabber:client" 
xmlns:stream="http://etherx.jabber.org/streams" version="1.0" >
RECV: <?xml version="1.0" encoding="UTF-8"?><stream:stream 
from="gmail.com" id="E5E74C56" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" 
xmlns="jabber:client"><stream:features><mechanisms 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>
SENT: <auth mechanism="PLAIN" 
xmlns="urn:ietf:params:xml:ns:xmpp-sasl">Z25hdWNrQGdtYWlsLmNvbQBnbmF1Y2sAbm9uZ2lt</auth>
RECV: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
SENT: <stream:stream to="gmail.com" xmlns="jabber:client" 
xmlns:stream="http://etherx.jabber.org/streams" version="1.0" >
RECV: <?xml version="1.0" encoding="UTF-8"?><stream:stream 
from="gmail.com" id="E5E74C58" version="1.0" 
xmlns:stream="http://etherx.jabber.org/streams" 
xmlns="jabber:client"><stream:features><bind 
xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session 
xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
SENT: <iq id="jcl_14" type="set"><bind 
xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>Exodus</resource></bind></iq>
RECV: <iq id="jcl_14" type="result"><bind 
xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>gnauck at gmail.com/ExodusE5E74C59</jid></bind></iq>
SENT: <iq id="jcl_15" type="set"><session 
xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq>
RECV: <iq type="result" id="jcl_15"/>
SENT: <iq id="jcl_16" type="get"><query xmlns="jabber:iq:roster"/></iq>
SENT: <iq id="jcl_17" type="get"><query 
xmlns="jabber:iq:private"><storage xmlns="storage:bookmarks"/></query></iq>
SENT: <iq id="jcl_18" to="gmail.com" type="get"><query 
xmlns="http://jabber.org/protocol/disco#info"/></iq>
SENT: <presence><c node="http://exodus.jabberstudio.org/caps" 
ver="0.9.1.0" 
xmlns="http://jabber.org/protocol/caps"/><status>Available</status><priority>1</priority></presence>
SENT: <iq id="jcl_19" type="get"><query 
xmlns="jabber:iq:private"><storage xmlns="storage:imprefs"/></query></iq>
AUTOUPDATE. Last = 03.04.2005 07:09:45
RECV: <iq to="gnauck at gmail.com/ExodusE5E74C59" id="jcl_16" 
type="result"><query xmlns="jabber:iq:roster"><item 
jid="gnauck at myjabber.net" subscription="none" ask="subscribe"/></query></iq>
AUTOUPDATE: Rounded = 03.04.2005 07:09:45
RECV: <iq id="jcl_17" type="error" 
to="gnauck at gmail.com/ExodusE5E74C59"><query 
xmlns="jabber:iq:private"><storage 
xmlns="storage:bookmarks"/></query><error code="501" 
type="cancel"><feature-not-implemented 
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
RECV: <presence from="gnauck at gmail.com/Talk.v64E5E78319" 
to="gnauck at gmail.com/ExodusE5E74C59"><status/><priority>0</priority><c 
node="http://www.google.com/xmpp/client/caps" ver="1.0.0.64" 
ext="voice-v1" xmlns="http://jabber.org/protocol/caps"/><x 
stamp="20050824T07:20:14" xmlns="jabber:x:delay"/></presence>
RECV: <iq id="jcl_19" type="error" 
to="gnauck at gmail.com/ExodusE5E74C59"><query 
xmlns="jabber:iq:private"><storage 
xmlns="storage:imprefs"/></query><error code="501" 
type="cancel"><feature-not-implemented 
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
RECV: <iq id="jcl_18" to="gnauck at gmail.com/ExodusE5E74C59" type="error" 
from="gmail.com"><query 
xmlns="http://jabber.org/protocol/disco#info"/><error code="503" 
type="cancel"><service-unavailable 
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
SENT: <iq id="jcl_20" to="gmail.com" type="get"><query 
xmlns="jabber:iq:browse"/></iq>
RECV: <iq id="jcl_20" to="gnauck at gmail.com/ExodusE5E74C59" type="error" 
from="gmail.com"><query xmlns="jabber:iq:browse"/><error code="503" 
type="cancel"><service-unavailable 
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
SENT: <iq id="jcl_21" to="gmail.com" type="get"><query 
xmlns="jabber:iq:agents"/></iq>
RECV: <iq id="jcl_21" to="gnauck at gmail.com/ExodusE5E74C59" type="error" 
from="gmail.com"><query xmlns="jabber:iq:agents"/><error code="503" 
type="cancel"><service-unavailable 
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
SENT: <presence type="unavailable"/>
RECV: SSL status: "SSL negotiation finished successfully"
RECV:

Alex




More information about the JDev mailing list