[JDEV] IP-restricted Registration?

David Rosenbloom david at davidrosenbloom.com
Mon May 5 16:51:53 CDT 2003


What I did for this with jabberd was to modify jsm/authreg.c js_authreg()
to compare the value of a custom jabber.xml tag to a global string var I
set in mio.c's _mio_accept(), and deny if unmatching. There could be
contention issues with this in high-volume activity.

I decided to return a not implemented, and added a custom error on the
client if that was received on reg. But that's for an environment where
the client app is pre-determined and not user-selected.

- davidr



On Mon, 5 May 2003, Peter Saint-Andre wrote:

> This is not implemented yet AFAIK. Of course, you could handle this
> somewhat with firewall rules etc., but there is no software-based
> solution yet.
>
> Peter
>
> On Fri, May 02, 2003 at 10:26:24AM +0800, Ru-Shan Cheng wrote:
> > * IP-restricted Registration
> >
> > 	Does jabber provide the ip-restricted registration?
> >
> > 	I want to achieve that the new users registration is allowed only from certain IP,
> > 	and users still can login in the jabber server from everywhere.
> >
> > 	In jabber configuration, <allow/> and <deny/> tags seem not to achieve this goal
> > 	completely.
> >
> > 	Any pointers will be helpful.
> >
> > BR,
> > Racci
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>




More information about the JDev mailing list