Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
IP basd authentication for IP address ranges/subnets
Author Message
Ferenc
Brekeke Junior Member


Joined: 11 Jan 2007
Posts: 5

PostPosted: Fri Mar 23, 2007 10:44 am    Post subject: IP basd authentication for IP address ranges/subnets Reply with quote

Dear support could you tell me how to differentiate SIP messages based on source subnet ranges?

For example if I would like to deactivate the digest authentication from a certain subnet on INVITE messages (let's say from 10.0.0.0/24), but would like to keep the digest authentication method for SIP requests coming from any other networks then what should I do?

I know how to set it up for a single IP address, but what can I do if I have to deal with a full /24 network?

Sample Matching/Deploy patterns we are using on single IP addresses:

Matching Patterns
incoming $request = ^INVITE
$addr = 10\.0\.0\.1
Deploy Patterns
$auth = false
$continue = true

Best regards,
--
Ferenc
Back to top
View user's profile
voipwell.com
Partner PBX


Joined: 20 Sep 2005
Posts: 528
Location: Tannersville, Pennsylvania

PostPosted: Tue Mar 27, 2007 5:46 pm    Post subject: Reply with quote

Just fill in the prefix.

$addr=10\.0\.0\.

This will pick up the whole subnet.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1