Files
doc-exports/docs/wafd/umn/waf_01_1283.html
qinweiwei 6f60ff9f8d WAF user guide 20250729 version
Reviewed-by: Rogal, Marcel <mrogal@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: qinweiwei <qinweiwei@huawei.com>
Co-committed-by: qinweiwei <qinweiwei@huawei.com>
2025-09-09 13:02:06 +00:00

13 KiB

WAF Operation Guide

To use Web Application Firewall (WAF) to protect your web services, the services must be connected to WAF. WAF provides two access modes for you to connect web services to WAF: ELB load balancer access and dedicated access modes. You can select the access mode that best fits your web services.

Application scenarios

WAF provides the following access modes for you to connect websites to WAF.

  • ELB load balancer access mode:
  • Dedicated mode
    • Service servers are deployed on the cloud.

      This mode is suitable for large enterprise websites that have a large service scale and have customized security requirements.

    • Protected object: domain names and IP addresses (public or private IP addresses)
    • Access method: Connecting a Website to WAF (Dedicated Mode)

Procedure for Using WAF

Figure 1 shows the procedure. Table 1 describes the procedure.

Figure 1 Process of using WAF
Table 1 Procedure for using WAF

Operation

Description

Apply for a WAF instance.

Apply for a dedicated WAF instance.

Add a website to WAF.

Add websites you want to protect to your WAF instance.

NOTE:
  • Using WAF does not affect your web server performance because the WAF engine is not running on your web server.
  • After your domain name is connected to WAF, there will be a latency of tens of milliseconds, which might be raised based on the size of the requested page or number of incoming requests.

Configure a protection policy.

A policy is a combination of rules, such as basic web protection, blacklist, whitelist, and precise protection rules. A policy can be applied to multiple domain names, but only one policy can be used for a domain name.

Analyze logs.

WAF displays blocked or logged-only attacks on the Events page. You can view and analyze protection logs to adjust your website protection policies or mask false alarms.

Related Functions

Beyond functions in Procedure for Using WAF, WAF also provides the following functions for you to improve your website security performance.

Table 2 Related functions

Function

Description

Viewing the Dashboard

You can view protection data of yesterday, today, last 3 days, last 7 days, or last 30 days.

Configuring PCI DSS/3DS Certification Check and Configuring the Minimum TLS Version and Cipher Suite

TLS v1.0 and the cipher suite 1 are configured by default in WAF for general security. To protect your websites better, set the minimum TLS version to a later version and select a more secure cipher suite.

Configuring Connection Timeout

  • The default timeout for connections from a browser to WAF is 120 seconds. The value varies depending on your browser settings and cannot be changed on the WAF console.
  • The default timeout for the connection between WAF and an origin server is 30 seconds. You can manually set the timeout on the WAF console.

Configuring Connection Protection

If a large number of 502 Bad Gateway and 504 Gateway Timeout errors are detected, you can enable WAF breakdown protection and connection protection to let WAF suspend your website and protect your origin servers from being crashed. When the 502/504 error requests and pending URL requests reach the thresholds you configure, WAF enables corresponding protection for your website.

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.

Editing Response Page for Blocked Requests

If a visitor is blocked by WAF, the Default block page of WAF is returned by default. You can also configure Custom or Redirection for the block page to be returned as required.

Managing Certificates

If you upload a certificate to WAF, you can directly select the certificate when adding a website to WAF.

Managing Dedicated Engines

This topic describes how to manage your dedicated WAF instances (or engines). You can view instance information, view instance monitoring configurations, upgrade the edition of an instance, and delete an instance.

<script language="JavaScript"> </script>