[squid-users] mapping a reply to a user request

From: Bilal Yousuf <[email protected]>
Date: Thu, 21 Nov 2002 16:23:03 -0000

Hi, I just want to know how squid maps a reply from an origin to the
original user request.

A users request will have the IP address and port number of Squid as the
destination address and port and its own IP address and port number as
the source address and port.
Squid will need to rewrite these addresses: the source IP address and
port will be changed to that of Squid. The destination IP address and
port will be changed to the Origin server's (if object is not in cache).
Now, when a reply comes back to this request, the Squid will need to map
it back to the original request and forward it to the correct user. What
data is used to do this mapping?

Thanks
Bilal
Received on Thu Nov 21 2002 - 09:20:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:20 MST