[Standards] XEP-0115, 1.3pre2

Richard Dobson richard at dobson-i.net
Tue Apr 3 03:47:43 CDT 2007


> Just few ideas:
>
> In the Server optimizations :
> Could the server also cache reply to disco on some node ?
> And the server would reply himself to the disco with known node, without 
> routing the discovery <iq/> to the contact.
> I guess this would also eliminate lot of traffic (i guess more than removing 
> the caps from presences) (but i have not collected numbers)
> Also the server would do the security check to eliminate poison client
>
> About the security issue, what about using hashes ?
>
> <presence>
>   <c xmlns='http://jabber.org/protocol/caps'
>      node='http://exodus.jabberstudio.org/caps'
>      ver='0.9'  ext='foo bar'>
>     <hash xmlns='http://jabber.org/protocol/caps#security'>
> 	** base64 hash of the concatenation of all nodes **
>     </hash>
>   </c>
> </presence>
>   
Im not sure if hashes are really required, surely the server can just 
compare the results from several different sources and use the most 
common one as the real one.
> And last question:  Why is this protocol REQUIRED in the "XMPP Basic Client 
> 2008" ?   While it's a good protocol to have less traffic, basic clients 
> should not require them IMO, because everything works well without it. maybe 
> just RECOMMANDED
>   
No it should definitely be required, its a nice basic protocol and can 
significantly reduce bandwidth usage, what is the actual reason you 
don't want it there?

Richard




More information about the Standards mailing list