Stop people from joining SSL server without a password/cert

These are old archives. They are kept for historic purposes only.
Post Reply
mattdahack
Posts: 2
Joined: Tue Aug 24, 2010 7:44 pm

Stop people from joining SSL server without a password/cert

Post by mattdahack »

I would like for no one but opers to join the secure server. I want them to have to type a password / or need an additional certificate to get on the server. I have tried setting the password in the config file, to no avail. This doesn't stop other people from joining. I have the opers with ssl certificates using them as passwords. That is working fine. However we don't want regular clients joining the secure server. How can we prevent this? Like one password or certificate that is needed to connect to the secure server in addition to their ssl certificates that are needed for op'ing.

Please and thanks for any advise. I have tried googling it for 2 days before I asked this question as to not be ridiculed and told to RTFM...etc. I have search on here and read the faq's and tutorials as well. I was unable to find this question asked previously.


Thanks for your help,

Matt
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Stop people from joining SSL server without a password/c

Post by katsklaw »

the fastest low tech solution is to simply use an odd port that isn't standard IRC, like say use 4500. Only tell opers the port and you'll only get opers on the server. Additionally, Allow blocks can allow only passworded users on, but allow blocks are read from bottom to top. So place the passworded block at the bottom and make it apply to everyone. then only give the password to opers.
mattdahack
Posts: 2
Joined: Tue Aug 24, 2010 7:44 pm

Re: Stop people from joining SSL server without a password/c

Post by mattdahack »

Thank you for the suggestion. This worked well. It was not working at first but then upon re-reading your post. I figured out the problem. You said it read from bottom to top. Well I had two allow blocks. The bottom one was passworded but the top allowed open access. I simply commented out the top one and it is now asking for the password.

Thanks so much !
Post Reply