Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:waf:standalone [2018/05/16 19:30]
Eric Leu [Method 2: Command injection attack]
litespeed_wiki:waf:standalone [2018/10/05 20:05]
Jackson Zhang [Verify Comodo]
Line 1: Line 1:
-====== How to Setup Comodo ​on Standalone LiteSpeed Web Server======+====== How to enable mod_security rules on Standalone LiteSpeed Web Server====== 
 +In LSWS Web Admin console, there is "Web Application Firewall (WAF)" under: Server -> Security ->  "Web Application Firewall (WAF). It is a LSWS built-in feature to enable and add mod_scurity rule set on an LSWS native server. For a control panel environment,​ these steps are unnecessary. Simply enable the mod_security rule set from the control panel, the same way you would enable a rule set for Apache. For more information on that, please see [[litespeed_wiki:​waf#​with_a_control_panel|this wiki]]. ​  
 + 
 +{{ :​litespeed_wiki:​waf:​lsws-builtin-waf.png?​600 |}} 
 + 
 +There are many rule sets you can choose, such as: **OWASP**, **Comodo**, **Atomicorp**,​ **Imunify360** etc. LSWS are compatible with these rule sets and it is up to you to choose one of them. The following will use Comodo rule set as an example to show you how to enable mod_security rule set on LSWS native mode. 
 + 
 [[https://​waf.comodo.com/​ | Comodo ]] is a Mod_Security rule set created by the Comodo Team. It provides real time protection for web apps running on the LiteSpeed Web Server. Its functions include: [[https://​waf.comodo.com/​ | Comodo ]] is a Mod_Security rule set created by the Comodo Team. It provides real time protection for web apps running on the LiteSpeed Web Server. Its functions include:
   * Protecting sensitive customer data   * Protecting sensitive customer data
Line 55: Line 62:
 Click **Save** to enable the firewall, and perform Graceful Restart. Click **Save** to enable the firewall, and perform Graceful Restart.
  
-===== Verify Comodo ​=====+===== Test mod_security rule set =====
 ====Method 1==== ====Method 1====
   - To check CWAF for protection, send the request as shown below: <​code>​http://​$server_domain/?​a=b AND 1=1</​code>​ The server will respond with a 403 status code \\ {{:​litespeed_wiki:​waf:​comodo-5.png?​500|}}   - To check CWAF for protection, send the request as shown below: <​code>​http://​$server_domain/?​a=b AND 1=1</​code>​ The server will respond with a 403 status code \\ {{:​litespeed_wiki:​waf:​comodo-5.png?​500|}}
  • Admin
  • Last modified: 2019/01/24 21:16
  • by Lisa Clarke