<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>We do not use cache-peer. I thought cache-peer is for connecting another squid-like proxy server.<br><br>Without ssl-bump, the connection is tunneled transparently, so there is no chance to redirect each HTTP requests proxied under SSL connection.<br><br>We want to redirec each HTTP requests under SSL, so we have to use ssl-bump to terminate the connection, and squid open another connection to the server we use content redirect to specify. The code take effect when the squid opens the new connection to each designed server for each HTTPS requests.<br><br>We terminated CONNECT call at squid also to ensure we can intercept HTTP requests at squid,<br><br>Alex<br><br /><br /><div>> To: squid-users@lists.squid-cache.org<br>> From: squid3@treenet.co.nz<br>> Date: Thu, 23 Jul 2015 00:21:31 +1200<br>> Subject: Re: [squid-users] SSL connction failed due to SNI after content redirection<br>> <br>> On 22/07/2015 12:44 p.m., Alex Wu wrote:<br>> > it depends on how you set up squid, and where the connection is broken. The patch addessed the issue that occured using sslbump and content redirect together.<br>> > <br>> <br>> I'd like some clarification what the exact problem symptoms are please.<br>> <br>> AFAIK, both redirect and re-write actions happen a relatively long time<br>> *after* the bumping TLS handshakes to server are completed. Its far too<br>> late to send the pre-handshake SNI data to the server.<br>> <br>> I can see this change as affecting reverse-proxy / CDN configurations<br>> with TLS on both connections. But you said this was SSL-bumping, and<br>> reverse-proxy configurations already have a cache_peer option to set the<br>> internal domain name without re-write/redirect.<br>> <br>> Amos<br>> <br>> _______________________________________________<br>> squid-users mailing list<br>> squid-users@lists.squid-cache.org<br>> http://lists.squid-cache.org/listinfo/squid-users<br></div> </div></body>
</html>