Summary: | ASTERISK-01566: [patch] Use Asterisk ACL routines for local network matching | ||
Reporter: | Olle Johansson (oej) | Labels: | |
Date Opened: | 2004-05-08 15:15:38 | Date Closed: | 2004-09-25 02:46:03 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) siplocalnet.txt | |
Description: | This patch changes the localnetwork NAT support routine to use the ACL routines. This makes it possible to add multiple local networks, also depreciates the "localmask" config option since the syntax now is localnet=<ip-address>/<mask> ****** ADDITIONAL INFORMATION ****** This patch is extracted from chan_sip2. | ||
Comments: | By: Brian West (bkw918) 2004-05-08 15:49:42 Does it support CIDR notation? ie 192.168.0.1/24 The ACL's do this now.. maybe you can use that code? bkw By: Olle Johansson (oej) 2004-05-08 16:30:29 I use the same routines, so it works. I wanted to simplify since we already had those routines in ACL. Also, being able to add multiple networks adds functionality. Thirdly, we need this when adding support for SIP outbound proxy later. |