Browse Source

Convert line endings to Unix style

Sam Whited 2 years ago
parent
commit
c375dc412a
9 changed files with 944 additions and 944 deletions
  1. 708
    708
      inbox/rest.xml
  2. 229
    229
      inbox/userrating.xml
  3. 1
    1
      xep-0323.xml
  4. 1
    1
      xep-0324.xml
  5. 1
    1
      xep-0325.xml
  6. 1
    1
      xep-0331.xml
  7. 1
    1
      xep-0332.xml
  8. 1
    1
      xep-0347.xml
  9. 1
    1
      xep-0348.xml

+ 708
- 708
inbox/rest.xml
File diff suppressed because it is too large
View File


+ 229
- 229
inbox/userrating.xml View File

@@ -1,229 +1,229 @@
1
-<?xml version='1.0' encoding='UTF-8'?>
2
-<!DOCTYPE xep SYSTEM 'xep.dtd' [
3
-<!ENTITY % ents SYSTEM 'xep.ent'>
4
-%ents;
5
-]>
6
-<?xml-stylesheet type='text/xsl' href='xep.xsl'?>
7
-<xep>
8
-  <header>
9
-    <title>User Rating</title>
10
-    <abstract>This specification provides for the rating element.</abstract>
11
-    <legal>
12
-      <copyright>This XMPP Extension Protocol is copyright (c) 1999 - 2014 by the XMPP Standards Foundation (XSF).</copyright>
13
-      <permissions>Permission is hereby granted, free of charge, to any person obtaining a copy of this specification (the &quot;Specification&quot;), to make use of the Specification without restriction, including without limitation the rights to implement the Specification in a software program, deploy the Specification in a network service, and copy, modify, merge, publish, translate, distribute, sublicense, or sell copies of the Specification, and to permit persons to whom the Specification is furnished to do so, subject to the condition that the foregoing copyright notice and this permission notice shall be included in all copies or substantial portions of the Specification. Unless separate permission is granted, modified works that are redistributed shall not contain misleading information regarding the authors, title, number, or publisher of the Specification, and shall not claim endorsement of the modified works by the authors, any organization or project to which the authors belong, or the XMPP Standards Foundation.</permissions>
14
-      <warranty>## NOTE WELL: This Specification is provided on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. In no event shall the XMPP Standards Foundation or the authors of this Specification be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the Specification or the implementation, deployment, or other use of the Specification. ##</warranty>
15
-      <liability>In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall the XMPP Standards Foundation or any author of this Specification be liable for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising out of the use or inability to use the Specification (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if the XMPP Standards Foundation or such author has been advised of the possibility of such damages.</liability>
16
-      <conformance>This XMPP Extension Protocol has been contributed in full conformance with the XSF's Intellectual Property Rights Policy (a copy of which may be found at &lt;<link url='http://xmpp.org/extensions/ipr-policy.shtml'>http://xmpp.org/extensions/ipr-policy.shtml</link>&gt; or obtained by writing to XSF, P.O. Box 1641, Denver, CO 80201 USA).</conformance>
17
-    </legal>
18
-    <number>xxxx</number>
19
-    <status>ProtoXEP</status>
20
-    <type>Standards Track</type>
21
-    <sig>Standards</sig>
22
-    <approver>Council</approver>
23
-    <dependencies>
24
-      <spec>XMPP Core</spec>
25
-    </dependencies>
26
-    <supersedes/>
27
-    <supersededby/>
28
-    <shortname>NOT_YET_ASSIGNED</shortname>
29
-    <author>
30
-      <firstname>Daniel</firstname>
31
-      <surname>Wisnewski</surname>
32
-      <email>daniel.wisnewski@tigase.org</email>
33
-      <jid>daniel@tigase.org</jid>
34
-    </author>
35
-    <revision>
36
-      <version>0.0.1</version>
37
-      <date>2016-05-21</date>
38
-      <initials>dsw</initials>
39
-      <remark><p>First draft.</p></remark>
40
-    </revision>
41
-  </header>
42
-  <section1 topic='Introduction' anchor='intro'>
43
-    <p>With the growing prevalence of XMPP communications, it is no longer safe to assume that XMPP will be free of spammers and nuisance users due to its obscurity.  To that effect, this protocols aim is to create a user rating that can be used to hinder unnecessary communication within servers.  While there have been several attempts to curb spam within servers, they have targeted the specific messages that may be labeled as spam, or relied on blocking policies.  This approach singles out the JID of the user to (hopefully) remove their access to the server.</p>
44
-  </section1>
45
-  <section1 topic='Requirements' anchor='reqs'>
46
-    <p>XMPP Core, not known at this point.</p>
47
-  </section1>
48
-  <section1 topic='Glossary' anchor='glossary'>
49
-    <p>A user rating is an integer value assigned to a user’s bare JID to aid servers in determining JIDs that are predisposed to spam or offensive messages.  The User Rating allows servers to determine appropriate actions from limiting stanza sending, to kicking or banning of the JID from the server.  The rating, once implemented can be used in automated and user-based environments to curb abusive users.
50
-      <![CDATA[The introduction of a <rating/> element should be attached to a bare JID and should contain a float.
51
-      <rating>0.0</rating>]]>
52
-      Would indicate the user is behaving normally, and is not suspected of sending spam.  Where a user who has achieved a rating of the following:
53
-      <![CDATA[<rating>1.0</rating> would be kicked from the server, for example.
54
-      <reportjid/> is the JID of the user to be reported for spam or abuse. ]]> </p>
55
-  </section1>
56
-  <section1 topic='Use Cases' anchor='usecases'>
57
-    <section2 topic='Retrieving rating' anchor='retrieverating'>
58
-      A user may obtain their own rating by sending an IQ-get with no to address and an element qualified by the ‘rating’ namespace.
59
-      <example caption='Rating retrieval request'><![CDATA[
60
-        <iq from=’romeo@montague.net’
61
-          id=’aa1a’
62
-          type=’get’>
63
-          <query xmlns=’rating’ />
64
-        </iq>
65
-        ]]></example>
66
-      The server should return an IQ result stanza with <rating/> element:
67
-      <example caption='Server Response'><![CDATA[
68
-        <iq type=’result’ to=’romeo@montague.net’
69
-          id=’aa1a’
70
-          type=’result’>
71
-          <query xmlns=’rating’ />
72
-          <rating>0.1</rating>
73
-        </query>
74
-      </iq>
75
-      ]]></example>
76
-  </section2>
77
-  <section3 topic='User-moderated server' anchor='usermodserver'>
78
-    In installations that run as chat servers, moderation of spam users can be delivered to online users and administrators.  Users receiving spam from a bare JID can send an IQ stanza to the server that increases the user rating.
79
-    <example caption='Reporting Spam/Abuse'><![CDATA[
80
-      <iq type=’set’
81
-        from=’romeo@montague.net’
82
-        to=’shakespeare.lit’
83
-        id=’report1’>
84
-        <rating xmlns=’urnm:xmpp:abuse:1’>
85
-          <reported-jid>mercutio@shakespeare.lit</reported-jid>
86
-        </rating>
87
-      </iq>]]>
88
-    </example>
89
-    <p>
90
-      To report abuse, an IQ stanza must be sent with the set type including the
91
-      repored-jid element.  If montague.net happens to a local vhost server, then it
92
-      will be processed by that server.  However, this stanza would be sent directly
93
-      to montague.net with the rating payload.
94
-    </p>
95
-    <example caption='Success of reported response'><![CDATA[
96
-      <iq type=’result’ to=’romeo@montague.net’ id=’report1’ />
97
-      ]]></example>
98
-    <p>Server sends a result IQ to confirm receipt of the report.</p>
99
-    <p>
100
-      Servers should notify a user JID that they have been reported, however the
101
-      identity of the reporter MUST remain anonymous, therefore the message
102
-      should be sent from the server itself.
103
-    </p>
104
-    <example caption='User receives abuse report'>
105
-      <![CDATA[<message to=’mercutio@shakespeare.lit’ id=’warning’ type=’headline’>
106
-        <body>Your actions have been reported as spam, and your rating has been increased.</body>
107
-      </message>]]>
108
-    </example>
109
-    <p>Server should return a not supported stanza if rating is not supported.</p>
110
-    <example caption='Feature-Not-Implemented Result'>
111
-      <![CDATA[<iq type=’error’ id=’report1’ to=’romeo@montague.net>
112
-        <rating xmlns=’urn:xmpp:abuse’>
113
-          <error type=’cancel’>
114
-            <feature-not-implemented xmlns=’urn:ietf:xml:ns:xmpp-stanzas’/>
115
-          </error>
116
-        </rating>
117
-    </iq>]]></example>
118
-    <p>
119
-      Local server may be programmed to create a &lt;rating/&gt; locally and
120
-      track communications on its own server if this result is returned.
121
-    </p>
122
-    <p>
123
-      Server should return a not found stanza if the JID specified in
124
-      &lt;reported-jid/&gt; is unable to be found:
125
-    </p>
126
-    <example caption='User JID not-found'><![CDATA[
127
-      <iq type=’error’ id=’report1’ to=’romeo@montague.net>
128
-        <rating xmlns=’urn:xmpp:abuse’>
129
-          <error type=’cancel’>
130
-            <item-not-found xmlns=’urn:ietf:xml:ns:xmpp-stanzas’/>
131
-          </error>
132
-        </rating>
133
-      </iq>
134
-      ]]></example>
135
-    <p>A message should be sent to inform user that the JID is not found:</p>
136
-    <example><![CDATA[
137
-      <message to=’romeo@montague.net’ id=’warning’ type=’headline’>
138
-        <body>The reported user JID has not been found on this server.</body>
139
-      </message>
140
-      ]]></example>
141
-    <p>
142
-      Whether the jid is of a local or foreign domain, the montague.net server
143
-      should at this point begin to track the reported jid
144
-      mercutio@shakespeare.lit and a new user rating.
145
-    </p>
146
-    <p>
147
-      JIDs that are critical to server functionality or admins should have a
148
-      permanent <rating/> of -100 to indicate that they are protected.  Should a
149
-      user attempt to report a protected user, the server should send the
150
-      following:
151
-    </p>
152
-    <example caption='User is protected'><![CDATA[
153
-      <iq type=’error’ id=’admin1’ to=’romeo@montague.net>
154
-        <rating xmlns=’urn:xmpp:abuse’>
155
-          <error type=’cancel’>
156
-            <not-allowed xmlns=’urn:ietf:xml:ns:xmpp-stanzas’/>
157
-          </error>
158
-        </rating>
159
-      </iq>
160
-      ]]></example>
161
-    <p>
162
-      The server may report the error with a message to the original user,
163
-      indicating that the selected &lt;reported-jid/&gt; is admin or protected.
164
-    </p>
165
-    <p>
166
-      When a user is found ‘guilty’ of being a spammer using this method the
167
-      server should first deliver a message before action is taken:
168
-    </p>
169
-    <example caption='User reaches &lt;rating/&gt; of 1.0'><![CDATA[
170
-      <message to=’mercutio@montague.net id=’notification’ type=’headline’>
171
-        <body>You have been found to be spamming the montague.net server, please take some time and cool off.</body>
172
-      </message>
173
-      ]]></example>
174
-    <p>
175
-      The server will then conduct appropriate action, either a kick, or an
176
-      outright ban depending on the severity of the offenses, or settings within
177
-      the server.  Actions may be taken using existing XEP-0061 Privacy Lists or
178
-      XEP-0191 Blocking Command, or an internal implementation to prevent
179
-      communication from known spammer accounts.
180
-    </p>
181
-  </section3>
182
-</section1>
183
-<section1 topic='Business Rules' anchor='rules'>
184
-  <p>OPTIONAL.</p>
185
-</section1>
186
-<section1 topic='Implementation Notes' anchor='impl'>
187
-  <p><![CDATA[Although this setup implies an active user base, the <rating/> element may be incorporated into non-human based systems as well.  Unexpected JIDs, or ones that connect externally may be automatically given a high rating, and the server set for a low tolerance of stanzas sent in, allowing for quick and generally automated expulsion of unwanted or abusive JIDs from an automated system.  The <rating/> element does not require a human interaction, instead it can be manipulated by a host server for automated abuse control.
188
-    Depending on a server operator’s level of forgiveness, ratings may be permanent or can normalize to 0 after a period of time.]]></p>
189
-</section1>
190
-<section1 topic='Security Considerations' anchor='security'>
191
-  <p>
192
-    This feature may lend itself to abuse from users who wish to punish or abuse
193
-    another user.  All rating systems should follow two abuse control rules to
194
-    limit abuse potential:
195
-  </p>
196
-  <ol>
197
-    <li>
198
-      No one entity can use the rating system to ban/kick a JID unless they are
199
-      a server administrator.  There must at least two or more JIDs reporting
200
-      spam or abuse to pass the kick or ban threshold.
201
-    </li>
202
-    <li>
203
-      Successive report values on same JID will decrease in weight against a
204
-      user rating, eventually lowering to zero (which then can be marked as
205
-      spam/abuse).   For example: the first &lt;repored-jid/&gt; of
206
-      mercutio@montague.net by Romeo@montague.net increases the rating by 0.1.
207
-      The second from romeo@montague.net the same user is now weighted slightly
208
-      less, by increasing it 0.08.  The third 0.06, fourth 0.04 and so on until
209
-      the weighted value of the report is null.  At this point, it would be
210
-      advisable to notify Romeo that he is abusing the rating system, and will
211
-      begin to increase his own rating by further pushing the issue.
212
-    </li>
213
-    <li>
214
-      Critical or known-user JIDs exempt from rating rules should be set to a
215
-      value such as -100 to indicate that they are exempt from spam control
216
-      measures.
217
-    </li>
218
-  </ol>
219
-</section1>
220
-<section1 topic='IANA Considerations' anchor='iana'>
221
-  <p>This document requires no interaction with the Internet Assigned Numbers Authority (IANA).</p>
222
-</section1>
223
-<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
224
-  <p>None known at this point.</p>
225
-</section1>
226
-<section1 topic='XML Schema' anchor='schema'>
227
-  <p>Not finished at this point.</p>
228
-</section1>
229
-</xep>
1
+<?xml version='1.0' encoding='UTF-8'?>
2
+<!DOCTYPE xep SYSTEM 'xep.dtd' [
3
+<!ENTITY % ents SYSTEM 'xep.ent'>
4
+%ents;
5
+]>
6
+<?xml-stylesheet type='text/xsl' href='xep.xsl'?>
7
+<xep>
8
+  <header>
9
+    <title>User Rating</title>
10
+    <abstract>This specification provides for the rating element.</abstract>
11
+    <legal>
12
+      <copyright>This XMPP Extension Protocol is copyright (c) 1999 - 2014 by the XMPP Standards Foundation (XSF).</copyright>
13
+      <permissions>Permission is hereby granted, free of charge, to any person obtaining a copy of this specification (the &quot;Specification&quot;), to make use of the Specification without restriction, including without limitation the rights to implement the Specification in a software program, deploy the Specification in a network service, and copy, modify, merge, publish, translate, distribute, sublicense, or sell copies of the Specification, and to permit persons to whom the Specification is furnished to do so, subject to the condition that the foregoing copyright notice and this permission notice shall be included in all copies or substantial portions of the Specification. Unless separate permission is granted, modified works that are redistributed shall not contain misleading information regarding the authors, title, number, or publisher of the Specification, and shall not claim endorsement of the modified works by the authors, any organization or project to which the authors belong, or the XMPP Standards Foundation.</permissions>
14
+      <warranty>## NOTE WELL: This Specification is provided on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. In no event shall the XMPP Standards Foundation or the authors of this Specification be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the Specification or the implementation, deployment, or other use of the Specification. ##</warranty>
15
+      <liability>In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall the XMPP Standards Foundation or any author of this Specification be liable for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising out of the use or inability to use the Specification (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if the XMPP Standards Foundation or such author has been advised of the possibility of such damages.</liability>
16
+      <conformance>This XMPP Extension Protocol has been contributed in full conformance with the XSF's Intellectual Property Rights Policy (a copy of which may be found at &lt;<link url='http://xmpp.org/extensions/ipr-policy.shtml'>http://xmpp.org/extensions/ipr-policy.shtml</link>&gt; or obtained by writing to XSF, P.O. Box 1641, Denver, CO 80201 USA).</conformance>
17
+    </legal>
18
+    <number>xxxx</number>
19
+    <status>ProtoXEP</status>
20
+    <type>Standards Track</type>
21
+    <sig>Standards</sig>
22
+    <approver>Council</approver>
23
+    <dependencies>
24
+      <spec>XMPP Core</spec>
25
+    </dependencies>
26
+    <supersedes/>
27
+    <supersededby/>
28
+    <shortname>NOT_YET_ASSIGNED</shortname>
29
+    <author>
30
+      <firstname>Daniel</firstname>
31
+      <surname>Wisnewski</surname>
32
+      <email>daniel.wisnewski@tigase.org</email>
33
+      <jid>daniel@tigase.org</jid>
34
+    </author>
35
+    <revision>
36
+      <version>0.0.1</version>
37
+      <date>2016-05-21</date>
38
+      <initials>dsw</initials>
39
+      <remark><p>First draft.</p></remark>
40
+    </revision>
41
+  </header>
42
+  <section1 topic='Introduction' anchor='intro'>
43
+    <p>With the growing prevalence of XMPP communications, it is no longer safe to assume that XMPP will be free of spammers and nuisance users due to its obscurity.  To that effect, this protocols aim is to create a user rating that can be used to hinder unnecessary communication within servers.  While there have been several attempts to curb spam within servers, they have targeted the specific messages that may be labeled as spam, or relied on blocking policies.  This approach singles out the JID of the user to (hopefully) remove their access to the server.</p>
44
+  </section1>
45
+  <section1 topic='Requirements' anchor='reqs'>
46
+    <p>XMPP Core, not known at this point.</p>
47
+  </section1>
48
+  <section1 topic='Glossary' anchor='glossary'>
49
+    <p>A user rating is an integer value assigned to a user’s bare JID to aid servers in determining JIDs that are predisposed to spam or offensive messages.  The User Rating allows servers to determine appropriate actions from limiting stanza sending, to kicking or banning of the JID from the server.  The rating, once implemented can be used in automated and user-based environments to curb abusive users.
50
+      <![CDATA[The introduction of a <rating/> element should be attached to a bare JID and should contain a float.
51
+      <rating>0.0</rating>]]>
52
+      Would indicate the user is behaving normally, and is not suspected of sending spam.  Where a user who has achieved a rating of the following:
53
+      <![CDATA[<rating>1.0</rating> would be kicked from the server, for example.
54
+      <reportjid/> is the JID of the user to be reported for spam or abuse. ]]> </p>
55
+  </section1>
56
+  <section1 topic='Use Cases' anchor='usecases'>
57
+    <section2 topic='Retrieving rating' anchor='retrieverating'>
58
+      A user may obtain their own rating by sending an IQ-get with no to address and an element qualified by the ‘rating’ namespace.
59
+      <example caption='Rating retrieval request'><![CDATA[
60
+        <iq from=’romeo@montague.net’
61
+          id=’aa1a’
62
+          type=’get’>
63
+          <query xmlns=’rating’ />
64
+        </iq>
65
+        ]]></example>
66
+      The server should return an IQ result stanza with <rating/> element:
67
+      <example caption='Server Response'><![CDATA[
68
+        <iq type=’result’ to=’romeo@montague.net’
69
+          id=’aa1a’
70
+          type=’result’>
71
+          <query xmlns=’rating’ />
72
+          <rating>0.1</rating>
73
+        </query>
74
+      </iq>
75
+      ]]></example>
76
+  </section2>
77
+  <section3 topic='User-moderated server' anchor='usermodserver'>
78
+    In installations that run as chat servers, moderation of spam users can be delivered to online users and administrators.  Users receiving spam from a bare JID can send an IQ stanza to the server that increases the user rating.
79
+    <example caption='Reporting Spam/Abuse'><![CDATA[
80
+      <iq type=’set’
81
+        from=’romeo@montague.net’
82
+        to=’shakespeare.lit’
83
+        id=’report1’>
84
+        <rating xmlns=’urnm:xmpp:abuse:1’>
85
+          <reported-jid>mercutio@shakespeare.lit</reported-jid>
86
+        </rating>
87
+      </iq>]]>
88
+    </example>
89
+    <p>
90
+      To report abuse, an IQ stanza must be sent with the set type including the
91
+      repored-jid element.  If montague.net happens to a local vhost server, then it
92
+      will be processed by that server.  However, this stanza would be sent directly
93
+      to montague.net with the rating payload.
94
+    </p>
95
+    <example caption='Success of reported response'><![CDATA[
96
+      <iq type=’result’ to=’romeo@montague.net’ id=’report1’ />
97
+      ]]></example>
98
+    <p>Server sends a result IQ to confirm receipt of the report.</p>
99
+    <p>
100
+      Servers should notify a user JID that they have been reported, however the
101
+      identity of the reporter MUST remain anonymous, therefore the message
102
+      should be sent from the server itself.
103
+    </p>
104
+    <example caption='User receives abuse report'>
105
+      <![CDATA[<message to=’mercutio@shakespeare.lit’ id=’warning’ type=’headline’>
106
+        <body>Your actions have been reported as spam, and your rating has been increased.</body>
107
+      </message>]]>
108
+    </example>
109
+    <p>Server should return a not supported stanza if rating is not supported.</p>
110
+    <example caption='Feature-Not-Implemented Result'>
111
+      <![CDATA[<iq type=’error’ id=’report1’ to=’romeo@montague.net>
112
+        <rating xmlns=’urn:xmpp:abuse’>
113
+          <error type=’cancel’>
114
+            <feature-not-implemented xmlns=’urn:ietf:xml:ns:xmpp-stanzas’/>
115
+          </error>
116
+        </rating>
117
+    </iq>]]></example>
118
+    <p>
119
+      Local server may be programmed to create a &lt;rating/&gt; locally and
120
+      track communications on its own server if this result is returned.
121
+    </p>
122
+    <p>
123
+      Server should return a not found stanza if the JID specified in
124
+      &lt;reported-jid/&gt; is unable to be found:
125
+    </p>
126
+    <example caption='User JID not-found'><![CDATA[
127
+      <iq type=’error’ id=’report1’ to=’romeo@montague.net>
128
+        <rating xmlns=’urn:xmpp:abuse’>
129
+          <error type=’cancel’>
130
+            <item-not-found xmlns=’urn:ietf:xml:ns:xmpp-stanzas’/>
131
+          </error>
132
+        </rating>
133
+      </iq>
134
+      ]]></example>
135
+    <p>A message should be sent to inform user that the JID is not found:</p>
136
+    <example><![CDATA[
137
+      <message to=’romeo@montague.net’ id=’warning’ type=’headline’>
138
+        <body>The reported user JID has not been found on this server.</body>
139
+      </message>
140
+      ]]></example>
141
+    <p>
142
+      Whether the jid is of a local or foreign domain, the montague.net server
143
+      should at this point begin to track the reported jid
144
+      mercutio@shakespeare.lit and a new user rating.
145
+    </p>
146
+    <p>
147
+      JIDs that are critical to server functionality or admins should have a
148
+      permanent <rating/> of -100 to indicate that they are protected.  Should a
149
+      user attempt to report a protected user, the server should send the
150
+      following:
151
+    </p>
152
+    <example caption='User is protected'><![CDATA[
153
+      <iq type=’error’ id=’admin1’ to=’romeo@montague.net>
154
+        <rating xmlns=’urn:xmpp:abuse’>
155
+          <error type=’cancel’>
156
+            <not-allowed xmlns=’urn:ietf:xml:ns:xmpp-stanzas’/>
157
+          </error>
158
+        </rating>
159
+      </iq>
160
+      ]]></example>
161
+    <p>
162
+      The server may report the error with a message to the original user,
163
+      indicating that the selected &lt;reported-jid/&gt; is admin or protected.
164
+    </p>
165
+    <p>
166
+      When a user is found ‘guilty’ of being a spammer using this method the
167
+      server should first deliver a message before action is taken:
168
+    </p>
169
+    <example caption='User reaches &lt;rating/&gt; of 1.0'><![CDATA[
170
+      <message to=’mercutio@montague.net id=’notification’ type=’headline’>
171
+        <body>You have been found to be spamming the montague.net server, please take some time and cool off.</body>
172
+      </message>
173
+      ]]></example>
174
+    <p>
175
+      The server will then conduct appropriate action, either a kick, or an
176
+      outright ban depending on the severity of the offenses, or settings within
177
+      the server.  Actions may be taken using existing XEP-0061 Privacy Lists or
178
+      XEP-0191 Blocking Command, or an internal implementation to prevent
179
+      communication from known spammer accounts.
180
+    </p>
181
+  </section3>
182
+</section1>
183
+<section1 topic='Business Rules' anchor='rules'>
184
+  <p>OPTIONAL.</p>
185
+</section1>
186
+<section1 topic='Implementation Notes' anchor='impl'>
187
+  <p><![CDATA[Although this setup implies an active user base, the <rating/> element may be incorporated into non-human based systems as well.  Unexpected JIDs, or ones that connect externally may be automatically given a high rating, and the server set for a low tolerance of stanzas sent in, allowing for quick and generally automated expulsion of unwanted or abusive JIDs from an automated system.  The <rating/> element does not require a human interaction, instead it can be manipulated by a host server for automated abuse control.
188
+    Depending on a server operator’s level of forgiveness, ratings may be permanent or can normalize to 0 after a period of time.]]></p>
189
+</section1>
190
+<section1 topic='Security Considerations' anchor='security'>
191
+  <p>
192
+    This feature may lend itself to abuse from users who wish to punish or abuse
193
+    another user.  All rating systems should follow two abuse control rules to
194
+    limit abuse potential:
195
+  </p>
196
+  <ol>
197
+    <li>
198
+      No one entity can use the rating system to ban/kick a JID unless they are
199
+      a server administrator.  There must at least two or more JIDs reporting
200
+      spam or abuse to pass the kick or ban threshold.
201
+    </li>
202
+    <li>
203
+      Successive report values on same JID will decrease in weight against a
204
+      user rating, eventually lowering to zero (which then can be marked as
205
+      spam/abuse).   For example: the first &lt;repored-jid/&gt; of
206
+      mercutio@montague.net by Romeo@montague.net increases the rating by 0.1.
207
+      The second from romeo@montague.net the same user is now weighted slightly
208
+      less, by increasing it 0.08.  The third 0.06, fourth 0.04 and so on until
209
+      the weighted value of the report is null.  At this point, it would be
210
+      advisable to notify Romeo that he is abusing the rating system, and will
211
+      begin to increase his own rating by further pushing the issue.
212
+    </li>
213
+    <li>
214
+      Critical or known-user JIDs exempt from rating rules should be set to a
215
+      value such as -100 to indicate that they are exempt from spam control
216
+      measures.
217
+    </li>
218
+  </ol>
219
+</section1>
220
+<section1 topic='IANA Considerations' anchor='iana'>
221
+  <p>This document requires no interaction with the Internet Assigned Numbers Authority (IANA).</p>
222
+</section1>
223
+<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
224
+  <p>None known at this point.</p>
225
+</section1>
226
+<section1 topic='XML Schema' anchor='schema'>
227
+  <p>Not finished at this point.</p>
228
+</section1>
229
+</xep>

+ 1
- 1
xep-0323.xml View File

@@ -1,4 +1,4 @@
1
-<?xml version='1.0' encoding='UTF-8'?>
1
+<?xml version='1.0' encoding='UTF-8'?>
2 2
 <!DOCTYPE xep SYSTEM 'xep.dtd' [
3 3
 	<!ENTITY % ents SYSTEM 'xep.ent'>
4 4
 	%ents;

+ 1
- 1
xep-0324.xml View File

@@ -1,4 +1,4 @@
1
-<?xml version='1.0' encoding='UTF-8'?>
1
+<?xml version='1.0' encoding='UTF-8'?>
2 2
 <!DOCTYPE xep SYSTEM 'xep.dtd' [
3 3
   <!ENTITY % ents SYSTEM 'xep.ent'>
4 4
 %ents;

+ 1
- 1
xep-0325.xml View File

@@ -1,4 +1,4 @@
1
-<?xml version='1.0' encoding='UTF-8'?>
1
+<?xml version='1.0' encoding='UTF-8'?>
2 2
 <!DOCTYPE xep SYSTEM 'xep.dtd' [
3 3
     <!ENTITY % ents SYSTEM 'xep.ent'>
4 4
     %ents;

+ 1
- 1
xep-0331.xml View File

@@ -1,4 +1,4 @@
1
-<?xml version='1.0' encoding='UTF-8'?>
1
+<?xml version='1.0' encoding='UTF-8'?>
2 2
 <!DOCTYPE xep SYSTEM 'xep.dtd' [
3 3
   <!ENTITY % ents SYSTEM 'xep.ent'>
4 4
 %ents;

+ 1
- 1
xep-0332.xml View File

@@ -1,4 +1,4 @@
1
-<?xml version='1.0' encoding='UTF-8'?>
1
+<?xml version='1.0' encoding='UTF-8'?>
2 2
 <!DOCTYPE xep SYSTEM 'xep.dtd' [
3 3
   <!ENTITY % ents SYSTEM 'xep.ent'>
4 4
 %ents;

+ 1
- 1
xep-0347.xml View File

@@ -1,4 +1,4 @@
1
-<?xml version='1.0' encoding='UTF-8'?>
1
+<?xml version='1.0' encoding='UTF-8'?>
2 2
 <!-- TODO: Sub-namespace for Registration Clients.
3 3
         urn:xmpp:iot:discovery:regunit	- Registration Units (can claim ownership)
4 4
 -->

+ 1
- 1
xep-0348.xml View File

@@ -1,4 +1,4 @@
1
-<?xml version='1.0' encoding='UTF-8'?>
1
+<?xml version='1.0' encoding='UTF-8'?>
2 2
 <!DOCTYPE xep SYSTEM 'xep.dtd' [
3 3
   <!ENTITY % ents SYSTEM 'xep.ent'>
4 4
 %ents;

Loading…
Cancel
Save