Moving Beyond Fail2ban with cPGuard’s Native LFD

Moving Beyond Fail2ban with cPGuard’s Native LFD

Next-Gen Brute-Force Protection: Why You Should Switch from Fail2ban to cPGuard LFD

Securing your servers against relentless brute-force and web-based attacks requires agility, speed, and deep integration. For years, Fail2ban has been the standard tool for monitoring logs and banning malicious IPs in cPGuard. However, as modern attack vectors evolve, standard tools can sometimes struggle under heavy load, consuming precious CPU and memory.

To solve this, we are thrilled to introduce CPG LFD—our brand-new, ultra-lightweight Login Failure Daemon designed specifically for cPGuard.

If you are currently running Fail2ban, here is why switching to cpglfd is the single best upgrade you can make for your server’s performance and security today.

What is cPGuard LFD ( cpglfd)?

cPGuard LFD is a proprietary, high-performance log-parsing and login-failure daemon built from the ground up to replace Fail2ban within the cPGuard ecosystem. It monitors system and application logs in real-time, detects malicious authentication attempts, and instantly mitigates brute-force attacks before they can overwhelm your applications, websites or control panels.

Why cpglfd eclipses traditional Fail2ban

While Fail2ban is a versatile tool, it is built as a generic solution. cpglfd, on the other hand, is purpose-built for web hosting environments running cPGuard.

1. Ultra-Lightweight & High Efficiency

Fail2ban can become resource-heavy, especially on busy servers with massive log files. It frequently spikes CPU usage when parsing logs under a heavy distributed brute-force attack. cpglfd has been engineered for maximum efficiency, boasting a microscopic resource footprint. It processes logs with minimal overhead, leaving your RAM and CPU free to serve your actual website traffic.

2. Native cPGuard firewall integration

Fail2ban relies on generic external wrappers to manipulate system firewalls, which can occasionally cause synchronization delays. The cpglfd features native, deep integration with the cPGuard firewall layer. When an IP is flagged for abuse, the block is injected directly and seamlessly into your cPGuard firewall rules instantly, ensuring zero-lag mitigation. When you enable Captcha protection in the firewall settings, the cpglfd block enabled Captcha verification for the blocked IPs and let the genuine users to unblock themselves.

3. Smarter web & Brute-Force defense

Because it is deeply embedded into our ecosystem, cpglfd possesses a contextual understanding of web attacks that generic tools lack. It works hand-in-hand with cPGuard’s existing threat intelligence, allowing it to differentiate between a genuinely malicious botnet and an accidental user typo much more effectively.

4. No need for third-party dependencies

Since cpglfd is developed inhouse, it does not need to install third-party packages and maintaining them.

The Verdict: cpglfd is the new recommended standard

To ensure our customers get the absolute best performance out of their infrastructure, cPGuard now officially recommends cpglfd over Fail2ban for all deployments.

By making the switch, you immediately unlock:

  • Better server response times under attack.
  • Drastically reduced CPU and memory overhead.
  • Tighter, unified security orchestration.

How to Switch

Transitioning from Fail2ban to the new LFD module is completely seamless. We have automated the process to ensure your server remains fully protected during the swap.

You can enable the new cpglfd module directly through your cPGuard’s Firewall settings page

Select server > Go to Firewall settings >  Turn on Intrusion Defence (lfd)

Fail2ban will be automatically turned off when lfd is turned ON

and using CLI, you can run the following command

 cpgcli lfd --enable
cPGuard Firewall: Enhanced Performance with iptables & new features

cPGuard Firewall: Enhanced Performance with iptables & new features

Announcing cPGuard Firewall 5.83.00: Enhanced Performance with iptables & New Features

We are excited to announce a major update to the cPGuard system firewall. Since our initial NFT-based launch in late 2025, we have been listening closely to your feedback and monitoring performance across diverse environments.
In version 5.83.00, we are introducing a revamped firewall architecture designed for stability, speed, and better user control.

