Jump to content

Sandeep B.

Administrators
  • Posts

    250
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Sandeep B.

  1. 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}
    }

     

  2. 14 minutes ago, Plamen K. said:

    Hello,
    nice theme and great answer from Sandeep!
    One question to Sandeep, CWP has an advantage but just like said @torettos CWP in last 1-2 years have very bad technical support (before that everything was good) ... why last time is so terrible?

    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.

  3. for developmenthestia

    for WordPress : cyberpanel

    for extended feature and OS compatibility: plesk and aapanel

    for shared hostingCWP and CPanel

    Directadmin  is good but very complex 

    for easy reverse proxying with backend apps: cwp

    for free mailing MTA : hestia cp and cwp

×
×
  • Create New...