1 Aug 18:55
Psi and MUC problem
From: Grégoire Menuel <omega1@...>
Subject: Psi and MUC problem
Newsgroups: gmane.network.jabber.psi.devel
Date: 2008-08-01 16:58:37 GMT
Subject: Psi and MUC problem
Newsgroups: gmane.network.jabber.psi.devel
Date: 2008-08-01 16:58:37 GMT
Hi folks ! Today I've encountered a relatively severe bug using psi and a MUC room (specifically mu-conference, but I've tested with ejabberd's mod_muc and the same problem occurs). This bug allow anyone to kick every psi user of a room (tested with psi-0.11 and psi-svn from yesterday). The principe is simple, just send a buggy encrypted message to a MUC room and every psi user will just happen to leave the room. The problem is that Psi sends an error when it can't decode an encrypted message (not-acceptable), and the MUC kick a user when it receives an error message from this user. I'm not sure if the problem is on the Psi side (the XEP-0027 doesn't say to send an error back when the client can't decrypt a message), or on the MUC implementations side (the XEP-0045 says "A MUC service SHOULD remove a user if the service receives a delivery-related error in relation to a stanza it has previously sent to the user (remote server unreachable, user not found, etc.).", but does an not-acceptable error can be considered as a delivery-related error ?). Regards, -- -- Grégoire Menuel xmpp:omega@... GPG: 1024D/D3BF3B20
RSS Feed