RE: [squid-users] How to know the origin port of a user HTTP request

From: Geoffroy ARNOUD <geoffroy.arnoud@dont-contact.us>
Date: Thu, 12 Jan 2006 13:51:09 +0100

>> Squid-Cache which proxies the request to my Web Application. Squid adds
>> "X-Forwarded-For=IP_ORIG" in the HTTP request. As I tell above, my web
>> application needs to know the value of ORIG_PORT.

>But why do you need the original source port of the request?

I need it to send a command to my router from the web application. And the
router waits for the User IP Address and source port to identify the TCP
connection.

>> So my question is: does anyone know how I can ask squid to provide it to
>> my webapp? in another HTTP header? With
>> "X-Forwarded-For=ORIG_IP:ORIG_PORT"?

Geoffroy

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Received on Thu Jan 12 2006 - 05:51:13 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST