Search squid archive

Destination address rewriting for TPROXY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I'm using an ICAP reqmod service to change the URI of certain requests (including the host name). When running under a non-transparent proxy this works fine. However, when using TPROXY, Squid uses the original destination IP address of the connection rather than the Host header to determine where to connect to, so modifying the request doesn't cause Squid to actually connect to a different host.

Is there any way to force Squid to connect to the host in the rewritten request, rather than continuing to connect to the original IP address?

I'm aware of the "client_dst_passthru off" option, which sounds like it would almost do what I want, except the manual says that this option gets forced back on for requests that fail host verification.

--

 - Steve Hill
   Technical Director
   Opendium Limited     http://www.opendium.com

Direct contacts:
   Instant messager: xmpp:steve@xxxxxxxxxxxx
   Email:            steve@xxxxxxxxxxxx
   Phone:            sip:steve@xxxxxxxxxxxx

Sales / enquiries contacts:
   Email:            sales@xxxxxxxxxxxx
   Phone:            +44-844-9791439 / sip:sales@xxxxxxxxxxxx

Support contacts:
   Email:            support@xxxxxxxxxxxx
   Phone:            +44-844-4844916 / sip:support@xxxxxxxxxxxx




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux