rankingopk.blogg.se

Comodo waf
Comodo waf






comodo waf comodo waf

Modsecurity_rules_file /usr/local/lsws/conf/modsec/comodo/02_Global_nf Modsecurity_rules_file /usr/local/lsws/conf/modsec/comodo/01_Init_nf Modsecurity_rules_file /usr/local/lsws/conf/modsec/comodo/28_Apps_nf Modsecurity_rules_file /usr/local/lsws/conf/modsec/comodo/00_Init_nf Modsecurity_rules_file /usr/local/lsws/conf/modsec/comodo/nf Modsecurity_rules_file /usr/local/lsws/conf/modsec/nf (I’m not sure which is correct but i’ve observed both on different servers)ĭelete all files in /usr/local/lsws/conf/modsec/comodo except for nf and then upload all the updated files you downloaded from comodo.Ĭhange owner for the files you uploaded according to what they were prior by using either of these commands depending on which is correct for your setup:Ĭhown -R lsadm:nobody /usr/local/lsws/conf/modsec/comodoĬhown -R cyberpanel:cyberpanel /usr/local/lsws/conf/modsec/comodoĮdit the following file: /usr/local/lsws/conf/httpd_nfįind the line beginning modsecurity_rules_file it will either be cyberpanel:cyberpanel or lsadm:nobody. Using sftp go to /usr/local/lsws/conf/modsec/comodo where you will see the old rules.Ĭheck ownership on rules by opening any of the files and seeing who they are running as. It is important that you select NGINX rules as OpenLitespeed is not compatible with ModSecurity 2 rules. the below tutorial assumes you already have ModSecurity Comodo rules installed via CyberPanel admin area… As you may not know even fresh installs of CyberPanel come with ModSecurity rules that are over 2 years old so you may not be as protected as you think. I originally posted this in the Facebook group but Owen asked me to post it here also, so here we are.








Comodo waf