mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Make ACLs IPv6-capable.
ACLs can now be configured to match IPv6 networks. This is only relevant for ACLs in chan_sip for now since other channel drivers do not support IPv6 addressing. However, once those channel drivers are outfitted to support IPv6 addressing, the ACLs will already be ready for IPv6 support. https://reviewboard.asterisk.org/r/791 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1238,6 +1238,9 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
|
||||
;deny=0.0.0.0/0.0.0.0 ; ACL: Control access to this account based on IP address
|
||||
;permit=192.168.0.60/255.255.255.0
|
||||
;permit=192.168.0.60/24 ; we can also use CIDR notation for subnet masks
|
||||
;permit=2001:db8::/32 ; IPv6 ACLs can be specified if desired. IPv6 ACLs
|
||||
; apply only to IPv6 addresses, and IPv4 ACLs apply
|
||||
; only to IPv4 addresses.
|
||||
|
||||
;[cisco1]
|
||||
;type=friend
|
||||
|
Reference in New Issue
Block a user