Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
ModSecurity 2.5

You're reading from  ModSecurity 2.5

Product type Book
Published in Nov 2009
Publisher Packt
ISBN-13 9781847194749
Pages 280 pages
Edition 1st Edition
Languages

Table of Contents (17) Chapters

ModSecurity 2.5
Credits
About the Author
About the Reviewers
1. Preface
1. Installation and Configuration 2. Writing Rules 3. Performance 4. Audit Logging 5. Virtual Patching 6. Blocking Common Attacks 7. Chroot Jails 8. REMO 9. Protecting a Web Application Directives and Variables Regular Expressions Index

Using the ctl action to control the rule engine


The ctl action allows for fine-grained control of the rule engine. Using this action you can configure the engine on a per-transaction basis. The following parameters are supported:

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}

Parameter

Description

Corresponding directive

auditEngine

Turn the audit engine on or off.

SecAuditEngine

auditLogParts

Define what data to include in audit logs.

SecAuditLogParts

debugLogLevel

Change the debug log level.

SecDebugLogLevel

ruleRemoveById

Remove a rule or a range of rules.

SecRuleRemoveById

requestBodyAccess

Turn request body access on or off.

SecRequestBodyAccess

requestBodyLimit

Set the request body limit.

SecRequestBodyLimit

requestBodyProcessor

Configure the request body processor.

N/A

responseBodyAccess

Turn response body access on or off.

SecResponseBodyAccess

responseBodyLimit

Set the response body limit.

SecResponseBodyLimit

ruleEngine

Turn the rule engine...