Re: http-request capture id frontend/backend not working?

2016-03-22 Thread Baptiste
Hi Daniel, Good catch I propose to return an alert only if the proxy being tested is frontend or a listen. There is no way from the backend to know which frontends points to it, so we can't check if memory will be allocated or not. Baptiste On Fri, Mar 18, 2016 at 2:28 PM, Daniel

http-request capture id frontend/backend not working?

2016-03-19 Thread Daniel Schneller
Hi! I am trying to capture an HTTP Request Header that gets added under certain circumstances in the backend. From the documentation I understand I can use a capture slot for that. This is what I tried in my stripped down config file: ... frontend fe_http bind 192.168.1.3:80 declare

Re: http-request capture id frontend/backend not working?

2016-03-19 Thread Daniel Schneller
Trying to understand this better, I came across commit 3e7d15e744d5f0137dd266efba1f317895a31273 Author: Baptiste Assmann Date: Tue Nov 3 23:31:35 2015 +0100 BUG/MINOR: http rule: http capture 'id' rule points to a non existing id It is possible to create a http