WAF Request length exceeds defined buffer size

Hi All,

We are seeing support ID while uploading a file with file type as no extension (no_ext).

So we have created a custom File Type in Allowed File Types, details

no_ext, Request Length is 30MB and POST DATA LENGHT is also 30 MB.

But we still see WAF ID for the following error: ‘Request length exceeds defined buffer size’, which points to long_request_buffer_size which is set to 10MB.

My question is

  1. Why WAF ID comes for ‘Request length exceeds defined buffer size’ when I have increased the Request Length to 30 MB for the file type: ‘no_ext’ ?

  2. Does internal parameter ‘long_request_buffer_size’ takes precedence over the defined Request Length for no_ext File type?

Any suggestions would be very helpful.

Thanks, Ayush

Have a look at this solution:

One limit is specific to that file type, while the other is to whole ASM. So it does not matter which one is checked first, but the file has to be smaller than both sizes.

Hi,

First of don’t forget that increasing the long_request_buffer_size parameter value will increase the allowed size of all requests processed by the BIG-IP ASM system.

More changing the long_request_buffer_size parameter value requires that you restart the BIG-IP ASM service, resulting in a brief traffic disruption. Did you do that?

Keep me in touch. regards,