[OpenSIPS-Users] subnet/range with permission module ?

Iñaki Baz Castillo ibc at aliax.net
Tue May 25 19:19:05 CEST 2010


2010/5/24 Bogdan-Andrei Iancu <bogdan at voice-system.ro>:
> Hi Julien,
>
> the address table has the "mask" field for subnets - it can be from 0
> (whole internet) to 32 (strict IP matching).

But take into account a limitation: if two entries have the same
ip_addr and different mask (both different than 32), this is, two
subnets, the the result in unexpected as the module just take the
first subnet (mask < 32) for a given ip_addr. Confirmed by examining
the module code.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Users mailing list