Login  
Search All Forums
Dart Home | PowerTCP Winsock for ActiveX | Custom Development Reply | PowerTCP Winsock for ActiveX Topics | Forums   
AuthorForum: PowerTCP Winsock for ActiveX
Topic: Identifying IP of remote endpoint rather than proxy server
roofrack
gary.roussak@tyrrellsystems.com

From: Leigh, United Kingdom
Posts: 23
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 ?

Gary.
Jason Farrar (Admin)

From: USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted October 28, 2009 10:47 AM

Hi,

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.

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerTCP Winsock for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX