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.
Unknown
Allowed
Unknown
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
|
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 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.
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. |