Re: Using the socket interface to access ACLs

2014-07-08 Thread Baptiste
On Mon, Jul 7, 2014 at 8:31 PM, William Jimenez william.jime...@itsoninc.com wrote: On Thu, Jul 3, 2014 at 5:59 AM, Baptiste bed...@gmail.com wrote: On Thu, Jul 3, 2014 at 2:24 PM, Thierry FOURNIER tfourn...@haproxy.com wrote: On Tue, 1 Jul 2014 23:00:13 +0200 Baptiste bed...@gmail.com

Re: Using the socket interface to access ACLs

2014-07-08 Thread Thierry FOURNIER
On Thu, 3 Jul 2014 14:59:46 +0200 Baptiste bed...@gmail.com wrote: On Thu, Jul 3, 2014 at 2:24 PM, Thierry FOURNIER tfourn...@haproxy.com wrote: On Tue, 1 Jul 2014 23:00:13 +0200 Baptiste bed...@gmail.com wrote: On Tue, Jul 1, 2014 at 10:54 PM, William Jimenez

Re: Using the socket interface to access ACLs

2014-07-07 Thread William Jimenez
On Thu, Jul 3, 2014 at 5:59 AM, Baptiste bed...@gmail.com wrote: On Thu, Jul 3, 2014 at 2:24 PM, Thierry FOURNIER tfourn...@haproxy.com wrote: On Tue, 1 Jul 2014 23:00:13 +0200 Baptiste bed...@gmail.com wrote: On Tue, Jul 1, 2014 at 10:54 PM, William Jimenez

Re: Using the socket interface to access ACLs

2014-07-03 Thread Baptiste
On Wed, Jul 2, 2014 at 6:55 PM, William Jimenez william.jime...@itsoninc.com wrote: Hi Baptiste et al., Did you see my last comments? Sorry if this is an issue already addressed, but I wasn't able to find anything on usage specifics in the documentation. Thanks, William On Tue, Jul 1,

Re: Using the socket interface to access ACLs

2014-07-03 Thread Thierry FOURNIER
On Tue, 1 Jul 2014 23:00:13 +0200 Baptiste bed...@gmail.com wrote: 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

Re: Using the socket interface to access ACLs

2014-07-03 Thread Baptiste
On Thu, Jul 3, 2014 at 2:24 PM, Thierry FOURNIER tfourn...@haproxy.com wrote: On Tue, 1 Jul 2014 23:00:13 +0200 Baptiste bed...@gmail.com wrote: 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.

Re: Using the socket interface to access ACLs

2014-07-02 Thread William Jimenez
Hi Baptiste et al., Did you see my last comments? Sorry if this is an issue already addressed, but I wasn't able to find anything on usage specifics in the documentation. Thanks, William On Tue, Jul 1, 2014 at 2:49 PM, William Jimenez william.jime...@itsoninc.com wrote: Hi Baptiste I tried:

Using the socket interface to access ACLs

2014-07-01 Thread William Jimenez
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

Re: Using the socket interface to access ACLs

2014-07-01 Thread Baptiste
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

Re: Using the socket interface to access ACLs

2014-07-01 Thread William Jimenez
Hi Baptiste, thank you for the response. I'm afraid I still don't follow. Say I have the an ACL that I want to toggle from its current state (as defined in the flat file) to 'always_false'. I can see it exists from the output of the 'show acl' command: # irc://chat.freenode.net:6667/# id (file)

Re: Using the socket interface to access ACLs

2014-07-01 Thread Baptiste
On Tue, Jul 1, 2014 at 11:16 PM, William Jimenez william.jime...@itsoninc.com wrote: Hi Baptiste, thank you for the response. I'm afraid I still don't follow. Say I have the an ACL that I want to toggle from its current state (as defined in the flat file) to 'always_false'. I can see it exists

Re: Using the socket interface to access ACLs

2014-07-01 Thread William Jimenez
Hi Baptiste I tried: # haproxyctl del acl myacl This command expects two parameters: ACL identifier and key. then i tried this # haproxyctl del acl myacl 0 Unknown map identifier. Please use #id or file. as well as the inverse ('0 myacl') I do see the acl listed though: # haproxyctl