allow {

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Locked
floffy
Posts: 41
Joined: Tue May 05, 2015 9:55 pm

allow {

Post by floffy » Tue Jun 21, 2016 8:12 pm

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;
};

Syzop
UnrealIRCd head coder
Posts: 1957
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: allow {

Post by Syzop » Thu Jun 23, 2016 1:27 pm

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 :)

floffy
Posts: 41
Joined: Tue May 05, 2015 9:55 pm

Re: allow {

Post by floffy » Thu Jun 23, 2016 2:32 pm

/rehash no err ,

will see if work and thanks

Locked