owasp-modsecurity / owasp-modsecurity/ModSecurity
Updating RequestBodyNoFilesLimit at runtime (feature request)
@zimmerle is already working on this.
Since Oct 23, 2018.
- Dominant language
- C++
- Stars
- 9.8k
- Forks
- 1.8k
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 1
Description
- ModSecurity version: 2.9.2
- Environment: Apache 2
The ctl action enables us to change ModSecurity configuration at runtime per transaction.
However, we're only able to update a limited number of configuration directives that are listed here.
This is a feature request to add ctl:requestBodyNoFilesLimit (see SecRequestBodyNoFilesLimit) to the editable configuration directives at runtime.
If there are several web services running under several sub-domains on the same server, some of them might need larger request body sizes than others. To optimize security and instead of changing the configuration directive globally, I'd prefer to be able to update this directive depending on (f.ex.) the request filename (or server name, ..., but at runtime).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.