[Standards] Query of XEP for PING
uolevi at gmail.com
Fri May 23 07:13:03 UTC 2014
Does this depend on your security and other policies? For example, you
might want allow your server to reply only to its own clients, your
client to reply only to its contacts (in certain domain, with certain
presence subscription status, etc.) or only server-to-server pings.
2014-05-23 7:24 GMT+03:00 priya v <pria.v03 at gmail.com>:
> Presence of buddy itself is indicative of network availability. Is my
> understanding right? If yes, then is ping required to determine network
> Also, does this mean XMPP server should allow pings only between buddies?
> On 22-May-2014 6:07 PM, "Dave Cridland" <dave at cridland.net> wrote:
>> On 22 May 2014 08:03, priya v <pria.v03 at gmail.com> wrote:
>>> Security Considerations under XEP for PING (XEP-0199) states this -
>>> "If a connected resource receives a ping request but it does not want to
>>> reveal its network availability to the sender for any reason (e.g., because
>>> the sender is not authorized to know the connected resource's availability),
>>> then it too MUST reply with a <service-unavailable/> error."
>>> How does one determine if the sender is authorized or not authorized to
>>> know the connected resources's availability?
>> The presence subscription state (ie, in the roster) would tell you this.
More information about the Standards