ejabberd - Comments for "Problem with mod_register, ip_access parameter" https://www.ejabberd.im/node/5061 en We've finally figured out, https://www.ejabberd.im/node/5061#comment-58295 <p>We've finally figured out, that the problem of non-functional ip_access was caused by this clause on the other place of configuration: </p> <p>%%% ===============<br /> %%% LISTENING PORTS</p> <p>{listen,<br /> [<br /> {5222, ejabberd_c2s, [<br /> <strong>inet6,</strong><br /> {access, c2s},<br /> {shaper, c2s_shaper},<br /> {max_stanza_size, 65536},<br /> starttls, {certfile, "/etc/ejabberd/cert/ejabberd-jabber.ics.muni.cz.pem"}<br /> ]},</p> <p>After omiting the highlighted part, the ip_access restricts access as it should. </p> <p>So apparently there is a problem with that in case the server is accessed/accessible via IPv6. Is there any chance for this to be fixed/added to ejabberd? </p> <p>Thanks for your replies.</p> Fri, 27 Jan 2012 10:53:07 +0000 Sevenood comment 58295 at https://www.ejabberd.im Sevenood wrote: ejabberd https://www.ejabberd.im/node/5061#comment-58055 <div class="quote-msg"> <div class="quote-author"><em>Sevenood</em> wrote:</div> <p>ejabberd 2.1.5</p> <p>...<br /> {ip_access, [{allow, "127.0.0.0/8"},<br /> {deny, "0.0.0.0/0"}]}<br /> ...<br /> Even when I omit the allow part and server should be denying every registration request, it doesn't. </p> <p>Any ideas what could be the issue? .</p></div> <p>I try with ejabberd 2.1.9.</p> <p>Then I configure like this:</p> <pre> {modules, [ {mod_register, [ {ip_access, [{deny, "0.0.0.0/0"}]}, {welcome_message, {"Welcome!", "Hi.\nWelcome to here."}}, {access_from, all}, {access, register} ]}, ... ]}. </pre><p> When a user tries to register, he gets "forbidden" error. If I add an allow part like in your example, then the user can register.</p> Mon, 21 Nov 2011 16:02:40 +0000 mfoss comment 58055 at https://www.ejabberd.im