Beem fails to authenticate - Wireshark analysis - DIGEST-MD5 protocol error?
I'm running Jabberd2 2.2.8 on Ubuntu Server 10.04 (Lucid). I'm not using the default port for c2s connections. Beem 0.1.4 fails to authenticate. Disabling TLS on the server (and clients) has no effect.
I'm sure the server is ok because my desktop client (Psi) works fine. So I disabled TLS on the server and did a little work with tcpdump and Wireshark.
There are two main differences between the Psi and Beem conversations. Firstly, Psi opens with '<?xml version="1.0"?>'. Beem leaves this out, but I don't think it is important.
Both clients select DIGEST-MD5 authentication. This appears to involve two challenge-response pairs of stanzas. For both clients, the first challenge-response pair looks good. The second challenge-response pair looks like the problem.
Psi responds to the second challenge with:
The server returns a 'success' stanza. Beem responds with:
The server returns a 'failure' stanza. You see the difference? An '=' symbol.
I hope this helps as I would like to try Beem. At the moment I'm stuck with Jabiru which won't stay connected. :/
I attach the conversations with the server as text.
Adam J Richardson
Updated by Frédéric Barthéléry almost 11 years ago
- Status changed from New to Assigned
- Assignee set to Frédéric Barthéléry
- Target version set to 0.1.5
Thank you for reporting this issue.
This is a little bug in the smack library. It should be resolved soon and you will be able to test Beem finally :)