BIND 10 #2191: list form of ACL match value is rejected

BIND 10 Development do-not-reply at isc.org
Tue Aug 14 19:20:18 UTC 2012


#2191: list form of ACL match value is rejected
-------------------------------+-----------------------------------------
            Reporter:  jinmei  |                        Owner:
                Type:  defect  |                       Status:  new
            Priority:  medium  |                    Milestone:  New Tasks
           Component:  ACL     |                     Keywords:
           Sensitive:  0       |              Defect Severity:  N/A
         Sub-Project:  Core    |  Feature Depending on Ticket:
Estimated Difficulty:  0       |          Add Hours to Ticket:  0
         Total Hours:  0       |                    Internal?:  0
-------------------------------+-----------------------------------------
 According to the discussion in #2066, it seems to have been expected
 that the ACL parser should accept a list of strings (instead of a
 single string) for the value of a match mapping:

 {{{
 "from": ["2001:db8::/32", "192.0.2.0/24"]
 }}}

 but this type of form is currently rejected:

 {{{
 > config show Xfrout/transfer_acl
 Xfrout/transfer_acl[0]  {"action": "ACCEPT"}    any     (default)
 > config set Xfrout/transfer_acl[0] {"action": "ACCEPT", "from":
 ["192.0.2.0/24", "2001:db8::/32"]}
 > config commit
 Error: Failed to handle new configuration: Failed to parse transfer_acl:
 stringValue() called on non-string Element
 }}}

 I actually didn't know that a list was expected to be accepted, but if
 that was the intent, we should fix the implementation to meet it.

 The ACL documentation in the guide will refer to this ticket.  When
 this issue is fixed the corresponding doc should also be updated.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2191>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list