← Knowledge Base Compatibility

CSF, LFD & Safety Monitor: How They Work Together

Safety Monitor doesn't replace your firewall — it reads it, acts through it, and makes sure it never locks you out.

4 min

CSF (ConfigServer Security & Firewall) and its companion daemon LFD (Login Failure Daemon) are the firewall many WHM servers already run. Safety Monitor Pro is built to sit next to them, not on top of them. It reads their state, can make changes through them when you ask it to, and adds a hard guarantee that it will never lock you out of your own server. This guide explains exactly how the two cooperate.

Safety Monitor reads CSF / LFD state

Safety Monitor treats CSF/LFD as the source of truth for firewall status. Rather than maintaining a separate, competing view of who is blocked, it reads what CSF and LFD already know:

  • Current allow and deny rules.
  • Temporary bans and login-failure blocks that LFD has applied.
  • Overall firewall status, surfaced on the dashboard alongside your other security signals.

Because it reads the live firewall state, what you see in Safety Monitor reflects what CSF is actually enforcing — not a copy that can drift out of sync.

It can add allow / deny rules through CSF

When you decide to act on an attacker or clear a false positive, Safety Monitor makes the change through CSF:

  • Deny writes the rule into CSF, so the firewall drops that IP going forward.
  • Allow adds a trusted IP to CSF's allow list.

The key point: the rule lives in CSF, where it's visible and manageable with the standard csf tooling you already use (for example csf -d to deny or csf -a to allow). Safety Monitor gives you a faster, contextual way to make the decision — the enforcement stays in your firewall.

Never-block-self: it allowlists the admin IP

The single most common way to lose access to a server is to block your own IP. Safety Monitor is built to make that impossible on its watch. On first entry, the plugin offers a simple OK/Cancel prompt to add your current IP to CSF's allow list — a never-block guarantee for the administrator:

  • Your admin IP is added to the CSF allow list, so subsequent deny rules can't shut you out.
  • This applies whether the block would come from you, from an LFD auto-ban, or from a rule you apply later.

Accept the prompt on first entry and you keep your safety net. It's a small step that prevents the classic "I locked myself out of production" incident.

Complementary, not a replacement

Safety Monitor does not replace CSF/LFD and does not try to be your firewall. The two play different roles:

  • CSF / LFD enforce — they are the firewall and the login-failure blocker.
  • Safety Monitor gives visibility and context — per-domain attack breakdowns, repeat-offender detection, load safety, and a guided way to act through the firewall you already have.

Keep running CSF and LFD exactly as you do today. Safety Monitor makes them easier to reason about and act on; it doesn't compete with the enforcement layer.

Runs alongside Imunify360 and CloudLinux

Safety Monitor is compatible with and runs alongside other security suites such as Imunify360, and works on CloudLinux servers. It reads shared signals (like the ModSecurity audit log) and focuses on visibility and load safety, so it doesn't fight another product for the same enforcement layer.

To be clear about what that means: "compatible" and "runs alongside" — Safety Monitor is not partnered with, certified by, or endorsed by Imunify360, CloudLinux, or LiteSpeed. It simply coexists with them cleanly on the same server.

See how the pieces fit in practice with Safety Monitor Pro, or read the technical documentation for the full compatibility notes. Related reading: Reading ModSecurity Attacks.

Chat with us →