The Shift: Returning to iptables/ipset

When we first introduced the NFT-based firewall, the goal was to leverage modern netfilter tools for a lighter, faster experience. However, real-world deployments presented unexpected challenges, including:

  • Stalled firewall rules and slow rule checks.
  • Unexpected rule failures.
  • Performance bottlenecks under heavy loads.

After extensive internal testing and consultation with our customers, we have decided to revamp the system using iptables/ipset as the primary provider. This ensures the reliability you expect from cPGuard, while still keeping nftables available as an option for those who prefer it.

What’s New in Version 5.83.00?

The latest version is more than just a provider shift; it includes several functional enhancements:

  • Optimized Performance: The iptables-based system is significantly faster and maintains a low system load, even when managing tens of thousands of IP addresses.
  • Advanced DoS Mitigation: New rules allow you to set connection limits per port/IP. The updated logic also resolves excessive logging issues during active attacks.
  • IP & Country Ignore Lists: Entries in the ignore list will now bypass deny rules and the IPDB, ensuring your trusted connections are never interrupted.
  • Flexible Providers: While iptables is now the default for new installations, you can switch between iptables and nftables at any time via the UI or CLI.

Introducing the New Grey List & Captcha Unlock

To reduce support tickets and improve the end-user experience, we’ve introduced a 24-hour Grey List.
If an IP is temporarily blocked, users can now use a Captcha-based unlock option to delist themselves (similar to CSF messenger).

Note: Currently available for cPanel and DirectAdmin, with support for more panels coming soon.

How to Switch to the iptables Firewall

To ensure stability, we are not enforcing the new iptables ruleset on existing installations automatically. If you wish to migrate your current server to the new firewall, you can do so via:

1. Command Line Interface (CLI): Run the following command:

cpgcli fw --provider iptables

2. App Portal: Navigate to Protection > Firewall and update your settings.

Looking Ahead: The New LFD Module

Our work doesn’t stop here. We are currently developing a new LFD (Log Failure Daemon) module to replace the existing Fail2ban-based monitoring. This new system will be:

  • Lighter and Faster: Built specifically for the cPGuard ecosystem.
  • Tightly Integrated: Allowing the Grey List to be fully utilized so genuine clients can easily unlock themselves after a block.

Stay tuned for these upcoming changes as we continue to evolve cPGuard to meet your security needs!

cPGuard Elevates Webuzo Security with New User-Level Plugin Integration

cPGuard Elevates Webuzo Security with New User-Level Plugin Integration

We are thrilled to announce a significant enhancement to the cPGuard ecosystem: the immediate availability of a user-level plugin for the Webuzo control panel.

In our latest release, we have bridged the gap between server-side security and end-user control. This elevated integration empowers hosting providers using Webuzo to offer premium, self-service security tools directly to their customers, fostering a safer and more transparent hosting environment.

Empowering the End-User

Security is no longer just the administrator’s responsibility; it is a collaborative effort. With this new integration, Webuzo users gain full visibility into their account’s security status.

Key capabilities now available to end-users include:

Detailed Malware Visibility: Users can view specific malware files detected within their account.

On-Demand Scanning: Users can initiate manual file scans instantly, ensuring peace of mind after site updates or uploads.

Real-Time Analytics: Access to comprehensive statistics regarding web attacks targeting their specific websites.

We believe this deeper integration is a game-changer for hosting providers. It allows you to deliver premium security tools that build trust with every client while reducing the support volume related to security queries.

A Quick Preface: What is cPGuard?

For those new to our platform, cPGuard is an all-in-one automated security suite specifically engineered for Linux web hosting servers. It acts as far more than a simple firewall; it provides a multi-layered defense system designed to catch threats that traditional antivirus software often misses.

Our architecture is built on robust pillars of protection:

Smart Malware Scanner: Detects and remediates threats automatically.

