I have an application that sits behind an F5 load balancer. The application needs to be aware of the User Agent and IP address of the inital request.
For example:
- User Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
- IP Address: 199.x.x.x
I am able to get the IP from the load balancer by reading the X_FORWARDED_FOR
header value in my application. However, I'm not sure how to get the user agent. Is that information even passed along?