Hi Solutions Engineering Team!

My name is Johann Rajadurai, and this is my deliverable for Part 1 of the technical project.

This application demonstrates the headers received by the origin server and showcases WAF functionality based on geographic location.

WAF Status

Your Location

Unknown

WAF Status

Allowed

IP Address

Unknown

You are accessing from Unknown. This location is allowed without a challenge.
WAF Configuration Rules:
United States (US): BLOCK - Requests from the US are blocked by the WAF
Canada (CA): CHALLENGE - Requests from Canada must pass a Cloudflare challenge
All other countries: ALLOW - Requests from other countries are allowed without challenges

HTTP Request Headers

Below are all the HTTP request headers received by the origin server. Each header includes an explanation of its purpose.

Header Name Value Explanation
x-forwarded-for 3.15.221.148 Shows the original IP address of the client, as passed along by proxies. This helps identify the true origin of the request despite going through intermediaries.
cf-ray 92a9e9af4a924402-EWR Cloudflare's unique request identifier for this transaction. Every request that passes through Cloudflare gets a unique Ray ID that can be used for troubleshooting.
accept */* Specifies the content types that the client is willing to receive. Allows servers to send the most appropriate format.
accept-encoding gzip, br Lists the content encodings the client can understand (gzip, deflate, etc.). Helps servers send compressed content to save bandwidth when supported.
user-agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected]) Information about the client browser, operating system, and device. Helps identify the capabilities of the client.
x-forwarded-proto https This header provides additional information about the request or response.
Host johannrajadurai.com Indicates the host name from the request URL. Used to determine which virtual host should handle the request when multiple sites are hosted on the same server.
cdn-loop cloudflare; loops=1 Indicates that the request may be caught in a CDN loop. Helps prevent infinite loops between CDNs.
cf-connecting-ip 3.15.221.148 The original IP address of the visitor as detected by Cloudflare.
cf-ipcountry US This header provides additional information about the request or response.
cf-visitor {"scheme":"https"} This header provides additional information about the request or response.

Cloudflare-Specific Headers

Cloudflare adds several special headers to requests that provide valuable information about the request and visitor. These headers are prefixed with "CF-" and can be used to understand how Cloudflare is processing your traffic.

Key Cloudflare Headers Found:

Header Name Value Explanation
cf-ray 92a9e9af4a924402-EWR Cloudflare's unique request identifier for this transaction. Every request that passes through Cloudflare gets a unique Ray ID that can be used for troubleshooting.
cf-connecting-ip 3.15.221.148 The original IP address of the visitor as detected by Cloudflare.
cf-ipcountry US A Cloudflare-specific header.
cf-visitor {"scheme":"https"} A Cloudflare-specific header.