This document specifies a protocol for reporting unsolicited bulk instant messaging (SPIM) over XMPP.
WARNING: Consideration of this JEP has been Deferred by the Jabber Software Foundation. Implementation of the protocol described herein is not recommended.
Status: Deferred
Type: Standards Track
Number: 0161
Version: 0.1
Last Updated: 2005-10-19
JIG: Standards JIG
Approving Body: Jabber Council
Dependencies: XMPP Core, XMPP IM, JEP-0030
Supersedes: None
Superseded By: None
Short Name: spimreport
Wiki Page: <http://wiki.jabber.org/index.php/SPIM Reporting (JEP-0161)>
Email:
stpeter@jabber.org
JID:
stpeter@jabber.org
This Jabber Enhancement Proposal is copyright 1999 - 2006 by the Jabber Software Foundation (JSF) and is in full conformance with the JSF's Intellectual Property Rights Policy <http://www.jabber.org/jsf/ipr-policy.shtml>. This material may be distributed only subject to the terms and conditions set forth in the Creative Commons Attribution License (<http://creativecommons.org/licenses/by/2.5/>).
The preferred venue for discussion of this document is the Standards-JIG discussion list: <http://mail.jabber.org/mailman/listinfo/standards-jig>.
The Extensible Messaging and Presence Protocol (XMPP) is defined in the XMPP Core (RFC 3920) and XMPP IM (RFC 3921) specifications contributed by the Jabber Software Foundation to the Internet Standards Process, which is managed by the Internet Engineering Task Force in accordance with RFC 2026. Any protocol defined in this JEP has been developed outside the Internet Standards Process and is to be understood as an extension to XMPP rather than as an evolution, development, or modification of XMPP itself.
The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
Unsolicited bulk email, commonly called "spam", is a widespread problem on today's email network. We want to make sure that unsolicited bulk instant messaging, commonly called "SPIM" (short for "spam over IM"), does not become a widespread problem on the XMPP instant messaging network. To that end, this document specifies a protocol for reporting particular instances of SPIM.
The protocol for SPIM reporting is quite simple: wrap the complete SPIM stanza in a <spim/> element qualified by the 'http://jabber.org/protocol/spimreport' namespace and send an IQ stanza of type "set" to the entity that shall receive the report. This protocol SHOULD be used by recipients of SPIM stanzas and by other entities (e.g., servers or services) that wish to pass around SPIM reports. The following is an example:
<presence from='makemoney@spimmersheaven.info/bot' to='unsuspectinguser@example.net' type='subscribe'> <status> You too can be rich! Find out how at http://spimmersheaven.info/makemoney Let's chat to make your dreams come true! </status> </presence>
<iq from='unsuspectinguser@example.net' to='example.net' type='set' id='report1'> <spim xmlns='http://jabber.org/protocol/spimreport'> <presence from='makemoney@spimmersheaven.info/bot' to='unsuspectinguser@example.net' type='subscribe' xmlns='jabber:client'> <status> You too can be rich! Find out how at http://spimmersheaven.info/makemoney Let's chat to make your dreams come true! </status> </presence> </spim> </iq>
If the entity that receives the report does not support the SPIM reporting protocol, it MUST return a <service-unavailable/> error to the reporting entity:
<iq from='example.net' to='unsuspectinguser@example.net' type='error' id='report1'> <spim xmlns='http://jabber.org/protocol/spimreport'> <presence from='makemoney@spimmersheaven.info/bot' to='unsuspectinguser@example.net' type='subscribe' xmlns='jabber:client'> <status> You too can be rich! Find out how at http://spimmersheaven.info/makemoney Let's chat to make your dreams come true! </status> </presence> </spim> <error code='503' type='cancel'> <service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> </iq>
If the entity that receives the report is able to process the report, it MUST return an IQ-result to the reporting entity:
<iq from='example.net' to='unsuspectinguser@example.net' type='result' id='report1'/>
If an entity that processes SPIM reports determines that the suspected spimmer is indeed an actual spimmer, it SHOULD report its conclusions to appropriate other entities (e.g., the spimmer's server or dedicated SPIM reporting services). Here again, the protocol is quite simple: wrap the spimmer's JID in a <spimmer/> element qualified by the 'http://jabber.org/protocol/spimreport' namespace and send an IQ stanza of type "set" to the entity that shall receive the report. This protocol SHOULD NOT be used by recipients of SPIM stanzas. The following is an example:
<iq from='example.net' to='spim.xmpp.net' type='set' id='spimmer1'> <spimmer xmlns='http://jabber.org/protocol/spimreport'>makemoney@spimmersheaven.info</spimmer> </iq>
The following rules and guidelines apply to the act of reporting SPIM.
The following rules and guidelines apply to initial processing of a SPIM report.
Not all SPIM reports are valid, and not all JIDs that send stanzas reported as SPIM are spimmers. Care must be taken in correctly determining if a suspected spimmer is an actual spimmer. The following rules apply:
The processor SHOULD NOT add a suspected spimmer to its list of known spimmers until it has received at least three (3) valid SPIM reports with regard to that suspected spimmer.
If the processor determines that the suspected spimmer is an actual spimmer, the processor:
In order to discover whether another entity supports SPIM reporting, Service Discovery [2] SHOULD be used. If an entity supports SPIM reporting, it MUST return a feature of "http://jabber.org/protocol/spimreport" in responses to service discovery information requests, as shown in the following examples:
<iq from='unsuspectinguser@example.net' to='example.net' type='get' id='disco1'> <query xmlns='http://jabber.org/protocol/disco#info'/> </iq>
<iq from='example.net' to='unsuspectinguser@example.net' type='result' id='disco1'> <query xmlns='http://jabber.org/protocol/disco#info'> ... <feature var='http://jabber.org/protocol/spimreport'/> ... </query> </iq>
To follow.
This proposal requires no interaction with the Internet Assigned Numbers Authority (IANA) [3].
The Jabber Registrar [4] shall add 'http://jabber.org/protocol/spimreport' to its registry of protocol namespaces.
To follow.
1. JEP-0158: Robot Challenges <http://www.jabber.org/jeps/jep-0158.html>.
2. JEP-0030: Service Discovery <http://www.jabber.org/jeps/jep-0030.html>.
3. The Internet Assigned Numbers Authority (IANA) is the central coordinator for the assignment of unique parameter values for Internet protocols, such as port numbers and URI schemes. For further information, see <http://www.iana.org/>.
4. The Jabber Registrar maintains a list of reserved Jabber protocol namespaces as well as registries of parameters used in the context of protocols approved by the Jabber Software Foundation. For further information, see <http://www.jabber.org/registrar/>.
END