I was wondering if anyone has any experience with connecting to the Google Talk servers using Xiff alongside an encryption package like crypto. From looking at the incoming and outgoing messages it seems like Xiff doesn’t send the correct response. I’ve tried intercepting and sending my own response “” as found here http://www.adarshr.com/papers/xmpp but so far I’ve had no luck.
Output looks like this:
Trace
Deleted - Newer code below
Any help will greatly appreciated!
On having a deeper look at things I found a patch on this forum for TLS in XIFF and now the output looks like this:
Trace
Outgoing
Incoming
<?xml version="1.0" encoding="UTF-8"?>Outgoing
Incoming
stream:featuresX-GOOGLE-TOKEN</stream:features>
Outgoing
Incoming
stream:error<str:text xmlns:str=“urn:ietf:params:xml:ns:xmpp-streams”>Set the ‘to’ attribute of stream element to the domain part of the user’s JID. Example: to=‘gmail.com’.</str:text></stream:error>
CONNECTION ERROR
Code: 502
Message: Remote Server Error
Incoming
</stream:stream>
``
``
``
``