Forum Discussion

glowplug_278897's avatar
glowplug_278897
Icon for Nimbostratus rankNimbostratus
Apr 17, 2018

increasing ASM system variable ecard_max_http_req_uri_len

Has anyone needed to increase the ASM system variable ecard_max_http_req_uri_len in a production envinronment?

 

ecard_max_http_req_uri_len

 

2048 bytes

 

Defines a maximum URI length that the system can support in its internal buffers. If this number is higher (more permissive) than the internal URI-length limit defined per file type, the internal file-type limit is the actual limit. Exceeding this internal limit triggers the HTTP protocol compliance failed violation.

 

If so, how large did you make it?

 

  • Can the ecard_max_http_req_uri_len variable be read from the CLI? I can't seem to find it anywhere.

  • Charles_Rosenbe's avatar
    Charles_Rosenbe
    Historic F5 Account

    Hello. You don't mention any versions, but to answer the basic question, yes. I have seen people increase this. Depending on how large, it may have side effects, but there is no hard-and-fast rule about x size causes y side-effect. How large are your URLs? If you are having other issues with this violation, feel free to open a Support Case.

     

    • MSZ_221163's avatar
      MSZ_221163
      Icon for Nimbostratus rankNimbostratus

      Why this violation triggered? Is the problem related to the user browser or any malicious in his PC?