I:lines

These are old archives. They are kept for historic purposes only.
Post Reply
n1kv4rt
Posts: 2
Joined: Wed Nov 26, 2008 12:33 pm

I:lines

Post by n1kv4rt »

Problem: I have 2 class blocks named A and B. How can i define, which class block or allow block will be used first by UnrealIRCD?
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: I:lines

Post by Jobe »

Well with Allow blocks, the lowest allow block is read first, tested first, so the first allow block to match a user is used for that user first.

Then for which class users are put into, you can specify that per allow block.

All this IS covered in the documentation at "http://www.unrealircd.com/files/docs/un ... allowblock":
About matching
The access control works like this: ip matches OR host matches, so "hostname *@*"; and "ip *@1.2.3.4" will mean it will always match. Also the allow blocks are read upside down, so you need specific host/ip allow blocks AFTER your general *@* allow blocks. Additionally, if you want to setup a block that only matches based on IP, then set the hostname to something invalid, such as "hostname NOBODY;", this will allow the block to only match based on IP.
Your IP: Image
Your Country: Image
Post Reply