Web Application Firewall (WAF): Blocks exploits before they reach applications.

Proactive Attack Blocking (IPDB): A distributed firewall module that leverages global threat intelligence.

CMS Toolkit: Features auto-patching to secure WordPress and other CMS installations proactively.

Why cPGuard is the Strategic Choice

Choosing cPGuard is a strategic decision for server administrators who demand high-level security without the “performance tax” often associated with heavy security suites.

Here is why cPGuard stands out:

Superior Resource Efficiency: Designed to be lightweight, ensuring your server resources are dedicated to serving websites, not running security scans.

Surgical Malware Cleanup: Our intelligent engine cleans malicious injections from core files rather than simply deleting the file, keeping sites online and functional.

Collective IP Intelligence (IPDB): Our distributed firewall module instantly blocks abusive IPs detected anywhere in our global network.

Reduced Management Overhead: Automated tools and a unified dashboard make managing security across multiple servers effortless.

Get Started

Ready to upgrade your Webuzo server’s security posture? The new integration is available now.

Click here for the Installation Guide and Documentation

CSF Retired – Meet the new cPGuard Firewall

CSF Retired – Meet the new cPGuard Firewall

For many years, ConfigServer Firewall (CSF) was the go-to solution for Linux server security. It provided simple firewall management and IPS/IDS features that became staples in server hardening guides across the industry.

In the early days, cPGuard also relied on CSF as its firewall backend, later enhancing it with IPDB and Fail2ban integrations to provide brute-force protection. CSF’s flexibility made it a favourite among administrators.

But times have changed. CSF is now officially retired and unsupported on new servers. Manual firewall management is no longer practical in modern hosting environments, and administrators need something faster, smarter, and future-ready.

With the release of cPGuard v5.61, we’re proud to announce a fully rewritten, standalone firewall module — a drop-in replacement for CSF with far greater performance, efficiency, and usability.

Key Features

🔹 NFT at the Core

We moved away from the legacy iptables and ipset. The firewall is now built entirely on nftables, delivering better performance, a cleaner ruleset, and full compatibility with modern Linux distributions.

🔹 Easy Port Management

Effortlessly configure open TCP/UDP ports (incoming and outgoing) directly from the cPGuard dashboard or CLI.

🔹 Blocklist & Allowlist Controls

Quickly add or remove IP addresses — permanently or temporarily — with a single click.

🔹 Enhanced Protections

  • SYN flood defense
  • DoS mitigation
  • Country-based allow/deny rules
  • AI-powered bot blocking
  • And more, all built-in

Migration from CSF

Worried about losing your CSF configuration? Don’t be.
We provide a migration tool that automatically imports your existing CSF settings into the new firewall, including:

  • Port configurations (TCP_IN, TCP_OUT, UDP_IN, UDP_OUT)
  • Whitelisted IPs (csf.allow, csf.ignore)
  • Blacklisted IPs (csf.deny)
  • Country rules (CC_ALLOW, CC_DENY)

Run the import in one step:

/opt/cpguard/app/scripts/csf_migration.php

Future Roadmap

We’re not stopping here. Upcoming releases will introduce:

  • Port flood protection
  • Extended IDS/IPS features
  • More CSF-like enhancements — based on your feedback

If you relied on a specific CSF feature and would like to see it in cPGuard, let us know. Your input will help shape the evolution of the firewall.

Final Thoughts

The end of CSF may feel like the close of a chapter, but with the cPGuard Firewall, administrators gain a modern, NFT-driven, fully integrated security solution.

It doesn’t just replace CSF — it surpasses it, offering performance, simplicity, and scalability designed for today’s hosting environments.

We remain committed to continuously improving cPGuard’s firewall and security modules to keep your servers safe — now and into the future.

CSF Is Officially Retired. What’s Next for cPGuard Users?

CSF Is Officially Retired. What’s Next for cPGuard Users?

