Module that allows IPs by <Net address>/<Net mask>

These are old archives. They are kept for historic purposes only.
Post Reply
Evgeny
Posts: 3
Joined: Thu Sep 13, 2012 11:24 am

Module that allows IPs by <Net address>/<Net mask>

Post by Evgeny »

E. g. "10.96.0.0/11"
1. Is there such module?
2. If no, does permit module API to create such kind module?

Existing allow block with IP mask as "*" is very inconvenient for me.
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Module that allows IPs by <Net address>/<Net mask>

Post by Jobe »

In what type of ban are you asking for CIDR masks to be allowed?

The reason I ask is because with the exception of channel bans (mode +b), channel ban exceptions (mode +e) and channel invite exceptions (mode +I) just about every place that accepts a mask accepts CIDR as documented at http://www.unrealircd.com/files/docs/un ... ature_cidr
Your IP: Image
Your Country: Image
Evgeny
Posts: 3
Joined: Thu Sep 13, 2012 11:24 am

Re: Module that allows IPs by <Net address>/<Net mask>

Post by Evgeny »

I speak about http://www.unrealircd.com/files/docs/un ... allowblock.
The ip mask is in the form user@ip, user is the ident and often set at *, ip is the ipmask. Some examples: *@* (from everywhere), *@192.168.* (only from addr's starting with 192.168), etc.
Is CIDR supported in this section?
Evgeny
Posts: 3
Joined: Thu Sep 13, 2012 11:24 am

Re: Module that allows IPs by <Net address>/<Net mask>

Post by Evgeny »

I have just tested CIDR in allow block. It looks working!
katsklaw
Official supporter
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Module that allows IPs by <Net address>/<Net mask>

Post by katsklaw »

IIRC, channel bans can also be CIDR as of 3.2.8 or 3.2.8.1.
Post Reply