[jdev] ruby xmppd, and Psi

Eric Will rakaur at malkier.net
Wed Sep 17 16:22:33 CDT 2008


Hello World,
A couple of years ago I started writing an XMPP daemon in Ruby. Long story
short, I stopped working on it. Well, I've started again.

Going through the new drafts, I was making some changes and implementing
SASL PLAIN. I got that working, then decided to test it with something other
than Gajim.

That didn't go so well. First off, Ruby's REXML library doesn't like that
Psi "re"defines xmlns:xml in the opening stream. Also, it fails on SASL
DIGEST-MD5. The first challenge reponse is wrong. This isn't my fault,
because it works with Gajim and Digsby. It's not Psi's fault, because Psi
obviously works fine with other servers. I can't figure out what's going on
here.

When I switch to offering "PLAIN" alone, Gajim and Digsby work, and Psi
works unless I do what the new draft says, which is <success
blah>=</success>. Psi rejects that, and none of the others care, so for now
I just have it with <success blah/>.

So all of them work on PLAIN, and everything but Psi work with DIGEST-MD5.

Anyone have any clues?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20080917/ad0ab73a/attachment-0002.htm>


More information about the JDev mailing list