Re: [squid-users] Re: Understanding the Setup

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 08 Oct 2011 18:10:49 +1300

On 08/10/11 02:03, Quintin Beukes wrote:
> Hi,
>
> I am trying to understand the headers being received by a squid server response.
>
> The output of a netcat connect to 10.0.0.2:1234 is below.
>
> I assume proxy.office is 10.0.0.2, but where does the "deny" come
> from,

It comes from ACLs configuration of proxy.office

> and where does proxy2.external fit in?

proxy2.external is the proxy you are connected to. It appears to be an
intercepting proxy on the link between you and proxy.office.

you -(NAT)-> proxy2.external:3128 -> proxy.office:1234

>
> Any help would be appreciated.
>
> quintin_at_quintin-VAIO:/tmp$ nc -v 10.0.0.2 1234
> Connection to 10.0.0.2 1234 port [tcp/*] succeeded!
> GET http://www.google.com/ HTTP/1.1
> Host: www.google.com
>
> HTTP/1.0 403 Forbidden
> Server: squid/2.7.STABLE9
> Date: Fri, 07 Oct 2011 12:47:59 GMT
> Content-Type: text/html
> Content-Length: 1058
> X-Squid-Error: ERR_ACCESS_DENIED 0
> X-Cache: MISS from proxy.office
> X-Cache-Lookup: NONE from proxy.office:1234
> Via: '1.1 proxy2.external:3128 (squid/2.7.STABLE4), 1.0
> proxy2.external:3128 (squid/2.7.STABLE4)'
> Connection: close
>

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.15
   Beta testers wanted for 3.2.0.12
Received on Sat Oct 08 2011 - 05:10:57 MDT

This archive was generated by hypermail 2.2.0 : Sat Oct 08 2011 - 12:00:02 MDT