Hi gurus:
For below code in client_side.cc, I want to know what's the
pinning.serverConnection mean? and what it is used for?
I want to rewrite the on_unsupported_protocol to support tcp connection
(non-http protocol, called httpdns not readable, no http header) and relay it
the server.
Except
On 03/24/2017 04:54 AM, 钱国正 wrote:
> I want to know what's the
> pinning.serverConnection mean? and what it is used for?
Before we dive into low-level details, please allow me to ask an
important high-level question. Your answer may render those low-level
detail irrelevant:
> I want to rewrite t
On 27/03/2017 3:15 p.m., 钱国正 wrote:
>>> I want to know what's the
>>> pinning.serverConnection mean? and what it is used for?
>
>> Before we dive into low-level details, please allow me to ask an
>> important high-level question. Your answer may render those low-level
>> detail irrelevant:
>
>>>
>If you want port 80 to just be relayed through - dont send it to Squid.
>You will probably be able to identify the DNS packets with your firewall
>rules easier than Squid can tell it apart from a mangled HTTP message.
What I want to do is to use Squid ecap adaptation to modify some http respon
On 27/03/2017 7:35 p.m., 钱国正 wrote:
>> If you want port 80 to just be relayed through - dont send it to Squid.
>
>> You will probably be able to identify the DNS packets with your firewall
>> rules easier than Squid can tell it apart from a mangled HTTP message.
>
>
>
> What I want to do is to
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 kno