As you have found. There is no destination IP at REQMOD time. Even if squid were to do a lookup it does not know the outcome of the routing decision in order to select which IP to send REQMOD. Especially if REQMOD is the source of that decision.

A normal (forward) proxy has only a server host name (aka URI domain) to work with until the server connection is about to be opened. The REQMOD can be passed that name, but needs to account for *any* of the IPs it finds for that (or none) might be used.

Interception proxy try to connect to the same server IP as the client was using. But may not need a server connection at all if cache storage or collapsed forwarding catches the transaction.

Amos
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to