Page 1 of 1

IP-filtering

Posted: Sat May 07, 2005 5:47 pm
by DaedalusVR
Heh... Let's start. I have two IP-subnets, configured in UIRCd, and I need to deny another connection. In conf I wrote allowing only this IP-subnets (for example - allow { ip *@10.0.0.* ... }, but another machines, which don't enter to this subnet (for example 12.3.4.5 ip-address) connecting to ircd successfully.
Shortly - I want to block aliens for my two ip-subnets, because UIRCd configured on ISP server and it needs only for clients of this ISP.

Posted: Sat May 07, 2005 5:54 pm
by Stealth
What are your allow blocks?

Posted: Sat May 07, 2005 6:01 pm
by DaedalusVR
allow { ip *@192.168.0.*; hostname *@*; class clients; maxperip 5; };

Posted: Sat May 07, 2005 6:06 pm
by Stealth
Read the docs. They clearly say allow block are an "OR" match, which means users can connect if their IP OR Host match the IP or host in the block. You need to specify a host that does not exist, such as:

Code: Select all

host NOTHING;

Posted: Sat May 07, 2005 6:16 pm
by DaedalusVR
Hmm... I'll try it. By the way, thx.