[sr-dev] [tracker] Comment added: add support to auth_db to validate source IP address

sip-router bugtracker at sip-router.org
Fri Dec 5 16:00:01 CET 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#499 - add support to auth_db to validate source IP address
User who did this - Emmanuel Schmidbauer (eschmidbauer)

----------
Thanks @Alex.
Your example worked:
modparam("auth_db", "load_credentials", "$var(ip)=ip_address") 

if (!proxy_authenticate("$fd", "user_extension") || !is_in_subnet("$si", "$var(ip)")) {
    proxy_challenge("$fd", "1");
    exit;
}

Please disregard this patch, I would like to doc this example on auth_db if possible.
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=499#comment1728

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list