Forum Discussion
ASM length of Illegal URL
I'm new to working with ASM, I have a policy in blocking mode in our test environment and the error I'm researching is :
Request blocked, violations: Illegal URL length
My questions are where is this length defined?
The developer doesn't think it is a significant risk.
The length of one of the URLs posted is 3848 char.
I'm assuming this length adjustable, if so a pointer to some docs would be a great help.
Thanks
- natheCirrocumulusSteve
- Mike_MaherNimbostratusSteve,
- Steve_88099NimbostratusThanks for the replies, below is the added detail on my Blocked transaction.
ecard_max_http_req_uri_len
- Mike_MaherNimbostratusHmmmm..... I am not sure you can do that, because the URL length control is under to File Type not the specific URL, so you would be adjusting the entire .do file type category. The only way I could think of to do what you are asking, is to create another HTTP Class/Policy for just that URL. You can go and create an HTTP Class and then Check the box that says URI Paths, select Match Only in the drop down box and put in /AdminCategories.do. Then you can configure the URL length specically for that URL. Obviously this is a bit messy in that you now have a separate policy for just the one URL, but you keep an edge on the security. Honestly though I would probably just adjust the URL Length for .do in the main policy and call it a day, as long as your back end server/application is configured well and can handle other .do URLs of the same length there is really not much of a concern.
- Steve_88099NimbostratusFor those who may stumble upon this thread, there are ASM features in addition to what Mike is referring to regarding file types.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com