I am trying to convert the following rule to HAPROXY rule but it is not working for some reason. maybe somebody can help.
CF Rule
(http.request.method eq "GET" and http.request.uri.query eq "" and http.request.version eq "HTTP/1.1" and any(len(http.request.headers.values[])[] gt 60) )
Cloudflare Firewall Rules Page: (https://developers.cloudflare.com/firewall/cf-firewall-language/fields#dynamic-fields "Documentation")
Tried something simple without http version and query string, but still not working.
HAPROXY:
acl test1 hdr_cnt() gt 60 http-request deny if METH_GET test1 also tried with same method below and it didn’t work
req.fhdr_cnt