[squid-dev] on_unsupported_protocol rewrite to support tcpconnection, relay

钱国正 richard.qian at magicwifi.com.cn
Thu Apr 6 09:19:51 UTC 2017


>Yes, if you intercept port 80 connections. Assuming you do intercept,
>what you want should be already supported by on_unsupported_protocol.

>However, there is a known bug that probably breaks (or, more precisely,
>does not provide) the advertised support in your particular use case. We
>are working on a fix. Christos Tsantilas will post a patch here for
>review when it is ready. I do not have a reliable ETA for this
>low-priority sponsorless project, but it might happen within a week or two.



That's wonderful, I can't wait to see the patch.
I have already use on_unsupported_protocol and it work mostly fine, but it still
have some issue, I fix it by adding two line of code, to assign the target address
so it can be sent to server successfully.
 
 
------------------ Original ------------------
From:  "Alex Rousskov"<rousskov at measurement-factory.com>;
Date:  Wed, Apr 5, 2017 00:20 AM
To:  "squid-dev"<squid-dev at lists.squid-cache.org>; 
Cc:  "钱国正"<richard.qian at magicwifi.com.cn>; 
Subject:  Re: [squid-dev] on_unsupported_protocol rewrite to support tcpconnection, relay

 
On 03/27/2017 12:35 AM, 钱国正 wrote:

> What if the protocol is not http, but using 80 port, can squid relay it
> to its target server?

Yes, if you intercept port 80 connections. Assuming you do intercept,
what you want should be already supported by on_unsupported_protocol.

However, there is a known bug that probably breaks (or, more precisely,
does not provide) the advertised support in your particular use case. We
are working on a fix. Christos Tsantilas will post a patch here for
review when it is ready. I do not have a reliable ETA for this
low-priority sponsorless project, but it might happen within a week or two.


HTH,

Alex.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20170406/d2c08dbd/attachment.html>


More information about the squid-dev mailing list