How to Check the Status of an IP in cPFence?

cPFence allows you to quickly check the current state of an IP address to see if it has been whitelisted, blacklisted, and how many times it has been blocked. This feature provides a detailed breakdown, making it easy to track potential issues with any IP address on your server.

Checking the IP Status

To check the status of an IP, simply use the cpfence --check-ip option with the desired IP address. For example:

cpfence --check-ip 87.251.75.136

This command will provide detailed information on whether the IP is whitelisted, blacklisted, and how many times it has been blocked. Below is an example output:

root@server22:~# cpfence --check-ip 87.251.75.136
Checking the current state of IP: 87.251.75.136

+-----------------------------+-----------------------------+
| IP Check Results for:       | 87.251.75.136               |
+-----------------------------+-----------------------------+
| Whitelisted (File)          | No                          |
| Whitelisted (IPSet)         | No                          |
| Blacklisted (File)          | No                          |
| Blacklisted (IPSet)         | Yes                         |
| Times Blocked               | 58407                       |
| Times Blocked by CPF DDoS   | 0                           |
+-----------------------------+-----------------------------+
root@server22:~#

As shown in the output, the command provides a comprehensive view of the IP's status, including:

  • Whether the IP is whitelisted or blacklisted (both in configuration file and IP sets)
  • How many times the IP has been blocked
  • The number of times the IP has been blocked by cPFence DDoS protection

 


Need Further Assistance?

If you encounter any issues or need additional help, feel free to reach out to our support team via your client portal.

 

  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

How to use cPFence IPDB / DDoS Module ?

cPFence provides robust tools for managing IP databases (IPDB) and protecting against DDoS...

How to Whitelist / Blacklist a Full Country ?

This guide explains how to whitelist or blacklist entire countries in cPFence. You can manage...

How to Whitelist / Blacklist an IP ?

This guide explains how to manage IP addresses by adding them to the whitelist or blacklist in...

How to Fix Bulk IP Blacklisting or Whitelisting Issues in cPFence?

If you're facing issues when attempting to bulk blacklist or whitelist IPs in cPFence, the most...

Am I Under a DDoS Attack? I See Hundreds of GET Requests in the Logs

If you're noticing hundreds of GET requests in your logs, it's important to understand that this...