The DDOS Policy allows administrators to validate incoming users by challenging them with CAPTCHAs (Completely Automated Public Turing test to tell Computers and Humans Apart) to find out if a client is a regular browser, a BOT, or a crawler. Administrators can configure DDOS Policy to issue CAPTCHAs to all clients who access a URL space, or to issue CAPTCHAs only to clients with suspicious profiles.
The client tagged as suspicious is forced to answer a CAPTCHA challenge before accessing the URL space. Suspicious client IP addresses are tracked and challenged with a CAPTCHA image for a period of time. The client is not allowed to access any further resource until the CAPTCHA is answered. This thwarts reconnaissance efforts from suspicious clients.
Clients which answer the CAPTCHA can access the URL space. If a validated client remains idle for more than the configured Expiry Time seconds, it is challenged with CAPTCHA to access the resource again. This re-issuance of CAPTCHA after an Expiry Time ensures that a public IP validated as a good client source once does not remain permanently in good standing, but is detected as a non-browser if it gets compromised.
To configure a DDoS policy, click Add next to the Service in the DDoS Policy section.
Configuration of DDoS Policy
The following settings allow the Barracuda Web Application Firewall to enforce DDoS policy for a Service:
The host name, compared to the host in the request. This can be either a specific host match or a wildcard host match with a single “*“. For example, *.example.com; any request matching this host is required to authenticate before accessing this page.
The URL compared to the URL in the request. The URL should start with a "/" and can have at most one " * " anywhere in the URL. For example, /netbanking.html; any request matching this URL is required to authenticate before accessing this page. A value of “/*” means that the access control rule (ACL) applies for all URLs in that domain.
Define an expression that consists of a combination of HTTP headers and/or query string parameters. This expression is compared to special attributes in the HTTP headers or query string parameters in the requests.
Extended Match Sequence
This number indicates the order in which the extended match rule must be evaluated in the requests.
Select the enforce CAPTCHA option.
- Do Not Enforce – Clients are allowed to pass through with the usual security validation.
- Suspicious Clients Only – CAPTCHA is enforced for clients that exhibit suspicious behavior.
- All Clients – CAPTCHA is enforced for all clients accessing this Service.
Number of CAPTCHA Attempts
The number of attempts a client can make before failing to solve the CAPTCHA.
Unanswered CAPTCHA Limit Per IP
This limits the number of CAPTCHA instances that can be issued to a given client IP address, preventing an attacker from executing a DoS attack on the service by rendering CAPTCHA images without submitting the CAPTCHA response.
The number of seconds a client IP can be idle before being challenged for CAPTCHA again.
Steps to Configure DDoS Policy for a Service
- Go to the WEBSITES > DDoS Prevention > DDoS Policy section.
- Identify the Service to which you want to enable DDoS policy.
- Click Add next to that Service. The Add DDoS Policy window appears.
- Specify values for the given parameters and click Save.
For more information, click the Help icon on the web interface.