>> 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.

Reply via email to