ejabberd - Comments for "mod_filter - Flexible Filtering by Server Policy" https://www.ejabberd.im/mod_filter en muc mod filter https://www.ejabberd.im/mod_filter#comment-65170 <p>this is not mod_filter but is editing mod_muc_room.beam or known what is you system server for a mod defrinds ejabberd-2.1.11 or ejabberd-2.1.13</p> Sat, 06 Dec 2014 05:03:48 +0000 medhack comment 65170 at https://www.ejabberd.im Update for newer version of ejabberd https://www.ejabberd.im/mod_filter#comment-63937 <p><noindex><a href="https://github.com/knobo/mod_filter" title="https://github.com/knobo/mod_filter" rel="nofollow" >https://github.com/knobo/mod_filter</a></noindex></p> Sun, 04 May 2014 14:53:11 +0000 knobo comment 63937 at https://www.ejabberd.im give me muc_filter.erl to https://www.ejabberd.im/mod_filter#comment-61707 <p>give me muc_filter.erl<br /> to filter messages from unaffliated users through Jabber ID</p> <p>:)</p> Sat, 26 Oct 2013 18:05:57 +0000 autorun comment 61707 at https://www.ejabberd.im Filter https://www.ejabberd.im/mod_filter#comment-61691 <p>Hi..<br /> i use ejabberd 2.1.13<br /> i was try mod_shit to filter bad msg but not work!<br /> i want config ejabberd with mod_filter to work with isida bot and filter conferences...<br /> "filter messages from unaffliated users through Jabber ID"<br /> like jabber.ru<br /> what should I do?</p> <p>Thank you.</p> Sun, 20 Oct 2013 05:25:20 +0000 autorun comment 61691 at https://www.ejabberd.im ı cant get MUC work with mod_filter correctly https://www.ejabberd.im/mod_filter#comment-55778 <p>Guys hi,</p> <p>I am tryıng to connect to my MUC at conference.myserver.org</p> <p>but ı am also using mod_filter which allows only admins can send and get messages and also it only allows admins to see the presence of users.</p> <p>this however keeps me away from entering my clients to the MUC as soon as ı allow every one to message and everyone to share presence it work can anyone help me on this ?</p> <p>my modfilter config is as fallows</p> <p>{acl, ex3server, {server_glob, "*myserver.org"}}.</p> <p>{access, mod_filter_presence, [{allow, admin},<br /> {restrict_ex3,ex3server}<br /> ]}.</p> <p>{access, mod_filter_iq, [{allow, admin},</p> <p>{restrict_ex3, ex3server}]}.</p> <p>{access, mod_filter_message, [{allow, admin},</p> <p>{restrict_ex3,ex3server}]}.</p> <p>{access, mod_filter, [{allow,admin},</p> <p>{restrict_ex3,ex3server}]}.</p> <p>{access, restrict_ex3, [{allow, admin},<br /> {deny, all}]}.</p> <p>i would appreciate anyhelp.</p> Tue, 18 May 2010 10:40:58 +0000 ysanli comment 55778 at https://www.ejabberd.im Help with filtering https://www.ejabberd.im/mod_filter#comment-51181 <p>As i have mention in my previous post, i need to set filter between users. I was trying mod_filter, but from unknown reason, it doesn't work properly on my server. The problem seams very strange for me, especially, that no one before report such a problem (problem: enabling mod_filter in ejabberd.cfg - filtering works, but block all other services, enabling mod_filter with acl internal_services - cause that no filtering is made). What is wrong with my configuration <noindex><a href="http://docs.google.com/Doc?id=dt7jfn6_1d7zd7z" rel="nofollow" >(see)</a></noindex> </p> <p>The main idea is: Two vhosts, example.com and other.com. Example.com can have full access to all users and services, but other.com can have access ONLY to example.com (no communication among other.com is allow).</p> <p>Is it possible to set this configuration in any other way?</p> Tue, 06 Nov 2007 15:37:27 +0000 syka comment 51181 at https://www.ejabberd.im Still https://www.ejabberd.im/mod_filter#comment-51101 <p>I have tried as u propose, but seams like it doesn't solve the problem. I find out that service discovery is blocked even if all the acl and accesses are comment. There is one thing i did not like in the installation instruction: there is written to recompile ejabberd and i only compile the module file. Do u think that could cause this problem?</p> Thu, 18 Oct 2007 15:35:29 +0000 syka comment 51101 at https://www.ejabberd.im Maybe the packets sent by https://www.ejabberd.im/mod_filter#comment-51085 <p>Maybe the packets sent by the services are blocked by mod_filter. If that's the problem, a possible solution may look as:</p> <pre>{acl, internal_services, {server, "*.example.com"}}. {access, mod_filter, [ {allow, admin}, {allow, internal}, {allow, internal_services}, {restrict_ext,external}]}.</pre><p> Note that I didn't try it. Maybe the proposed ACL is not exactly correct.</p> Mon, 15 Oct 2007 14:56:40 +0000 mfoss comment 51085 at https://www.ejabberd.im mod_filter and service discovery https://www.ejabberd.im/mod_filter#comment-51084 <p>Hi</p> <p>I'm trying to configure Ejabber server, with internal users group and customers group (external). I found mod_filter as a great solution to set rules for each group. One of the rule is that the external users cannot interact with other external users and can interact with internal users. Internal users can interact with everybody. I set it this way: </p> <p> {acl, internal, {user_glob, "ga*","example.com"}}.<br /> {acl, external, {user_glob, "test*","example.com"}}.</p> <p> %access for mod_filter</p> <p> {access, mod_filter, [{allow, admin},<br /> {allow, internal},<br /> {restrict_ext,external}]}.</p> <p> %This rule applies to the packets sent from 'external' non-admin users,<br /> %allows packets send to 'internal' server and denies anything else.<br /> {access, restrict_ext, [{allow,internal},<br /> {deny,all}]}.</p> <p> This setting works, but unfortunately, appear other problem. When the mod_filter is enabled, other services(MUC, vcard etc...), for all users are not available. I use PSI client. After entering Service Discovery, there is no services to use. </p> <p>Could someone help me please??<br /> Do anybody know where is my mistake??</p> <p>Thank you</p> Mon, 15 Oct 2007 14:10:46 +0000 syka comment 51084 at https://www.ejabberd.im allow some user of msn on hostb only but hosta can get all user https://www.ejabberd.im/mod_filter#comment-43467 <p>Thanks for your reply ... i have did following thing in my cfg file..<br /> %This ACL will match any user or host<br /> {acl, hosta, {server_glob, "*example.com"}}.<br /> {acl, hostb, {server_glob, "*example.net"}}.</p> <p>{acl, good_msn_users, {user, "romeo%hotmail.com", "msn.example.com"}}.<br /> {acl, good_msn_users, {user, "juliet%hotmail.com", "msn.example.com"}}.<br /> {acl, good_msn_users, {user, "", "msn.example.com"}}.<br /> {acl, msn_users, {server_glob, "msn*"}}.</p> <p>% The main mod_filter rule allows all the host except hostb.<br /> {access, mod_filter, [{restrict_b, hostb},<br /> {filter_c, all}]}.</p> <p>% Only allow good users on hostb and allow all the user on hosta.<br /> {access, restrict_b, [{allow, good_msn_users},<br /> {deny, msn_users},<br /> {allow, all}]}.</p> <p>{access, filter_c, [{allow, good_msn_users},<br /> {allow, msn_users},<br /> {allow, all}]}.</p> <p>This thing working for me.. but i can restrict only outgoing msn but i cannot able to stop incoming msg on hostb.<br /> For hosta its fine i can get all the user and chat with them thats ok.. </p> <p>But i want to allow only some user of "msn" on hostb. is it possible.....please reply me...</p> Fri, 17 Aug 2007 06:54:48 +0000 chirayu comment 43467 at https://www.ejabberd.im Nesting? https://www.ejabberd.im/mod_filter#comment-43455 <div class="quote-msg"> <div class="quote-author"><em>chirayu</em> wrote:</div> <pre>{access, filter_c, [{restrict_a, hostb}, {allow, all}, {allow, good_msn_users}, {allow, msn_users}]}. {access, restrict_a, [{allow, good_msn_users}, {deny, msn_users}]}. </pre></div> <p>I'm not an ACL expert, but I think nesting rules in that way won't work. You'll have to put the <code>restrict_a</code> rules directly in <code>filter_c</code> or something. (I'm not really sure that would make the logic fit right, though…)</p> Thu, 16 Aug 2007 22:05:32 +0000 legoscia comment 43455 at https://www.ejabberd.im Restricting msn user on other host https://www.ejabberd.im/mod_filter#comment-42610 <p>Hi.. Everybody... please help me out...</p> <p>I want to allow some user of "msn" on other host... ("example.net")</p> <p>I have two host "example.com" or "example.net"</p> <p>following thing i had applied...in the .cfg file.</p> <p>{acl, hosta, {server_glob, "*example.com"}}.<br /> {acl, hostb, {server_glob, "*example.net"}}.</p> <p>{acl, good_msn_users, {user, "romeo%hotmail.com", "msn.example.com"}}.<br /> {acl, good_msn_users, {user, "juliet%hotmail.com", "msn.example.com"}}.<br /> {acl, good_msn_users, {user, "", "msn.example.com"}}.<br /> {acl, msn_users, {server_glob, "msn*"}}.</p> <p>% The main mod_filter ristrict hostb but allow all the trafic and hosta<br /> {access, mod_filter, [{restrict_b, hostb},<br /> {filter_c, all}]}.</p> <p>% Only allow good msn users on hostb and other trafic allow.<br /> {access, restrict_b, [{allow, good_msn_users},<br /> {deny, msn_users},<br /> {allow, all}]}.</p> <p>{access, filter_c, [{restrict_a, hostb},<br /> {allow, all},<br /> {allow, good_msn_users},<br /> {allow, msn_users}]}.</p> <p>{access, restrict_a, [{allow, good_msn_users},<br /> {deny, msn_users}]}.</p> <p>please if any find solution for this thing.. </p> <p>please reply.....Thanks.</p> Thu, 16 Aug 2007 14:45:52 +0000 chirayu comment 42610 at https://www.ejabberd.im