Page 1 of 1
Password to connect to IRCD
Posted: Wed Aug 12, 2009 10:28 pm
by intel233
allow {
ip *@*;
hostname *@*;
class clients;
password "RoCkz&RollZ";
maxperip 2;
options {
ssl;
I thought this would make it so everyone have to put in that p/w in order to connect. I had a couple people tell me they are able ot connect without supplying a password.
Any help is appreciated.
Re: Password to connect to IRCD
Posted: Wed Aug 12, 2009 10:55 pm
by Stealth
it is because this allow block is only for people connecting with SSL.
Re: Password to connect to IRCD
Posted: Wed Aug 12, 2009 11:07 pm
by katsklaw
In addition, according to the documentation (that everyone should read

), allow blocks are read from bottom to top, so if you have a less restrictive allow block at the bottom that users also fit into, it will be used and the more restrictive one will be skipped.
Re: Password to connect to IRCD
Posted: Thu Aug 13, 2009 12:23 am
by intel233
allow {
ip *@68.XXX.XXX.XXX;
hostname *;
class clients;
maxperip 6;
};
allow {
ip *@*;
hostname *@*;
class clients;
password "RoCkz&RollZ";
maxperip 4;
options {
ssl;
};
};
This will limit me to only 4 if my ip is 68.XXX.XXX.XXX I need to have at least 5-6 logins and now if i put the allow with maxperip 4 i cant get in.
IS there a way around this?
Re: Password to connect to IRCD
Posted: Thu Aug 13, 2009 1:02 am
by katsklaw
as I said, you will match the BOTTOM one first, thus not getting to the allow block granting you 6. Your least restrictive should be at the top of the allow block list. As-is, no one will match anything except the bottom allow block except those that aren't using ssl.
Re: Password to connect to IRCD
Posted: Thu Aug 13, 2009 5:48 pm
by Stealth
Also when making allow blocks remember the hostname and IP are matched as OR
Which means the user must match the hostname OR IP, not hostname AND IP