[sr-dev] [kamailio/kamailio] Support for 192.0.0.0/29 as NATed source (follow-up) (#2277)

Daniel-Constantin Mierla notifications at github.com
Tue Apr 7 22:51:12 CEST 2020


@henningw - I am not sure how to deal correctly in this case. But I would rather consider it a natted source is if is reserved for special purposes, or, in other words, not allocated for direct IP routing over Internet. 

`192.0.0.0/29`, which is subset of `192.0.0.0/24`, is allocated for dual-stack lite, so it is considered a natted address.

Even such address it is supposed not be used, apparently it is because @zeusca got traffic with headers using an IP from the range. Could be a misconfigured router or network, but if the traffic is from residential users, it can be hard to ask them to fix it. Without treating it as nat, calls will fail to connect properly.

Maybe an option is to add a modparam to control if one wants to match also against "reserved ranges of addresses", besides what is listed now in the array `nets_1918` inside nathelper module.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2277#issuecomment-610613715
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200407/7324062c/attachment-0001.html>


More information about the sr-dev mailing list