: Thursday, March 22, 2012 6:02 AM
To: Jens Dueholm Christensen (JEDC)
Cc: haproxy@formilux.org
Subject: Re: Help with ACL
Hi Jens,
No need to apologies, you may have helped a few other people ;)
You can also do this:
acl acl_myip src 1.1.1.1
acl acl_collector path_beg -f /etc/haproxy/collecto
building a new ACL
> with the correct rules.. :)
>
> Regards,
> Jens Dueholm Christensen
>
> From: Jens Dueholm Christensen (JEDC) [jens.dueh...@r-m.com]
> Sent: 21 March 2012 23:32
> To: haproxy@formilux.org
> Subject: RE: Help with ACL
&
:32
To: haproxy@formilux.org
Subject: RE: Help with ACL
Hi Baptiste
I can see I forgot to add some more information to my previous mail..
Existing functionality (ie. ACLs and sorting into backends) and traffic must
not be changed.
There is a lot of traffic to other parts of the system (ie. for
ent to the new_collectors backend if the traffic was comming from
1.1.1.1.
Regards,
Jens Dueholm Christensen
From: Baptiste [bed...@gmail.com]
Sent: 21 March 2012 22:02
To: Jens Dueholm Christensen (JEDC)
Cc: haproxy@formilux.org
Subject: Re: Help with AC
Hi Jens,
You can setup 2 ACLs, one with IPs one with your header and use them
on the use_backend line:
acl myip src 1.1.1.1 1.1.1.2
acl myheader hdr(MyHeader) keyword
use_backend acl_collector myip || myheader
Note that the use_backend order matters.
The first matching will be used. So it'
5 matches
Mail list logo