[ejabberd] acl by IP address + auto add users in userlist

Pedro Zorzenon Neto pzn at mandic.com.br
Thu Apr 3 15:33:26 MSD 2008

Em 03-04-2008 07:16, Andreas escreveu:
> On Wed, Apr 02, 2008 at 10:30:58PM -0300, Pedro Zorzenon Neto wrote:
>> I'll solve problems of Internet in-band registering adding a rule in 
>> iptables to drop all packages with the string jabber:iq:register that 
>> come not from internal network.
>> It will be a workaround, not a real solution, but it seems that will work.
> That doesn't help if people are using TLS or SSL (which they should).
> Another way would be to disable inband registration, and use: 
> 	ejabberdctl register [user] [pass]
> (Possibly as part of some php script on the intranet).

Thanks Andreas, that solves the problem. It is very easy to make a 
cgi/php to run this command to register a user!

More information about the ejabberd mailing list