Server security for hosting providers.

BEDEM combines a kernel firewall, a web application firewall and bot management for Linux servers that host thousands of websites. Every decision is enforced in the kernel and explained in the console.

Eventsserver1.example, example data
TimeAddressDecisionReason
02:14203.0.113.50Blocked 1 h24 failed WordPress logins on shop.example in 2 min
02:31198.51.100.7Greylist180 requests in 6 s on news.example; visitor passed the check
03:05192.0.2.44Blocked 6 hSQL injection in 5 requests, CRS 942100, 942190
03:40AI crawlers42914% of server CPU, over the 10% class budget
04:02192.0.2.130Blocked 1 h9 failed SSH logins in 10 min
Operating systems
AlmaLinux 9 and 10, RHEL-compatible
Control panels
APOLO, cPanel & WHM
Web servers
Apache, nginx, LiteSpeed
Rule set
OWASP CRS 4 (LTS)
Enforcement
nftables, IPv4 and IPv6

Out of the request path, in the kernel

BEDEM never sits in front of your websites. It reads what the web server and the system already record, and enforces its decisions with nftables, ahead of CSF and firewalld. If BEDEM stops, the sites keep running and the blocks stay in place.

  1. Collect

    Every web request and every login attempt, as it happens.

    • Apache, nginx, LiteSpeed
    • SSH, Exim, Dovecot, Pure-FTPd
    • cPanel, WHM, Webmail, APOLO
  2. Evaluate

    Rules count per address, site, network and crawler class.

    • Traffic and login rules
    • ModSecurity with OWASP CRS
    • Crawler CPU budgets
  3. Enforce

    One nftables transaction, before any other firewall.

    • Block on every port
    • Greylist with a visitor check
    • 429 with Retry-After for crawlers
  4. Explain

    Each decision with its rule, evidence and count.

    • Console in APOLO and WHM
    • Address lookup and unblock
    • One decision on every server

Capabilities

One program replaces the firewall, WAF and brute-force protection of Imunify360, mod_evasive and CSF's connection limits. Each part is switched on or off in the console.

Network and firewall

Decisions are enforced by the Linux kernel, survive restarts, and expire on their own.

Kernel firewall

nftables, ahead of CSF and firewalld. IPv6 counted and blocked per /64. 65,000 entries load in about a second.

Greylist with a built-in check

A suspicious address loses only the websites. Its visitors solve a one-second check in the browser, with no third-party service and no cookies.

Escalation

Repeat offences last longer. A third greylist in a day becomes a block, unless a person passed the check.

Network limits

SYN floods, concurrent connections per address and port scans, enforced in the kernel.

Self-repairing rules

If CSF, a panel or an nftables restart removes BEDEM's table, it is restored within 30 seconds.

Proxy and CDN aware

Visitors behind Cloudflare are stopped at the web server by their real address. Cloudflare itself is never blocked.

Web application protection

Built from the live traffic of Apache, nginx and LiteSpeed, and from ModSecurity.

Traffic rules

Floods, bursts, hammering one URL, wp-login and xmlrpc attacks, 404 scanners, .env and .git probes, 401 guessing. A complete replacement for mod_evasive.

WAF with OWASP CRS 4

ModSecurity with the Core Rule Set and official plugins for WordPress, Drupal, Nextcloud, phpMyAdmin and cPanel. Repeat attackers go to the firewall.

Exclusions per site, path or field

Set from the console. The web server tests every change before it loads it, and a refused change is never applied.

Crawler budgets

AI and SEO crawlers get a share of the server's CPU per class. Over it, 429 with Retry-After; crawlers that ignore it are blocked.

Verified search engines

Googlebot, Bingbot and others are confirmed by reverse and forward DNS and are never limited.

Blocked User-Agents

The web server answers 403 before PHP starts, on every site.

Logins and reputation

Password guessing on every service, and the context to tell customers from attackers.

Brute-force protection

SSH, Exim SMTP, Dovecot IMAP and POP3, Pure-FTPd, and cPanel, WHM and Webmail logins.

Known addresses

An address with a successful login gets five times the limits for 30 days.

Countries and networks

Limits can be scaled by each address's country and network (DB-IP).

Reputation lists

Spamhaus DROP, FireHOL level 1, AbuseIPDB or any list of addresses, refreshed on schedule.

Allow lists from files

Follows CSF's csf.allow or your own file, including Include lines. Changes apply within five minutes.

Safety limit

At most 300 new automatic blocks per minute; anything beyond is recorded, not enforced.

