Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:waf:standalone [2018/11/08 19:56] Lisa Clarke Proofreading and Rewording |
litespeed_wiki:waf:standalone [2019/01/24 16:05] Jackson Zhang |
||
---|---|---|---|
Line 37: | Line 37: | ||
</code> | </code> | ||
- | This will download Comodo Litespeed rules, and move ''rules.conf.main'' to ''rules.conf''. This is the file we will reference in the WebAdmin console. | + | This will download Comodo Litespeed rules, and move ''rules.conf.main'' to ''rules.conf''. This is the master file including all rules. You can reference in the WebAdmin console for this master file. |
=====Add WAF Rule Set===== | =====Add WAF Rule Set===== | ||
Line 52: | Line 52: | ||
* **Action**: ''None'' | * **Action**: ''None'' | ||
* **Enabled**: ''Yes'' | * **Enabled**: ''Yes'' | ||
- | * **Rules Defination**: ''Include $SERVER_ROOT/conf/comodo_litespeed/rules.conf'' | + | * **Rules Definition**: ''Include $SERVER_ROOT/conf/comodo_litespeed/rules.conf'' |
Click **Save** to activate the rules. | Click **Save** to activate the rules. | ||
+ | |||
+ | Rules.conf file is like the following and it is a Comodo master file to include all rules in order. | ||
+ | |||
+ | Include 00_Init_Initialization.conf | ||
+ | Include 01_Init_AppsInitialization.conf | ||
+ | Include 02_Global_Generic.conf | ||
+ | Include 03_Global_Agents.conf | ||
+ | Include 04_Global_Domains.conf | ||
+ | Include 05_Global_Incoming.conf | ||
+ | Include 06_Global_Backdoor.conf | ||
+ | Include 07_XSS_XSS.conf | ||
+ | Include 08_Global_Other.conf | ||
+ | Include 09_Bruteforce_Bruteforce.conf | ||
+ | Include 10_HTTP_HTTP.conf | ||
+ | Include 11_HTTP_HTTPDoS.conf | ||
+ | Include 12_HTTP_Protocol.conf | ||
+ | Include 13_HTTP_Request.conf | ||
+ | Include 14_Outgoing_FilterGen.conf | ||
+ | Include 15_Outgoing_FilterASP.conf | ||
+ | Include 16_Outgoing_FilterPHP.conf | ||
+ | Include 17_Outgoing_FilterSQL.conf | ||
+ | Include 18_Outgoing_FilterOther.conf | ||
+ | Include 19_Outgoing_FilterInFrame.conf | ||
+ | Include 20_Outgoing_FiltersEnd.conf | ||
+ | Include 21_PHP_PHPGen.conf | ||
+ | Include 22_SQL_SQLi.conf | ||
+ | Include 23_ROR_RORGen.conf | ||
+ | Include 24_Apps_Joomla.conf | ||
+ | Include 25_Apps_JComponent.conf | ||
+ | Include 26_Apps_WordPress.conf | ||
+ | Include 27_Apps_WPPlugin.conf | ||
+ | Include 28_Apps_WHMCS.conf | ||
+ | Include 29_Apps_Drupal.conf | ||
+ | Include 30_Apps_OtherApps.conf | ||
+ | |||
+ | If some commercial rules set or your own rules set which does not have such a master file, you can either include rules with absolute path one by one by yourself at ''Rules Definition'', or make a master file to include all rules with full path then include only one master file at ''Rules Definition''. | ||
+ | |||
+ | For mod_security multi-rule files inclusion, rule files must be included as the right order to make them work properly. | ||
+ | |||
+ | |||
=====Enable Firewall===== | =====Enable Firewall===== |