[Standards] updated STUN discovery proposal

Evgeniy Khramtsov xramtsov at gmail.com
Wed May 2 11:26:24 UTC 2007


Peter Saint-Andre пишет:

> Well, we can't "demand" that STUN servers share private keys with XMPP 
> servers either. :)

True, we can't demand anything from STUN server developers. Actually, 
the easiest solution is just to implement STUN/TURN support in the XMPP 
server and forget about all these interactions :)

>
>> Thus, we can use a JID as a USERNAME and the Private Key as an 
>> "anotherprivatekey" in the example above. Then we can transfer 
>> computed password to the client in the disco/pubsub stanza. 
>
>
> So in that case, the XMPP server hands out the same password to every 
> client?
>
No. The password is the sha1(USERNAME, privatekey) so it differs for all 
clients.




More information about the Standards mailing list