LFD, the monitoring service supplied with CSF, can report processes that need investigation. This guide explains how to exclude a verified legitimate process from process-tracking alerts without turning off all security notifications.

Investigate the alert first

Confirm the process’s owner, executable path and full command line. A familiar name alone does not prove it is safe. Check the documentation shipped with your installed CSF package because available rules can vary.

Add a process-tracking exclusion

  1. Connect with administrator access and back up /etc/csf/csf.pignore.

  2. Open the correct file:

    sudo nano /etc/csf/csf.pignore
  3. Add one appropriate rule using the verified value from the alert. Supported rule forms include:

    exe:/full/path/to/trusted-executable
    cmd:exact command line from the alert
    user:accountname

    These are alternatives, not instructions to add all three. An exe: rule identifies an executable, not a log file such as error_log.

  4. Save the file. In Nano, press Ctrl+O, confirm the filename, then Ctrl+X.

  5. Restart LFD to load the change on a systemd-based installation:

    sudo systemctl restart lfd
    sudo systemctl status lfd
  6. Check LFD’s log and later alerts to confirm the intended effect.

This file applies to process tracking, not every CSF or LFD alert. Do not edit unrelated notification settings or reload the firewall merely to apply a process exclusion.