IP basd authentication for IP address ranges/subnets

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
Ferenc
Posts: 5
Joined: Thu Jan 11, 2007 11:50 am

IP basd authentication for IP address ranges/subnets

Post by Ferenc »

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 pattern:
incoming $request=^INVITE
$addr=10\.0\.0\.1

Deploy pattern:
$auth=false
$continue=true

Best regards,
--
Ferenc
voipwell.com
Posts: 528
Joined: Tue Sep 20, 2005 9:10 am
Location: Tannersville, Pennsylvania

Post by voipwell.com »

Just fill in the prefix.

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

This will pick up the whole subnet.
Post Reply