[jdev] SOCKS5 Bytestream initiation between chat users in Semi-Anonymous room

Daniel Atallah datallah at pidgin.im
Fri Jun 13 20:35:51 CDT 2008


Greetings,

I'm trying to figure out how it might be possible to successfully
initiate a SOCKS5 bytestream (XEP-0065)  between two users in a
Semi-Anonymous chat room (XEP-0045).

The issue that I'm running into is that because the real JID of the
initiator is different than the JID the target is seeing (and vice
versa), the DST.ADDR hashes generated by the sender and recipient
don't match and consequently the SOCKS5 connection initiation must
fai.

Neither party knows how their JID is being presented to the other side
and the hash requires both parties to know both JIDs (DST.ADDR = SHA1
Hash of: (SID + Initiator JID + Target JID)), so, I don't see a way to
handle this correctly.

Am I missing something, or is this a gap in functionality?

Thanks,
Daniel



More information about the JDev mailing list