Troubleshoot abnormal blocking status of cluster defense rules

Updated at:

When the blocking status of a cluster defense rule is Abnormal or Normal to be confirmed, the defense rule cannot generate alerts or block unusual traffic accessing the cluster. This topic describes how to resolve the Abnormal or Normal to be confirmed blocking status of cluster defense rules.

Prerequisites

A defense rule has been created for the cluster. For more information about how to create a defense rule, see Create a defense rule.

Background

Cluster defense rules depend on the AliNet plug-in of Security Center. The AliNet plug-in handles network connection blocking, DNS blocking, and brute-force attack blocking. Defense rules take effect only when the AliNet plug-in is installed and online. Before you use the container microsegmentation feature, make sure that the kernel version of the operating system on your cluster nodes is within the supported range of the AliNet plug-in. For more information, see Supported operating system versions.

Procedure

  1. Log on to the Security Center console.

  2. In the left-side navigation pane, choose Protection Configuration > Container Protection > Container Microsegmentation . In the upper-left corner of the console, select the region where the assets to protect reside: Chinese Mainland or Outside Chinese Mainland .

    On the Container Microsegmentation page, click the Protection Management tab.

  3. In the cluster list on the Protection Management tab, find the cluster whose blocking status is Abnormal or Normal to Be Confirmed, and then resolve the issue based on the status.

    • Abnormal

      When the Interceptable Status of a cluster defense rule is Abnormal, the Defense Status switch is turned off and Security Center cannot provide firewall services for the cluster.

      Click View to the right of Abnormal to open the Protection Plug-in Status panel. On the Protection Plug-in Status panel, check the Installation Status and Online of the AliNet plug-in. Issues with the Installation Status or Online of the AliNet plug-in cause the Interceptable Status of the cluster defense rule to become abnormal. Resolve the issue based on the following solutions:

      • If the Installation Status column on the Protection Plug-in Status panel shows that the AliNet plug-in is not installed on a cluster node, or the Online column shows that the AliNet plug-in on a cluster node is offline, you can re-enable the behavior prevention feature for the cluster to resolve the issue. For more information about how to enable behavior prevention, see Use proactive defense.

      • If the behavior prevention feature is already enabled for the cluster, but the Installation Status column on the Protection Plug-in Status panel still shows that the AliNet plug-in is not installed on the cluster node, the operating system kernel on the node may not support the AliNet plug-in. For supported kernel versions, see Supported operating system versions.

        You can also log on to the cluster and run the following command to check the installation log of the AliNet plug-in. If the operating system kernel on the cluster node does not support the AliNet plug-in, the installation log contains the install,driver file not exist message.

        cat /usr/local/aegis/PythonLoader/data/AliNet_config.log
    • Normal to be confirmed

      When the Interceptable Status of a cluster defense rule is Normal to Be Confirmed, the issues that caused the Interceptable Status to be Abnormal have been resolved. However, you still need to verify whether all defense rules of the cluster have issues, such as whether the Enabling Status of the defense rules is enabled and whether the Priority of the defense rules is correct.

      After you confirm that all defense rules of the cluster are correct, in the Interceptable Status column, click Restore to the right of Normal to Be Confirmed to restore the Interceptable Status to Normal. In the cluster list, find the cluster whose blocking status is Normal to be confirmed, and click Restore to its right.