Hi,
Is there any way I can set it up so that anyone can connect to my server (with or without a password) but if they DO supply a password, they will have a different set of restrictions in the allow config?
Specifically I want to change allow:maxperip 2 to allow:maxperip 4 for people who connect with the password. Perhaps something to do with allow::options::nopasscont (I don't fully understand the way nopasscont works)?
I want anyone to be able to connect from anywhere with the password (so no restrictions on ip or hostname)
Thanks!
W-Unit
Configuring the Allow block
-
Ron2K
Code: Select all
allow {
ip "*@*";
hostname "*@*";
class clients;
maxperip 2;
};
allow {
ip "*@*";
hostname "*@*";
class leet-clients;
maxperip 4;
password "iamveryleet";
options { nopasscont; };
};
hrmm...
Well it worked fine for a second, then I tried to see what would happen if I changed my oper block to class leet-clients (yes, I did add a class { for that) and now everything is fucked up. I get these errors on rehash (the first two of which I got on rehashing even when it did work)
And those errors come up even when I change my oper back to class clients and comment out everything that has to do with leet-clients.
However they do not seem to do anything, so should I just ignore them or what?
Well it worked fine for a second, then I tried to see what would happen if I changed my oper block to class leet-clients (yes, I did add a class { for that) and now everything is fucked up. I get these errors on rehash (the first two of which I got on rehashing even when it did work)
Code: Select all
-irc.sillynet.com- *** Notice -- unrealircd.conf:1058: Ignoring extra data
-
-irc.sillynet.com- *** Notice -- unrealircd.conf:1058: Ignoring extra data
-
-irc.sillynet.com- *** Notice -- unrealircd.conf:224: illegal oper::class, unknown class 'client' using default of class 'default'
-
-irc.sillynet.com- *** Notice -- Configuration loaded without any problems ..However they do not seem to do anything, so should I just ignore them or what?
Code: Select all
-irc.sillynet.com- *** Notice -- unrealircd.conf:1058: Ignoring extra data
-
-irc.sillynet.com- *** Notice -- unrealircd.conf:1058: Ignoring extra data
-
-irc.sillynet.com- *** Notice -- unrealircd.conf:224: illegal oper::class, unknown class 'client' using default of class 'default'
-
-irc.sillynet.com- *** Notice -- Configuration loaded without any problems ..I would call those errors "problems," yet Unreal tells me that nothing is wrong. Is this correct?
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]