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.
Password to connect to IRCD
-
Stealth
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Re: Password to connect to IRCD
it is because this allow block is only for people connecting with SSL.
Re: Password to connect to IRCD
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.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
Re: Password to connect to IRCD
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?
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
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.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
-
Stealth
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Re: Password to connect to IRCD
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
Which means the user must match the hostname OR IP, not hostname AND IP