IP-filtering

These are old archives. They are kept for historic purposes only.
Post Reply
DaedalusVR
Posts: 3
Joined: Sat May 07, 2005 12:47 pm
Contact:

IP-filtering

Post 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.
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

What are your allow blocks?
DaedalusVR
Posts: 3
Joined: Sat May 07, 2005 12:47 pm
Contact:

Post by DaedalusVR »

allow { ip *@192.168.0.*; hostname *@*; class clients; maxperip 5; };
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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;
DaedalusVR
Posts: 3
Joined: Sat May 07, 2005 12:47 pm
Contact:

Post by DaedalusVR »

Hmm... I'll try it. By the way, thx.
Post Reply