Skip to main content

help with perl syntax in csf.fignore

Comments

4 comments

  • rpvw
    I think the reason your regex is not working is because you are trying to block a data file and not a process. Try blocking the specific process that CSF reports (this will probably be a PHP file somewhere in your wp fileset) that is responsible for uploading the file to your Dropbox
    0
  • WorkinOnIt
    Thanks for your help, however as mentioned, I don't want to block the process as that has wide reaching ramifications. For example, the process concerned is listed as either; exe: /opt/cpanel/ea-php56/root/usr/bin/php-cgi or exe: /opt/cpanel/ea-php71/root/usr/bin/php-cgi My understanding is the fignore would allow me to target a specific data file, rather than a wider process.
    0
  • rpvw
    csf.fignore is a list of files that lfd directory watching will ignore. (eg directories and/or files being watched for changes) If your alert is due to a process
    Suspicious process running under user"

    the presence of the filename in the fignore will not have any impact on the process alert If you have a specific PHP file that is eg being called by a cron, try adding that to the csf.pignore file (full path to file) or add the username the PHP is running under.
    0
  • cPanelLauren
    Thanks for the great explanation and assistance @rpvw @WorkinOnIt please let us know if you need any further assistance with this.
    0

Please sign in to leave a comment.