Documentation on x-client-ip http header

Raghu Warrier 1 Reputation point
2022-04-20T14:25:03.36+00:00

I am looking for some documentation around how the x-client-ip http header is created while calling an App Service. Can this header be spoofed for a different IP?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,931 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JeffM-MSFT 6 Reputation points Microsoft Employee
    2022-10-25T18:22:01.207+00:00

    Hey @Raghu Warrier ,

    The client-ip header is added on the Front End role as part of routing. App Service will overwrite any existing header so they cannot be spoofed for a different IP address.

    For more info: https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/headers.md

    thanks,
    Jeff

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.