|Dart Home | PowerTCP Winsock for ActiveX | Custom Development||Reply | PowerTCP Winsock for ActiveX Topics | Forums|
|Author||Forum: PowerTCP Winsock for ActiveX|
Topic: Identifying IP of remote endpoint rather than proxy server
From: Leigh, United Kingdom
Member Since: 06/08/06
|posted September 29, 2009 11:41 AM
Inevitably, in a web proxy server scenario, the TCP.RemoteAddress property returns the IP address of the last proxy that serviced a TCP request.
However, what I need in my application (a specialised web server) is a way of guaranteeing to find the IP address of the remote endpoint, i.e. the IP of the browser that made the original HTTP request.
I can only see two ways around this at present. One is to get the user to alter their proxy settings so as to exclude local addresses from being handled by the proxy.
The other technique is to configure the relevant proxy server to include the X-Forwarded-For header.
The problem is that both of these solutions are commercially difficult to get IT departments to agree to in a business situation.
Is there any other way around this problem, i.e. being able to identify the IP address of the originator of the HTTP request ?
|Jason Farrar (Admin)
Member Since: 07/24/07
Extra Support Options
Custom Application Development
|posted October 28, 2009 10:47 AM
Unfortunately there isn't a way to do this because normally the information just isn't available. The intent of a proxy server is usually to keep a certain level of anonymity so what you are asking for would negate this. This is probably also the reason that IT departments are not keen on complying with your requests to modify their proxy servers as you described.
|Reply | PowerTCP Winsock for ActiveX Topics | Forums|
|This site is powered by PowerTCP WebServer for ActiveX|