Page 1 of 1

allow {

Posted: Tue Jun 21, 2016 8:12 pm
by floffy
Local users ,Server Allway Allow 3 ip, never 20


allow {
ip *@*;
class clients;
maxperip 3;
};

allow {
ip *@127.0.0.1;
ip *@localhost;
ip *@192.168.*;
host "vista"
host "www"
class clients;
maxperip 20;
};

Re: allow {

Posted: Thu Jun 23, 2016 1:27 pm
by Syzop
Your allow block is wrong. If you /REHASH the IRC server you should see these warnings and errors. Don't just ignore them !
For starters, you are missing a ; character at the end of both the host "vista" line and the host "www" line.
Then, you have multiple ip items but it isn't allowed this way. And you can't have both host (which doesn't exist anyway) and ip

Try this instead:

Code: Select all

allow {
    ip *@*;
    class clients;
    maxperip 3;
};
allow {
    ip *@192.168.*;
    class clients;
    maxperip 20;
};
And again, be sure to pay attention to all rehash errors :)

Re: allow {

Posted: Thu Jun 23, 2016 2:32 pm
by floffy
/rehash no err ,

will see if work and thanks