The End of an Era: CSF Is Officially Retired. What’s Next for cPGuard Users?

For nearly two decades, ConfigServer Security & Firewall (CSF) has been an indispensable tool for Linux administrators—a trusted first line of defence against malicious IPs. Its deep integration with cPanel/WHM, combined with a wide range of features, made it the default choice for sysadmins, especially in web hosting environments.

But times are changing. With the original developers announcing the end of CSF’s active development and releasing the code under GPLv3, its future now depends entirely on community contributions—an uncertain development path ahead. While this means CSF will continue in some form, for many administrators this marks the end of the CSF era—and raises an important question: what comes next?

cPGuard’s Journey Beyond CSF and the Next Step

At cPGuard, we have always recognised the importance of CSF. For years, we recommended CSF/LFD as the go-to Intrusion Prevention System (IPS) and Intrusion Detection System (IDS) to complement our own security solutions.

In recent years—to reduce complexity, improve performance, and eliminate dependence—we have quietly and diligently been evolving our own platform. For some time now, cPGuard has not depended on CSF.

Core modules such as IPDB (abuse IP database), Bruteforce & Bot Blocking, Fail2Ban integration, and other features that require IP blocking have long been fully managed within cPGuard itself using iptables/ipset.

The retirement of CSF simply confirms what we had already anticipated: it’s time to take the next step.

A Fully Managed cPGuard Firewall

We are revamping the entire firewall module from scratch, moving away from the legacy iptables/ipset approach and adopting the modern NFT (Netfilter) framework. This transition is not just a technical change—it enables us to deliver a firewall that is more powerful, efficient, and future-ready for our users.

The new cPGuard Firewall introduces:

  • Improved Efficiency – streamlined packet filtering with micro-loading, reducing overhead and improving performance under heavy traffic.
  • Structured Management – cleaner, more organised rules and sets, making administration and troubleshooting far simpler.
  • Enhanced Whitelisting & Blacklisting – redesigned for speed and accuracy, ensuring legitimate traffic is preserved while malicious IPs are blocked instantly.
  • IPv6 Ready – the new system is fully IPv6 capable, with port filtering already supporting IPv6. Full IPDB IPv6 support will arrive very soon, ensuring your servers are protected in the dual-stack future.
  • Simplified Administration – consistent CLI and UI commands (cpgcli fw …), giving you a reliable, straightforward way to manage your firewall.

What’s Coming in the First Release?

The initial rollout will deliver the core features you expect in a firewall:

  • Whitelist & Blacklist (IP & Country) – define trusted and blocked networks with precision.
  • Extended Whitelist & Blacklist Sources – import from file paths or remote URLs for efficient global management.
  • Temporary Blocks (with expiry) – automatically remove bans after a set duration.
  • Port Filtering – control inbound and outbound TCP/UDP traffic to close unwanted services.
  • DoS / SYN-Flood Protection – safeguard servers against denial-of-service attacks.
  • IPDB Integration – leverage a real-time global abuse IP database for proactive blocking.
  • AI Bot Protection – block aggressive AI scraping bots.
  • Fail2Ban Integration – service-level brute-force defence, serving as a modern replacement for CSF’s LFD.

When Can You Get It?

The new firewall is already in staging and scheduled for public release in early September 2025. We are currently testing across a wide range of server environments and configurations, and refining safeguards to ensure smooth continuity.

Delivery will happen automatically through the cPGuard auto-update system, and the transition should be seamless and uneventful. In the rare event of conflict with third-party firewalls, package dependencies or issues, our support team will be ready to assist immediately.

Comprehensive documentation will be provided alongside the release.

The Road Ahead

This is not just about replacing CSF—it’s about future-proofing your servers with a firewall that integrates seamlessly with the cPGuard ecosystem. We are committed to making this a community-driven development, and we’ll be listening closely to what you need.

Stay tuned for the official release announcement. The next chapter of server security starts now—with you. 🚀