Re: ACL, map: restrict access for dynamic hostname to some specific IPs

2019-03-04 Thread Willy Tarreau
Hi Guillaume, On Fri, Mar 01, 2019 at 12:33:57PM +0100, gdelafond+hapr...@aquaray.com wrote: > > On 9 Jan 2019, at 11:06, gdelafond+hapr...@aquaray.com wrote: > > > > Hello, > > > > I try to understand how to use the -M ACL flag. > > > > From the documentation : > > > > The "-M" flag allows a

Re: ACL, map: restrict access for dynamic hostname to some specific IPs

2019-03-01 Thread gdelafond+haproxy
> On 9 Jan 2019, at 11:06, gdelafond+hapr...@aquaray.com wrote: > > Hello, > > I try to understand how to use the -M ACL flag. > > From the documentation : > > The "-M" flag allows an ACL to use a map file. If this flag is set, the file > is > parsed as two column file. The first column conta

ACL, map: restrict access for dynamic hostname to some specific IPs

2019-01-09 Thread gdelafond+haproxy
Hello, I try to understand how to use the -M ACL flag. From the documentation : The "-M" flag allows an ACL to use a map file. If this flag is set, the file is parsed as two column file. The first column contains the patterns used by the ACL, and the second column contain the samples. The sampl

Re: acl + map

2015-02-26 Thread joris dedieu
Hi Willy, 2015-02-25 17:32 GMT+01:00 Willy Tarreau : > Hi Joris, > > On Wed, Feb 25, 2015 at 02:24:45PM +0100, joris dedieu wrote: >> Hi, >> I have a list of valid cookies associated with client IP, that I try >> to make match in an acl. >> The map format is : >> >> cookie-value\tip-address\n >> >>

Re: acl + map

2015-02-25 Thread Willy Tarreau
Hi Joris, On Wed, Feb 25, 2015 at 02:24:45PM +0100, joris dedieu wrote: > Hi, > I have a list of valid cookies associated with client IP, that I try > to make match in an acl. > The map format is : > > cookie-value\tip-address\n > > This acl should do : > if (client has cookie plop and plop valu

acl + map

2015-02-25 Thread joris dedieu
Hi, I have a list of valid cookies associated with client IP, that I try to make match in an acl. The map format is : cookie-value\tip-address\n This acl should do : if (client has cookie plop and plop value lookup in plop.map returns src); then the acl is valid endif I tried things like :

Re: add acl/map

2014-05-01 Thread Baptiste
cl<http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#9.2-add%20acl>", >> "add map" socket commands (and related del acl/map), as well as the newly >> added set-map/del-map/add-acl/del-acl within http-request/http-response >> >> Are

Re: add acl/map

2014-04-29 Thread Thierry FOURNIER
On Tue, 29 Apr 2014 12:39:43 -0500 Andy Walker wrote: > Regarding the "add > acl<http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#9.2-add%20acl>", > "add map" socket commands (and related del acl/map), as well as the newly > added set-map/del-m

add acl/map

2014-04-29 Thread Andy Walker
Regarding the "add acl<http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#9.2-add%20acl>", "add map" socket commands (and related del acl/map), as well as the newly added set-map/del-map/add-acl/del-acl within http-request/http-response Are these meant