On Tue, Jul 1, 2014 at 10:54 PM, William Jimenez <william.jime...@itsoninc.com> wrote: > Hello > I am trying to modify ACLs via the socket interface. When I try to do > something like 'get acl', I get an error: > > Missing ACL identifier and/or key. > > How do I find the ACL identifier or key for a specific ACL? I see the list > of ACLs when i do a 'show acl', but unsure which of these values is the file > or key: > > # id (file) description > 0 () acl 'always_true' file '/etc/haproxy/haproxy.cfg' line 19 > 1 () acl 'src' file '/etc/haproxy/haproxy.cfg' line 20 > 2 () acl 'src' file '/etc/haproxy/haproxy.cfg' line 21 > 3 () acl 'src' file '/etc/haproxy/haproxy.cfg' line 22 > > Thanks
Hi William, In order to be able to update ACL content, they must load their content from a file. The file name will be considered as a 'reference' you can point to when updating content. Don't forget to update simultaneously the content from an ACL and from the flat file to make HAProxy reload reliable :) Baptiste