Page 1 of 1

multiple ip ident@ipmask blocks

Posted: Wed Jun 15, 2005 2:51 pm
by pokemon
my users have more than one ip mask that they are coming from.. i amd oing

allow {
hostname *@nonexist.shit.localho;
ip *@1.2.3.*;
ip [email protected].*;
class clients;
password "asdfad";
maxperip 20;
options {
useip;
};
};
--

why doesn't this work? it only works if i remove one of the IPs.. how can i fix this? thank you.

Posted: Wed Jun 15, 2005 3:01 pm
by Dukat
Because you didn't read the documentation. Check the correct syntax: http://www.vulnscan.org/UnrealIRCd/unre ... allowblock

You can have only one IP statement, not more. If you need more IP ranges, add an allow block for every range. (Maybe you could use CIDR? :idea: )

Oh, and... are you sure you want to use "useip"? :P