Hello,

this one:

  *
https://www.kamailio.org/docs/modules/stable/modules/ipops.html#ipops.f.is_ip_rfc1918

I haven't checked if tests the newer ranges (e.g., carrier grade nat).
The nat_uac_test() should have the recent ranges for non-routable ip
addresses, just in case one wants to double check.

Cheers,
Daniel

On 18.11.20 08:53, Juha Heinanen wrote:
> I looked in the wiki for a utility function that would check if given ip
> address is private, but didn't find one.  Does it exist?
>
> -- Juha
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> [email protected]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla


_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to