ejabberd - Comments for "Simple Communications Blocking / Block or Unblock Contact" https://www.ejabberd.im/node/4545 en I suppose that there's no https://www.ejabberd.im/node/4545#comment-57728 <p>I suppose that there's no default.</p> <p>You can easily check it:<br /> <noindex><a href="http://xmpp.org/extensions/xep-0016.html#protocol-retrieve" title="http://xmpp.org/extensions/xep-0016.html#protocol-retrieve" rel="nofollow" >http://xmpp.org/extensions/xep-0016.html#protocol-retrieve</a></noindex><br /> See Examples 1 &amp; 2, where server responds with the list where the default and active lists are specified.<br /> You seem to ask questions you could answer yourself by reading relevant documents carefully.<br /> See <noindex><a href="http://catb.org/~esr/faqs/smart-questions.html" rel="nofollow" >How To Ask Questions The Smart Way</a></noindex> by Eric Steven Raymond.</p> Thu, 11 Aug 2011 05:40:44 +0000 mikekaganski comment 57728 at https://www.ejabberd.im I suppose the default privacy https://www.ejabberd.im/node/4545#comment-57727 <p>I suppose the default privacy list is the "public" for ejabber, isn't it?<br /> Or should I set it explictly?</p> Thu, 11 Aug 2011 04:11:18 +0000 elvistest4 comment 57727 at https://www.ejabberd.im http://xmpp.org/extensions/xe https://www.ejabberd.im/node/4545#comment-57726 <p><noindex><a href="http://xmpp.org/extensions/xep-0016.html#protocol-rules" title="http://xmpp.org/extensions/xep-0016.html#protocol-rules" rel="nofollow" >http://xmpp.org/extensions/xep-0016.html#protocol-rules</a></noindex><br /> <noindex><a href="http://xmpp.org/extensions/xep-0016.html#protocol-active" title="http://xmpp.org/extensions/xep-0016.html#protocol-active" rel="nofollow" >http://xmpp.org/extensions/xep-0016.html#protocol-active</a></noindex></p> <p>I suppose that there's no restrictions regarding the order of this operation. However, the default privacy list (if set) will be active until a list will be set active for the session.</p> Thu, 11 Aug 2011 03:48:18 +0000 mikekaganski comment 57726 at https://www.ejabberd.im Thanks, Mike. So we need to https://www.ejabberd.im/node/4545#comment-57725 <p>Thanks, Mike.</p> <p>So we need to set the "public" list as the active list, I think.</p> <p>Generally speaking, this operation was done at what time? after getting roster?</p> Thu, 11 Aug 2011 03:42:31 +0000 elvistest4 comment 57725 at https://www.ejabberd.im When a privacy list is https://www.ejabberd.im/node/4545#comment-57724 <p>When a privacy list is modified, the server notifies all resources about this change (it tells each connected client of this user: hey, the privacy list "xyz" of this user was changed). A client may then wish to get this list, or it may not. <strong>If and only if</strong> it wish, it will ask server with the appropriate "get". Otherwise, no unwanted traffic is generated.</p> <p>User may have more than one privacy list, and (s)he may set only one privacy list active for each resource. Probably you haven't set your "public" privacy list active for your resource.</p> Thu, 11 Aug 2011 03:16:11 +0000 mikekaganski comment 57724 at https://www.ejabberd.im Hi, When I was trying to https://www.ejabberd.im/node/4545#comment-57723 <p>Hi, When I was trying to block some one, but it didn't work, here is the xml sent and received, thanks for the help.</p> <p>SENT:</p> <div class="codeblock"><code>&lt;iq xmlns=&#039;jabber:client&#039; from=&#039;222@hzs-t61-elou/mylife-localhost-100&#039; id=&#039;4&#039; type=&#039;set&#039;&gt;&lt;query xmlns=&#039;jabber:iq:privacy&#039;&gt;&lt;list name=&#039;public&#039;&gt;&lt;item action=&#039;deny&#039; order=&#039;1&#039; type=&#039;jid&#039; value=&#039;22@hzs-t61-elou&#039;/&gt;&lt;/list&gt;&lt;/query&gt;&lt;/iq&gt;</code></div> <p>RECEIVED:</p> <div class="codeblock"><code>&lt;iq from=&#039;222@hzs-t61-elou&#039; id=&#039;push4191354387&#039; to=&#039;222@hzs-t61-elou/mylife-localhost-100&#039; type=&#039;set&#039; xml:lang=&#039;en&#039;&gt;&lt;query xmlns=&#039;jabber:iq:privacy&#039;&gt;&lt;list name=&#039;public&#039;/&gt;&lt;/query&gt;&lt;/iq&gt; <p>&lt;iq from=&#039;222@hzs-t61-elou&#039; id=&#039;4&#039; to=&#039;222@hzs-t61-elou/mylife-localhost-100&#039; type=&#039;result&#039; xml:lang=&#039;en&#039;/&gt;</p></code></div> <p>I have read the xmpp extension xep-0016, it seems I was doing the correct job, but it didn't work, these 2 people can still see each other's presence. Any idea?</p> <p>BY the way, why the privacy puch didn't contain the item? IT's same with the protocol definition, I can't under stand this too much.</p> Thu, 11 Aug 2011 00:25:37 +0000 elvistest4 comment 57723 at https://www.ejabberd.im Hi, When I was trying to https://www.ejabberd.im/node/4545#comment-57722 <p>Hi, When I was trying to block some one, but it didn't work, here is the xml sent and received, thanks for the help.</p> <p>SENT:</p> <div class="codeblock"><code>&lt;iq xmlns=&#039;jabber:client&#039; from=&#039;222@hzs-t61-elou/mylife-localhost-100&#039; id=&#039;4&#039; type=&#039;set&#039;&gt;&lt;query xmlns=&#039;jabber:iq:privacy&#039;&gt;&lt;list name=&#039;public&#039;&gt;&lt;item action=&#039;deny&#039; order=&#039;1&#039; type=&#039;jid&#039; value=&#039;22@hzs-t61-elou&#039;/&gt;&lt;/list&gt;&lt;/query&gt;&lt;/iq&gt; <p>RECEIVED:<br />&lt;iq from=&#039;222@hzs-t61-elou&#039; id=&#039;push4191354387&#039; to=&#039;222@hzs-t61-elou/mylife-localhost-100&#039; type=&#039;set&#039; xml:lang=&#039;en&#039;&gt;&lt;query xmlns=&#039;jabber:iq:privacy&#039;&gt;&lt;list name=&#039;public&#039;/&gt;&lt;/query&gt;&lt;/iq&gt;</p> <p>&lt;iq from=&#039;222@hzs-t61-elou&#039; id=&#039;4&#039; to=&#039;222@hzs-t61-elou/mylife-localhost-100&#039; type=&#039;result&#039; xml:lang=&#039;en&#039;/&gt;</p></code></div> <p>I have read the xmpp extension xep-0016, it seems I was doing the correct job, but it didn't work, these 2 people can still see each other's presence. Any idea?</p> <p>BY the way, why the privacy puch didn't contain the item? IT's same with the protocol definition, I can't under stand this too much.</p> Thu, 11 Aug 2011 00:18:53 +0000 elvistest4 comment 57722 at https://www.ejabberd.im Patch was committed https://www.ejabberd.im/node/4545#comment-57397 <p>Yes, I was working on the patch already. In fact, I've just committed it to ejabberd git, and will be included in ejabberd 2.1.7, which will be released probably in the first days of June.</p> Fri, 27 May 2011 09:58:21 +0000 mfoss comment 57397 at https://www.ejabberd.im Thank you for reply https://www.ejabberd.im/node/4545#comment-57393 <p>so do you think this patch is something that you want to improve and introduce in the next releases of ejabberd?<br /> thank you again,</p> <p>P.</p> Thu, 26 May 2011 11:27:10 +0000 pilaz comment 57393 at https://www.ejabberd.im Re https://www.ejabberd.im/node/4545#comment-57389 <p>There are two protocols for that feature, and Pidgin implements the one that ejabberd does not support.</p> <p>Privacy lists (XEP-0016) supported by: Gajim, Jabbim, Psi, Tkabber.<br /> Com. Blocking (XEP-0191) supported by: Pidgin.</p> <p>The good news are that you can download an experimental patch and recompile ejabberd to get the feature:<br /> <noindex><a href="https://support.process-one.net/browse/EJAB-695" title="https://support.process-one.net/browse/EJAB-695" rel="nofollow" >https://support.process-one.net/browse/EJAB-695</a></noindex></p> Tue, 24 May 2011 22:16:00 +0000 mfoss comment 57389 at https://www.ejabberd.im I have the same problem, too https://www.ejabberd.im/node/4545#comment-57385 <p>Hi, i'm using ejabberd with the default configuration, except for database. i'm using MySql, so i renamed the module "mod_privacy" in "mod_privacy_odbc" and in the MySql db i created the table for that.</p> <p>But i'm not able to block user. for example, i'm using Pidgin as client, i connect to my ejabberd server, and then i try to make the operation "block user X", but Pidgin tell me "Server doesn't support block".<br /> in my configuration file, i have only this row:<br /> {mod_privacy_odbc, []},</p> <p>maybe i have to configure mod_privacy in another way?<br /> can someone help us with this issue?<br /> i think that it's an important feature for an instant messaging server.<br /> thank you,</p> <p>P.</p> Tue, 24 May 2011 13:44:36 +0000 pilaz comment 57385 at https://www.ejabberd.im