-
Posts
247 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Sandeep B.
-
security Solution for returning attackers when restarting CSF
Sandeep B. replied to Dutch_Mike's topic in CWP - Control WEB Panel
This regex works with mod security and upon 403 the ips are blocked -
security Solution for returning attackers when restarting CSF
Sandeep B. replied to Dutch_Mike's topic in CWP - Control WEB Panel
in csf regex file : /etc/csf/regex.custom.pm -
security Solution for returning attackers when restarting CSF
Sandeep B. replied to Dutch_Mike's topic in CWP - Control WEB Panel
first, you can try this mod security csf regex : if (($config{LF_MODSEC}) and ($globlogs{MODSEC_LOG}{$lgfile}) and ($line =~ /^\[\S+ \S+ \S+ \S+ \S+\] \[(\w*)?:error\] (\[pid \d+(:tid \d+)\]) \[client \S+:\S+\] \[client (\S+)\] ModSecurity:(( \[[^\]]+\])*)? Access denied/)) { my $ip = $4; $ip =~ s/^::ffff://; if (split(/:/,$ip) == 2) {$ip =~ s/:\d+$//} my $ruleid = "unknown"; if ($line =~ /\[id "(\d+)"\]/) {$ruleid = $1} if (checkip(\$ip)) {return ("mod_security (id:$ruleid) triggered by","$ip","mod_security-custom","1","80,443","1")} else {return} } -
security Solution for returning attackers when restarting CSF
Sandeep B. replied to Dutch_Mike's topic in CWP - Control WEB Panel
Hi they are trying with ssh port or any other port? -
yes you can ask your client to use redis cache in there Wordpress to speed up the sites and this will also lower the load fo your main server
-
hi will check urgently
-
okay thanks it will be resolved soon as our devs are already working on it
-
Since cwp developers are busy with el9 hope this will be fixed soon with cwp. Will follow up with them
-
one more thing if you get bad support in cwp send me the ticket number
-
support is active there we're fixing the support in cwp and soon will be fixed since CWP is going with el9 there are some bugs that we'll fixed ASAP.
-
for development: hestia for WordPress : cyberpanel for extended feature and OS compatibility: plesk and aapanel for shared hosting: CWP and CPanel Directadmin is good but very complex for easy reverse proxying with backend apps: cwp for free mailing MTA : hestia cp and cwp
-
Hi try to set as disk quota 0 in packages and try without any hooks
-
The disk quota shouldn't be -1 you need to set something like bigger positive number like 999999
-
did you set the quota as -1 ?
-
i've checked the xfs and ext4 quota and they are working fine
-
you can dm me with root logins
-
Yes it can be fixed generally i sent you the method will fix it.
-
Its not bug in cwp its your kernel quota bug
-
you're not using cwp compatible quota you need to follow this tutorial https://forum.centos-webpanel.com/centos-configuration/how-to-setup-user-quotas/ after adding to fstab : /dev/sda1 / ext4 srjquota=quota.user,jqfmt=vfsv0 0 0 usrjquota=quota.user,jqfmt=vfsv0 reboot the system and then run again mount -o remount / quotacheck -avugm quotaon -avug
-
can you post the output of this commands : mount -o remount / quotacheck -avugm quotaon -avug
-
it seems to be quota issue with kernel predefined quota recommended to use ext4 or xfs file system
-
CWP Apache enable TLS 1.3 - Control Web Panel
Sandeep B. replied to Sandeep B.'s topic in CWP - Control WEB Panel
this tutorial will also enable ALPN- 9 replies
-
- enable tls 1.3 in cwp
- enable tls 1.3 in cwp apache
- (and 1 more)
-
You can delete this line and check depends on mariadb_init
- 8 replies
-
- 1
-
- cwp
- mariadb upgrade
-
(and 2 more)
Tagged with:
-
httpd wont start after mod security install
Sandeep B. replied to c64's topic in CWP - Control WEB Panel
@c64solved by himself -
add this line to /etc/my.cnf [mysqld] pid-file = /var/lib/mysql/mariadb.pid restart mariadb service and edit monit config file : nano /etc/monit.d/cwp.mysql replace with below config : check process mariadb with pidfile /var/lib/mysql/mariadb.pid group database start program = "/usr/bin/systemctl start mariadb" stop program = "/usr/bin/systemctl stop mariadb" restart program = "/usr/bin/systemctl restart mariadb" if failed port 3306 protocol mysql then restart if 3 restarts within 5 cycles then timeout alert root@localhost only on {timeout} then restart monit service
- 8 replies
-
- cwp
- mariadb upgrade
-
(and 2 more)
Tagged with: