Hi Willy,

Willy Tarreau wrote:
>> At first I was thinking whether we could track the response status in stick
>> table, then it may be neat. but currently there isn't `http-response
>> track-sc?` directive. can it?
> 
> Interesting. No it isn't, just because I think we never found a valid
> use case for it. It's possible that you found the first one in fact :-)

Having this capability would also solve a long-standing itch for myself.

We have some authenticated services (via Basic Auth and other means)
which signal an authentication failure via a 403 status. We want to
throttle and finally block IPs which cause too many authentication
failures. Stick tables would be great for that as long as we could store
the response status to use it in subsequent requests.

I think, right now, we could build a crutch with `http-response
sc-inc-gpc0` but having real http-response track-sc actions would make
thing much easier and cleaner.

As such, I'm all in favor of this :)

Regards,
Holger

Reply via email to