Hello:<br><br>I'm Using Opensips-1.6.4 with permissions module to classify clients in different groups depending of the source IP. Everything works fine but today, after inserting a new subnet in table address and doing "opensipsctl address reload" i saw in the log the message:<br>
<br>CRITICAL:permissions:subnet_table_insert: subnet table is full<br><br>In address table I have 178 hosts (mask 32) and 129 networks (mask != 32)<br><br>Doing "opensipsctl fifo address_dump" y saw 178 host entries (all OK), but doing the command "opensipsctl fifo subnet_dump" shows only 128 entries.<br>
<br>Checking the sources I saw the filter in hash.c<br><br> count = table[PERM_MAX_SUBNETS].grp;<br><br> if (count == PERM_MAX_SUBNETS) {<br> LM_CRIT("subnet table is full\n");<br> return 0;<br>
}<br><br>and the value of PERM_MAX_SUBNETS in hash.h is 128 <br><br>I didn't found anything about this limit in module Readme.<br><br>Looking at sources of 1.8.3 seems to have the same limit (#define PERM_MAX_SUBNETS 128 in hash.h)<br>
<br>My questions are:<br><br>¿Is this networks limit real? ¿Can I increase it? ¿how?<br><br><br>Thanks<br><br>Carlos Oliva<br><br>