Help Center> Web Application Firewall> User Guide> Website Domain Name Management> Configuring a Traffic Identifier for a Known Attack Source

Configuring a Traffic Identifier for a Known Attack Source

WAF allows you to configure traffic identifiers by IP address, session, or user tag to block possibly malicious requests from known attack sources based on IP address, Cookie, or Params.

If you have enabled enterprise projects, you can select your enterprise project from the Enterprise Project drop-down list and configure known attack source traffic identifiers for the domain names in the project.

Prerequisites

The website to be protected has been added to WAF.

Constraints

  • If the IP address tag is configured, ensure that the protected website has a proxy configured before being connected to WAF and that Proxy Configured is set to Yes for the protected website.

    If the IP address tag is not configured, WAF identifies the client IP address by default.

  • Before enabling Cookie- or Params-based known attack source rules, configure a session or user tag for the corresponding website domain name.

Procedure

  1. Log in to the management console.
  2. Go to the Website Settings page by following the steps shown in Figure 1.

    Figure 1 Accessing to the Website Settings page

  3. In the Protected Website column, click the domain name of the website to go to the basic information page.
  4. In the Traffic Identifier area, click next to IP Tag, Session Tag, or User Tag to configure a traffic identifier by referring to Table 1. Figure 2 shows an example.

    Figure 2 Traffic Identifier

    Table 1 Traffic identifier parameters

    Tag

    Description

    Example Value

    IP Tag

    HTTP request header field of the original client IP address.

    Ensure that the protected website has a proxy configured before being connected to WAF and that Proxy Configured under the website basic information settings is set to Yes for this parameter to take effect.

    X-Forwarded-For

    Session Tag

    This tag is used to block possibly malicious requests based on the cookie attributes of an attack source. Configure this parameter to block requests based on cookie attributes.

    jssessionid

    User Tag

    This tag is used to block possibly malicious requests based on the Params attribute of an attack source. Configure this parameter to block requests based on the Params attributes.

    name

  5. Click OK.