Le 28 août 2015 06:31, "Firman Gautama" <[email protected]> a écrit :
>
> 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

Hi Firman,

This is already haproxy's default behavior.
Do you have an example of a 'weird' character which passed through?

Baptiste

Reply via email to