About IP-restricted Registration

Hi all,

The question is the server only accept the registration from some restricted-ip,
and clients still can connect to jabber server as usual. 

I had been posted this problem on May 5, and David showed some clues that 
I can modify jabber server code in js_authreg() at jsm/authreg.c.

Now I have to pass the client's address in mio.c's _mio_accept() to 
authreg.c's js_authreg() to do some matches.

But I don't know where the connection-wide string variable should place.
Because the string will change when new connection comming, 
I cannot use global string to pass the variable, and the jabber server code 
is so complicated.

Any pointers will be helpful. Thanks a million!! 
:)�����������m�����f�����Z���r���ܖ'$��i���r�^�<(h�������������������Ȇ�i��솊i�x���h��ܢo��
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to