Configuring a Whitelist for Attack Source Tracing
Context
Attack source tracing locates and attack sources of denial of service (DoS) attacks and takes punish actions on the attack sources. If some users do not need to be traced regardless of whether they might initiate attacks, add the users to a whitelist.
Before referencing an ACL in a whitelist, create the ACL and configure rules.
To specify a protocol type in the ACL referenced by the whitelist, ensure that this protocol supports the attack source tracing function. If a protocol is not supported by attack source tracing, you can run the auto-defend protocol command to configure attack source tracing to support the protocol.
- The whitelist may fail to be applied because ACL resources are insufficient.
Procedure
- Run system-view
The system view is displayed.
- Run cpu-defend policy policy-name
The attack defense policy view is displayed.
- Run auto-defend enable
Attack source tracing is enabled.
By default, attack source tracing is disabled.
- Run auto-defend whitelist whitelist-number { acl { acl-number | ipv6 acl6-number } | interface interface-type interface-number }
A whitelist is configured.
By default, there is no whitelist for attack source tracing.
- Run commit
The configuration is committed.