Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

HAProxy - How to filter (all) Headers by Regex (2 replies)

$
0
0
Hello All,

I was just wondering what is the best way if we want to filter all headers
by certain regex to block invalid/malicious characters?
I read on the documentation, CMIIW, but the example there only shown if we
know the specific header name.
Does anybody know how to filter all the http headers with specific regex,
so we could discard all the traffic with the invalid headers and only
forward the good one.

Regards,
Firman Gautama

Viewing all articles
Browse latest Browse all 5112

Trending Articles