Page 1 of 1

Restrict all clients except CGI:IRC

Posted: Tue Jan 11, 2011 12:39 am
by Spectator
Hello,

What I want to do is bock users from joining all clients except the ones that join from web using CGI:IRC. But I also want to allow the staff to join via mIRC or other clients.
Is it possible to do this? Is yes, then please guide me how?

Thank you.

Re: Restrict all clients except CGI:IRC

Posted: Tue Jan 11, 2011 12:47 am
by Jobe
Simple, 2 options:
1) use passworded allow blocks, and configure your CGI:IRC to A) use the webirc method (and a cgiirc block) and B) supply the correct password upon connecting
or 2) use non-standard port numbers that the general public wont know

Re: Restrict all clients except CGI:IRC

Posted: Tue Jan 11, 2011 8:36 pm
by Spectator
or 2) use non-standard port numbers that the general public wont know
They can still find out the ports using any port scanner. That's the main problem sir.

Re: Restrict all clients except CGI:IRC

Posted: Tue Jan 11, 2011 10:07 pm
by katsklaw
Spectator wrote:
or 2) use non-standard port numbers that the general public wont know
They can still find out the ports using any port scanner. That's the main problem sir.
Port scanners can't detect passwords and CGI::IRC can be configured to send a password upon connect directly from the webclient so the user doesn't need to know the password. Both issues are easily solved with allow blocks. Thus making Jobe's option #1 your best bet.

http://www.unrealircd.com/files/docs/un ... allowblock
http://cgiirc.org/docs/config.php <-- see server_password option

The answer to this question was googled in about 12 seconds.

Re: Restrict all clients except CGI:IRC

Posted: Tue Jan 11, 2011 10:23 pm
by katsklaw
In an unrealted topic, if you are worried about web users copying and pasting or right clicking to view page source code you can click on this link: http://www.hypergurl.com/norightclick.html