From 67be001a36e07561f4a024623e8c8155ced5da69 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Tue, 22 May 2007 15:00:26 +0000 Subject: [PATCH] 0.4 git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@856 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0199.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/xep-0199.xml b/xep-0199.xml index 3bd38ac2..721ec090 100644 --- a/xep-0199.xml +++ b/xep-0199.xml @@ -21,6 +21,12 @@ TO BE ASSIGNED &stpeter; + + 0.4 + 2007-05-21 + psa +

Modified security considerations to ensure coherence of error handling between client and server.

+
0.3 2007-05-07 @@ -55,7 +61,7 @@

The XMPP ping protocol is extremely simple:

  1. The pinging entity sends an IQ-get containing a <ping/> element qualified by the 'http://www.xmpp.org/extensions/xep-0199.html#ns' namespace &NSNOTE;.
  2. -
  3. The pinged entity returns either an IQ-result (if it supports the namespace) or an IQ-error (if it does not). (See the Security Considerations regarding leaks of presence information in the context of pings sent to clients.)
  4. +
  5. The pinged entity returns either an IQ-result (if it supports the namespace) or an IQ-error (if it does not).
@@ -195,7 +201,7 @@ @@ -214,7 +220,7 @@ ]]> -

A pinged entity MAY ignore the IQ (i.e., return neither a result nor an error) if doing so would reveal its presence (network availability) information to an entity that is not authorized to view that information; this mainly applies to pings sent to clients (where the response would reveal client availability) but may apply to other entities as well.

+

If a server receives a ping request directed to a full JID (&FULLJID;) associated with a registered account but there is no connected resource matching the 'to' address, it MUST reply with a &unavailable; error and set the 'from' address of the IQ-error to the full JID provided in the 'to' address of the ping request. 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 &unavailable; error. This consistency between the server response and the client response helps to prevent presence leaks.