[Home]

Summary:ASTERISK-00566: permit / deny lines do not work in chan_sip.c
Reporter:tan (tan)Labels:
Date Opened:2003-11-23 17:13:47.000-0600Date Closed:2004-09-25 02:49:15
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:IP restriction does not work in sip.conf. An example of how to restrict registration for ip address 195.112.4.4 for a sip entity would be:

deny=0.0.0.0./0.0.0.0
permit=195.112.4.4/255.255.255.255

However this doesn't seem to filter on that IP.



****** ADDITIONAL INFORMATION ******

The suspected reason for this is that chan_sip.c doesn't apply the rules to incoming packets as it doesn't seem to call ast_apply_ha.
Comments:By: Brian West (bkw918) 2003-11-24 15:05:38.000-0600

Fixed in CVS.