I'm using allow_address function of the permissions module and I'm seeing strange behavior with network masks not divisible by 8. I have 172.16.0.0/12 in my address table and Kamailio is marking packets from 172.56.16.232 as being part of that local subnet. If I change the subnet to 172.16.0.0/16, I no longer have an issue.
I know there was a bug several years ago related to this ( http://git.kamailio.org/gitlist/index.php/sip-router/commit/0ead7ab31bf0df6e...), but that code is very different, so I'm wondering if a regression has crept in? I'm using Kam 4.1.6.
Thanks, Kyle