Hi,

On Tue, Sep 03, 2013 at 02:34:41AM +0000, Shannon Francis wrote:
> Hug,
> 
> It looks like these lines from that tutorial are causing some hang ups:
> 
> ---
>   acl abuse sc1_http_req_rate(ft_web) ge 100
>   acl flag_abuser sc1_inc_gpc0(ft_web)
>   . . . 
>   acl abuse sc1_http_err_rate(ft_waf) ge 10
>   acl flag_abuser sc1_inc_gpc0(ft_waf)
> ---
> 
> HAProxy is complaining because those fetch methods don't take arguments.
> Also, from the tutorial it looks like neither of these two front-ends tracks
> anything or has any stick-tables, so:
> 
> ---
>   acl abuse sc1_http_req_rate ge 100
>   acl flag_abuser sc1_inc_gpc0
>   . . . 
>   acl abuse sc1_http_err_rate ge 10
>   acl flag_abuser sc1_inc_gpc0
> ---
> 
> might make more sense.

I have not taken a look at the config on the blog, but the config above with
the argument became valid after 1.5-dev19 and is very convenient for some use
cases. However since this was implemented on late July, it's possible that
this older blog article did not expect to use it :-)

Best regards,
Willy


Reply via email to