[jdev] Server rules for handling subscriptions for non-existent users

Vinod Panicker vinod.p at gmail.com
Wed Feb 1 03:56:34 CST 2006


On 2/1/06, Ralph Meijer <jabber.org at ralphm.ik.nu> wrote:
> On Wed, Feb 01, 2006 at 12:54:45PM +0530, Vinod Panicker wrote:
> > Hi,
> >
> > It seems that server behaviour for handling presence subscribe stanzas
> > to non-existent users is undefined in the RFC.  IMO, it should be
> > silently dropped.
>
> RFC 3921 (XMPP IM), section 11.1, rule 2.
>
> > Also, what about roster set for non-existent users?  If the server
> > returns an error, it would give away existing account information.
>
> No entity can do a roster set on another account, as a server must
> disregard the 'to' attribute on the <iq/> sent be the client. This is
> described in section 7.2.

Thanks.  I meant something else by the second question, but section
11.1 rule 2 satisfies that as well :)

Thanks,
Vinod.



More information about the JDev mailing list