Difference between revisions of "Litespeed"
m (→Do the modsecurity rules work with Litespeed) |
m (→Do the modsecurity rules work with Litespeed) |
||
Line 4: | Line 4: | ||
== Do the modsecurity rules work with Litespeed == | == Do the modsecurity rules work with Litespeed == | ||
− | |||
− | |||
When not used with ASL, or with ASL but not through the T-WAF, please see this page for what rule language features Litespeed supports: | When not used with ASL, or with ASL but not through the T-WAF, please see this page for what rule language features Litespeed supports: | ||
Line 17: | Line 15: | ||
# Multi-part Upload protection: Litspeed does not support scanning attached files content in multi-part upload. If you use [[ASL]] you will be able to scan attached files in a multi-part upload. | # Multi-part Upload protection: Litspeed does not support scanning attached files content in multi-part upload. If you use [[ASL]] you will be able to scan attached files in a multi-part upload. | ||
# lua: This is a language that lets us construct advanced rules. Currently they are used for advanced anti-spam protection and advanced SQLi and XSS injection protection. Therefore, these types of rules are not supported by Litespeed, unless you use [[ASL]]. | # lua: This is a language that lets us construct advanced rules. Currently they are used for advanced anti-spam protection and advanced SQLi and XSS injection protection. Therefore, these types of rules are not supported by Litespeed, unless you use [[ASL]]. | ||
+ | |||
+ | '''When used with the [https://www.atomicorp.com/wiki/index.php/ASL_WAF#local a local WAF] in [[ASL]] all rules work.''' | ||
== How to configure the T-WAF for litespeed == | == How to configure the T-WAF for litespeed == |
Revision as of 20:39, 18 August 2014
Contents |
Does ASL work with LiteSpeed?
Yes, ASL is supported with LiteSpeed.
Do the modsecurity rules work with Litespeed
When not used with ASL, or with ASL but not through the T-WAF, please see this page for what rule language features Litespeed supports:
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:mod_security_compatibility
Currently, if you do not use ASL, this means Litespeed does not support the following features:
- Output analysis: This means Litespeed can not inspect the output from the web server. This means rules like malware detection, malicious shell prevention, brute force protection, data loss protection and other rules that analyze the output from the web server are not supported by Litespeed, unless you use ASL.
- XML inspection: Litespeed has chosen to not support XML inspection, this means XML based attacks are unfortunately not protected on that platform, unless you use ASL.
- Multi-part Upload protection: Litspeed does not support scanning attached files content in multi-part upload. If you use ASL you will be able to scan attached files in a multi-part upload.
- lua: This is a language that lets us construct advanced rules. Currently they are used for advanced anti-spam protection and advanced SQLi and XSS injection protection. Therefore, these types of rules are not supported by Litespeed, unless you use ASL.
When used with the a local WAF in ASL all rules work.
How to configure the T-WAF for litespeed
Step 1) Log into ASL.
Step 2) Click on the "Configuration" tab.
Step 3) Click on the "WAF" tab and select "WAF configuration".
Step 4) Click the "Add" button.
Step 5) Select "Local Web Server" from the "Add protection for" drop down.
Step 6) Select the port that litespeed runs on. Normally this is port 80.
Step 7) Check the SSL box
Enter the file system path to your SSL certificate, and SSL key in the "Path to SSL Certificate" and "Path to SSL Key file" boxes.
Step 8) Click Save
Note: Litespeed does not support the WAF in embedded mode.
Questions
I've loaded the rules into Litespeed, does that mean they work with Litespeed?
Please see the LSWS official page for what language features Litespeed supports and does not support:
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:mod_security_compatibility