Security Advisor, brute force protection and fail2ban
Everything on this page is under System → Security and is for the server administrator only. Resellers and customers do not see it.
Security Advisor
The Security Advisor card checks the panel's settings and accounts and gives a score. It only reads; it changes nothing. Press Re-run checks after you fix something.
The score
The score starts at 100. Each Critical finding takes 25 points, each Warning 10 and each Info note 3, down to a lowest score of 0. Passed checks and checks marked Not applicable take nothing. Findings are listed most severe first. A finding that needs work has a How to fix line, often a button that opens the card or page where it is fixed, and, where it is about particular accounts, the names of up to 50 of them; a name opens that account in the account list.
What it checks
| Check | Not a pass when |
|---|---|
| The panel is served over HTTPS | The panel address is not https:// (critical), or this server does not yet present a valid certificate for it (critical). No address set at all is a warning. |
| Administrator two-factor (2FA) | The administrator you are signed in as has no two-factor sign-in (warning) |
| Administrator name | The login is admin, root or administrator (info) |
| License | Grace period or expired (warning); no key, so Free limits (info) |
| Scheduled backups | Off, or the last scheduled run failed (warning) |
| Backup retention | Old backups are never removed (info). Not applicable while scheduled backups are off. |
| Sites have HTTPS | A site that points at this server could not get a certificate (warning). Sites whose domain points elsewhere are mentioned but not counted against you. |
| End-of-life PHP | An account has chosen PHP 8.1 or older (warning). Accounts left on the server default are not counted. |
| Customer two-factor | A customer login has no two-factor sign-in (info) |
| Session lifetime | session_ttl_hours is above 720, that is 30 days (info) |
Some checks appear only when they apply:
| Check | Appears when |
|---|---|
| Disk quotas are not enforced | A plan sets a disk limit but the filesystem does not apply quota (warning) |
| Bandwidth limits are not applied automatically | A plan sets a monthly transfer limit. The panel measures it but never suspends anyone by itself (warning). |
| CageFS is jailing hosting accounts | CloudLinux CageFS is installed. Accounts inside it stop working (critical); unknown enrolment is a warning. |
| Mail host on someone else's domain | The mail host every domain publishes as its MX is not under the panel's own domain (critical) |
| Automatic panel updates are OFF | Update Preferences are set to manual only (warning) |
If the account list cannot be read, the account checks say could not be checked as a warning, never a pass.
The three places that can keep an address out
| Where | What it blocks | Lift it with |
|---|---|---|
| Brute Force Protection | Sign-ins to this panel | Unblock on the card |
| Firewall block list | Everything from that address | See Server firewall and Host Access |
| fail2ban | The service whose log showed the failures | Unban on the card |
The card Check an IP address looks one address up in all three. A firewall entry for a network that contains the address counts. Unblock everywhere lifts it from each place that holds it. If the firewall entry is a whole network, the whole network entry is removed, and like every firewall change it is undone after three minutes unless you keep it.
Brute Force Protection
Panel sign-ins, including the two-factor step, count failed attempts per address. By default 5 failures within 15 minutes block the address for 15 minutes. You can change:
- Max failures (0 to 1000), Window and Lockout (1 to 1440 minutes each).
- Enabled. Untick it to stop blocking; with it ticked, the maximum is at least 1.
- Whitelisted IPs, one per line. Single addresses only; a network or a typo is refused, because it would never match.
Changes apply at once. The card also lists the addresses blocked now and the 50 most recent sign-in attempts. Blocks are kept in the panel's memory, so a restart of the panel also clears them.
fail2ban
fail2ban watches the logs of the server's services and bans an address that fails too often. The installer sets up these jails:
| Jail | Watches | Bans after | For |
|---|---|---|---|
sshd |
SSH sign-ins | 4 failures in 10 min | 1 hour |
dovecot |
Mail sign-ins checked by Dovecot | 5 failures in 10 min | 1 hour |
postfix-sasl |
Mail sending sign-ins | 5 failures in 10 min | 1 hour |
vsftpd |
FTP sign-ins | 5 failures in 10 min | 1 hour |
nimbopanel-panel |
Panel sign-ins | 6 failures in 5 min | 30 minutes |
The server's own addresses and loopback are never banned, so a website on this server that signs in to its own mail with a wrong password cannot ban the server.
The Banned addresses (fail2ban) card lists each jail that holds a ban, with how many are banned now and in total. Unban asks first, then lifts that one ban.
These jails live in /etc/fail2ban/jail.d/nimbopanel.conf, which every update
rewrites. Put your own changes, such as a longer ban, in /etc/fail2ban/jail.local:
fail2ban reads it afterwards, so it wins, and the panel never touches it.
Troubleshooting
You are locked out of the panel. Sign in over SSH and lift the ban there:
sudo fail2ban-client status nimbopanel-panel
sudo fail2ban-client set nimbopanel-panel unbanip 203.0.113.7
sudo systemctl restart nimbopanel
The restart clears Brute Force Protection blocks. If SSH is banned too, connect from another address or use your provider's console. A lost password or authenticator is covered in the Command-line reference.
"fail2ban is not running on this server." Check it with
sudo systemctl status fail2ban, then run sudo nimbopanel-doctor.
The HTTPS check stays critical. HTTPS usually turns on within minutes of the
domain pointing here. If it does not, sudo nimbopanel-doctor names the cause, for
example a Let's Encrypt limit after reinstalling the same server.
A finding came back after you fixed it. Press Re-run checks. The report is built fresh each time and is not cached.
Related: Server firewall and Host Access · Command-line reference · Troubleshooting