multiple ip ident@ipmask blocks

These are old archives. They are kept for historic purposes only.
Post Reply
pokemon

multiple ip ident@ipmask blocks

Post 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.
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Post Reply