[SR-Users] Potential ip_addr_match_net bug

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 7 11:19:32 CEST 2015


Hello,

would you be able to test the patch from next commit?

https://github.com/kamailio/kamailio/commit/f429e753dfa750a604bfb0acb5068b47d0fbe142

(https://github.com/kamailio/kamailio/commit/f429e753dfa750a604bfb0acb5068b47d0fbe142.diff)

I would be able to test properly next week, being on a travel right now,
but if you confirm it works, then I will backport.

Cheers,
Daniel

On 30/06/15 01:21, Kyle Kurz wrote:
> 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 <http://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
> <http://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/0ead7ab31bf0df6eb313dc3f9a4979c2a45cce8b),
> 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
>
> -- 
>
> *Kyle Kurz*
> Digium, Inc. · Senior Software Engineer
> 9115 Brown Deer Rd · San Diego, CA 92121 · US
> direct +1 858.537.1166
> Check us out at: http://digium.com
> <http://digium.com/> · http://asterisk.org <http://www.asterisk.org/> 
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150707/8ac4a7f6/attachment.html>


More information about the sr-users mailing list