ejabberd - Comments for "Reserve / blacklist JIDs" https://www.ejabberd.im/node/3334 en Thanx! https://www.ejabberd.im/node/3334#comment-54930 <p>Thank you so much for your help! I Hope that everything works fine now. :-)</p> Tue, 24 Nov 2009 08:50:17 +0000 Roi comment 54930 at https://www.ejabberd.im > When blacklisting JIDs, can https://www.ejabberd.im/node/3334#comment-54926 <p>&gt; When blacklisting JIDs, can I still manually add those specific JIDs</p> <p>Yes, the 'register' option in mod_register only has effect when an XMPP client uses In-Band Registration to attempt to register an account. Other methods provided by ejabberd are not affected by that option, like shell ejabberdctl, or WebAdmin.</p> <p>&gt; and can existing users with these JIDs still user their accounts?</p> <p>Yes, the option only affects account registration.</p> <p>BTW; if you don't want the user "admin@localhost" to later register "admin111@localhost", instead of</p> <pre>{acl, strangename, {user_glob, "admin"}}.</pre><p>you should put:</p> <pre>{acl, strangename, {user_glob, "admin*"}}.</pre> Mon, 23 Nov 2009 11:19:00 +0000 mfoss comment 54926 at https://www.ejabberd.im Yes, I forgot {access, register, [{deny, strangename}, {allow... https://www.ejabberd.im/node/3334#comment-54920 <p>Hello badlop,</p> <p>oh yes, I forgot</p> <p>&gt; {access, register, [{deny, strangename}, {allow, all}]}</p> <p>for each virtual host I want to blacklist JIDs... Shame on me and thank you so much.</p> <p>I hope this works now, keep you posted.</p> <p>Can you say something about this question I asked earlier (some months ago)?</p> <p>&gt; additional question: When blacklisting JIDs, can I still manually add those specific JIDs and can existing users with these JIDs still user their accounts?</p> <p>Background: I like to blacklist admin JIDs for all virtual hosts. With the main virtual host, these admin JIDs exist, with the other host, they don't exist. Also I noticed some JIDs like root and webmaster which are registered. I would like to blacklist these JIDs and (first of all) nicely talk these users out of their JID before deleting it.</p> <p>Kindest regards,<br /> Martin</p> Thu, 19 Nov 2009 10:47:11 +0000 Roi comment 54920 at https://www.ejabberd.im Maybe you forgot to add the https://www.ejabberd.im/node/3334#comment-54916 <p>Maybe you forgot to add the other parts of the config?</p> <p>You should have something like this:</p> <pre> {acl, strangename, {user_glob, "admin"}}. {acl, strangename, {user_glob, "administrator"}}. {acl, strangename, {user_glob, "hostmaster"}}. {access, register, [{deny, strangename}, {allow, all}]}. {modules, [ ... {mod_register, [ {access, register} ]}, ... ]}. </pre> Wed, 18 Nov 2009 21:59:25 +0000 mfoss comment 54916 at https://www.ejabberd.im Re: Reserve / blacklist JIDs https://www.ejabberd.im/node/3334#comment-54914 <p>This is how it looked:</p> <p>&gt; The user 'Admin@jabber.hot-chilli.net' was just created on node ejabberd@calypso.</p> <p>Then I checked the config file:</p> <p>&gt; {acl, strangename, {user_glob, "admin"}}.<br /> &gt; {acl, strangename, {user_glob, "administrator"}}.<br /> &gt; {acl, strangename, {user_glob, "hostmaster"}}.</p> <p>Seems to be ok or is there a typo?</p> <p>I try to register other forms of "admin" and post the result.</p> <p>Regards,<br /> Martin</p> Tue, 17 Nov 2009 10:41:04 +0000 Roi comment 54914 at https://www.ejabberd.im > So user names are not case https://www.ejabberd.im/node/3334#comment-54902 <p>&gt; So user names are not case insensitive?</p> <p>In Jabber, username is case insensitive: admin and Admin are the same. I verified in ejabberd that blocking "admin" makes impossible to register account "Admin".</p> <p>&gt; I blacklisted "admin" and now someone created an account named "Admin".</p> <p>I can see two explanations:</p> <ul> <li>You didn't blacklist "admin" correctly. </li><li>You blacklisted "admin" correctly, and the other account is not "Admin". Instead it's "Adm1n, or uses some UTF-8 character to appear similar to the latin characters. </li></ul> <p>You can try to register accounts ADMIN, ADMin, etc.</p> Mon, 16 Nov 2009 12:47:09 +0000 mfoss comment 54902 at https://www.ejabberd.im case sensitive or insensitive? https://www.ejabberd.im/node/3334#comment-54869 <p>Hello all,</p> <p>another question: I blacklisted "admin" and now someone created an account named "Admin".</p> <p>So user names are not case insensitive?!? How can I blacklist insensitive?</p> <p>And is it possible that there are users named "XXX", "xxx" and "Xxx" for example?</p> <p>Kindest regards,<br /> Martin</p> Wed, 11 Nov 2009 10:31:00 +0000 Roi comment 54869 at https://www.ejabberd.im Re: Reserve / blacklist JIDs https://www.ejabberd.im/node/3334#comment-53966 <p>Hello,</p> <p>additional question: When blacklisting JIDs, can I still manually add those specific JIDs and can existing users with these JIDs still user their accounts?</p> <p>Thank and regards,<br /> Martin</p> Mon, 26 Jan 2009 11:30:53 +0000 Roi comment 53966 at https://www.ejabberd.im Re: Reserve / blacklist JIDs https://www.ejabberd.im/node/3334#comment-53905 <p>Hey great thank you! I'll test this as soon as I restart the server again. :-)</p> Wed, 07 Jan 2009 20:38:03 +0000 Roi comment 53905 at https://www.ejabberd.im Hi! open your https://www.ejabberd.im/node/3334#comment-53896 <p>Hi!</p> <p>open your ejabberd.cfg</p> <p>search &amp; edit this:</p> <p>{acl, strangename, {user_glob, "xxx"}}.<br /> {acl, strangename, {user_glob, "*admin*"}}.<br /> {acl, strangename, {user_glob, "test*"}}.<br /> {acl, strangename, {user_glob, "root"}}.<br /> {acl, strangename, {user_glob, "chef"}}.<br /> {acl, strangename, {user_glob, "king"}}.<br /> {acl, strangename, {user_glob, "god"}}.</p> <p>works great!</p> Wed, 31 Dec 2008 13:56:55 +0000 Lux comment 53896 at https://www.ejabberd.im Re: Reserve / blacklist JIDs https://www.ejabberd.im/node/3334#comment-53886 <p>Hmm... I guess you can define an acl in config file and deny this usernames in mod_register.</p> Tue, 30 Dec 2008 12:48:52 +0000 zinid comment 53886 at https://www.ejabberd.im