Operations

Visible, reversible and quiet to run across a fleet.

Explained decisions

Every block lists its rule, the request or log line and the count. Look up any address to see why, and unblock it there.

Multi-server master

A block on one server applies on all connected servers, and so does an unblock.

Log-only start and replay

Begins by recording what it would block. Replay old access logs through the rules before enforcing.

Console in your panel

A web console on its own port, and the same console inside APOLO and WHM with their logins. English and Serbian.

Safe updates

Checked every two hours, installed automatically if you choose. A version that fails to start is rolled back.

Single binary

One static program with no runtime dependencies, sandboxed by systemd.

Accurate on shared hosting

On a hosting server one address is often many people. BEDEM was tuned on production hosting traffic so that customers are not blocked along with attackers.

Offices and mobile networks
An address where a person passed the check is never escalated to a block, and normal pages count in its favour on the 401 and 404 rules.
Uptime monitors
A monitor checking hundreds of sites at once is counted per site, so it is not mistaken for a flood.
Video and downloads
Dozens of range requests from a phone playing a video are not counted as hammering one URL.
A WAF that blocks attacks
By default a request is blocked only when it shows at least two signs of an attack. False alarms almost always trip a single rule.
Editors at work
From an address that logged in, it takes five times more blocked requests before the WAF moves it to the firewall.
Search engines and previews
Never limited by crawler budgets, while a fake Googlebot is treated like any other bot.

BEDEM compared with Imunify360

The differences that matter to a hosting provider: what visitors see, what a suspicious address loses, which rules protect the sites, and what it costs.

TopicBEDEMImunify360
Visitor checkBuilt-in browser check served by BEDEM. No third-party service, no cookies, nothing loaded from outside.Google reCAPTCHA, standard or invisible.1
Scope of a greylistWebsites only (ports 80 and 443). Mail, FTP and SSH keep working for the users behind the address.All requests from the address are blocked until the CAPTCHA is passed.2
After the checkThe address passes for 6 hours. Each solution is valid once; blocks and the WAF still apply.The address is whitelisted for 24 hours.2
WAF rule setOWASP Core Rule Set 4 with official plugins. Open rules with public IDs, excluded per site, path or field.Imunify360's own ModSecurity rules.3
PricingIncluded with the APOLO panel. For cPanel servers, a standalone license per server: order on the APOLO portal.$12 to $45 per server per month at list price, billed monthly.4

Imunify360 also includes malware scanning and PHP hardening. BEDEM focuses on traffic and logins, and runs alongside ImunifyAV, Imunify's malware scanner, without conflicts.

  1. Imunify360: getting started with reCAPTCHA
  2. Imunify360 firewall module v7.7 release notes
  3. cPanel support: disabling an Imunify360 ModSecurity rule
  4. Imunify360 pricing, checked October 2026

Technical specifications

What BEDEM runs on, what it reads and how it is operated.

Operating systemsAlmaLinux 9 and 10 and other RHEL-compatible distributions
Control panelsAPOLO (console built in); cPanel & WHM (WHM plugin with WHM login). Also runs on servers with other panels or none.
Web serversApache (EasyApache 4 or distribution packages), nginx (cPanel ea-nginx or standalone), LiteSpeed Enterprise and OpenLiteSpeed. Detects which server takes the visitors when nginx runs in front of another.
Firewallnftables table of its own, ahead of firewalld and CSF; IPv4 and IPv6; block, greylist, allow and proxy lists; works alongside CSF and firewalld
WAFModSecurity v2 (Apache, LiteSpeed) or v3 (nginx) with OWASP Core Rule Set 4.25 LTS and official plugins; detect or block mode; choice of the web server it runs in
Log sourcesWeb server traffic in real time; system logs for SSH, Exim, Dovecot, Pure-FTPd and cPanel, WHM and Webmail logins
Reputation and geographySpamhaus DROP, FireHOL level 1, AbuseIPDB and custom lists; country and network data from DB-IP
InterfacesWeb console over TLS on its own port, APOLO and WHM consoles, command-line tool
Multiple serversMaster server shares blocks and unblocks across all connected servers
UpdatesChecked every two hours; optional automatic installation with rollback if the new version does not start
FootprintSingle static binary without runtime dependencies; systemd sandboxing; state and event logs kept on the server
LanguagesEnglish and Serbian; dark and light themes

Exclusively with the APOLO panel.

Also available for cPanel servers, with a standalone license: one per server, bound to the server's IP address.