[jdev] XEP-0100 and roster/legacy contact list sync

Pedro Melo melo at co.sapo.pt
Wed Dec 5 01:41:36 CST 2007


On Dec 5, 2007, at 3:45 AM, Peter Saint-Andre wrote:

> Richard Dobson wrote:
>> Tomasz Sterna wrote:
>>>
>>> So this is basically the same idea I got and proposed here:
>>> http://jabberd2.xiaoka.com/wiki/ComponentProtocol#Enchancements ?
>>>
>>
>> Almost, mine isn't tied to the component protocol, its just a normal
>> thing that works over S2S links as well as internally within the  
>> server,
>> its hardly revolutionary though, its just reusing things we  
>> already have
>> for a wider variety of uses.
>
> Except that how do you know someone is not trying to poison your  
> roster?
> We talk about this in both RFC 3921 and rfc3921bis. For example you  
> can

Well, the remote transport gw.remote.dom will send roster pushes to  
me at local.dom. So my server gets those.

It would then check my roster to see if I have an item for  
gw.remote.dom. If yes, then it would rewrite the roster push from as  
local.dom.

Should work.

You might want to check the roster item jid to make sure it matches  
the gw.remote.dom, though.

Best regards,
-- 
HIId: Pedro Melo
SMTP: melo at co.sapo.pt
XMPP: pedro.melo at sapo.pt





More information about the JDev mailing list