Client class sorting
Posted: Sun Jun 05, 2005 10:03 pm
I am having issues with the class and allow blocks. I have setup an extra class and an extra allow block. The class is for opers so that they are pinged less and have different sendq and recvq limits and more hosts per ip than normal users. I have made an allow block for me so that it puts me in the opers class if I specify a password (if not I'll just be classified as a client). The classess appear to be working fine but the allow block isn't putting me where I should be. I put in the correct password, it puts me in the clients class, if I put in no password or an incorrect password, it puts me in the clients class. But if I remove the allow block that puts people in the clients class then it works great, but then no normal users can connect. Here are my classes and allow blocks (in order of the config):
Code: Select all
class opers
{
pingfreq 600;
maxclients 50;
sendq 200000;
recvq 16000;
};
class clients
{
pingfreq 120;
maxclients 500;
sendq 100000;
recvq 8000;
};
class servers
{
pingfreq 400;
maxclients 10;
sendq 1000000;
connfreq 120;
};
Code: Select all
allow {
ip *@<myip>;
hostname NOTHING;
class opers;
password "<my md5 password that i will remove>" { md5; };
maxperip 10;
options {
nopasscont;
};
};
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 3;
};