Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #14334

Re: Parental guardian - internet (WEB) filtering

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Tim Watts <tw_usenet@dionic.net>
Newsgroups uk.d-i-y, uk.comp.os.linux, comp.os.linux.misc
Subject Re: Parental guardian - internet (WEB) filtering
Date Sat, 04 Apr 2015 20:53:02 +0100
Lines 59
Message-ID <u1s5vb-s48.ln1@squidward.dionic.net> (permalink)
References <vh2rub-54e.ln1@squidward.dionic.net> <NKydnSdVs5uo64HInZ2dnUVZ8hqdnZ2d@brightview.co.uk> <f1euub-ra9.ln1@squidward.dionic.net> <mfncic$l7o$1@dont-email.me> <8ri4vb-ele.ln1@squidward.dionic.net> <mfol65$etf$1@dont-email.me> <jtm5vb-6c4.ln1@squidward.dionic.net> <mfpe3i$vck$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net ggrGCt7t7WsiKoc/3Bl7FwAysg6KJn0TjYC9S0Gl33U3d06a7n
X-Orig-Path squidward.dionic.net!not-for-mail
Cancel-Lock sha1:5Y1iN/qn1ujzd+3FW1sV1/eqLwo=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
In-Reply-To <mfpe3i$vck$1@dont-email.me>
Xref csiph.com comp.os.linux.misc:14334

Cross-posted to 3 groups.

Show key headers only | View raw


On 04/04/15 20:29, Martin Gregorie wrote:

> The manual page I referenced *seems* to say either that squid acts as the
> SSL endpoint or that squid uses something it calls a CONNECT tunnel to
> pass the session through to the browser without itself acting as an end-
> point. Apparently RFC 2817 gives the gory details of CONNECT tunnels, so
> maybe you should look at this since you appear to know more than I do
> about SSL internals.

OK - I see, I think... It's hard to follow, but if we define terms more 
rigorously:

SSL can never be supported through an HTTP proxy cleanly (without having 
the target certs - note this is basically what a load balancer HTTP 
proxy does, but those would be handling incoming connections to your own 
servers, so you *could* ensure all relevant certs were copied to the 
right places).

I think your RFC is working the problem with TLS - it reminded me of SNI 
(Server Name Indication) which is how a server can virtual-host loads of 
SSL enabled websites with different names/domains on a single IP.

SNI basically lets the client connect with HTTP, then drop a header its 
way saying "I will be addressing you as hostname BLAH". The client them 
(and is only allowed by the server if TLS is being required) to issue a 
STARTTLS which upgrades the connection to SSL in place. The clever bit 
is the server now knows what host the client wants and can select the 
appropriate SSL cert and use that.

I've enabled that on some of my work servers (that cover several 
domains) and it works a treat with any modern-ish browser. However wget 
still throws a strop.



So I am wondering if this is a variation - the HTTP proxy can introspect 
the conversation and see the target name and make a decision about how 
to route it, or not.

What would then happen is the client could issue a STARTTLS to the 
server through the proxy and upgrade the end to end connection so no 
certificate problems. The proxy agrees to simply relay the raw 
connection now.


I'm not saying that is what the RFC is detailing, and I'd sure like to 
know if I'm on the right track...


The fly here is *all* SSL enabled servers would have to support this 
otherwise parts of the Internet will be inaccessible via your proxy. 
It's slightly different to SNI, where:

1) You can say "upgrade your browser"

2) And if not (1), then it fails gracefully in that the server offers 
the first, or default SSL cert if it does not get SNI, so you still get 
a connection, albeit your browser will now shout about an incorrect cert 
- though all browsers generally allow the user to override this.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-03-31 18:36 +0100
  Re: Parental guardian - internet (WEB) filtering Andy Cap <snruwfpgbizo@trashmail.net> - 2015-03-31 18:44 +0100
  Re: Parental guardian - internet (WEB) filtering "Dave Liquorice" <allsortsnotthisbit@howhill.com> - 2015-03-31 19:25 +0000
    Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-03-31 22:13 +0100
      Re: Parental guardian - internet (WEB) filtering "Dave Liquorice" <allsortsnotthisbit@howhill.com> - 2015-04-02 00:03 +0000
        Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-02 01:14 +0100
  Re: Parental guardian - internet (WEB) filtering Bill <Billaboard@gmail.com> - 2015-03-31 20:14 +0100
    Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-03-31 22:07 +0100
    Re: Parental guardian - internet (WEB) filtering Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-03-31 15:18 -0700
      Re: Parental guardian - internet (WEB) filtering The Real Doctor <ian.groups@btinternet.com> - 2015-04-01 23:10 +0100
        Re: Parental guardian - internet (WEB) filtering Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-04-01 17:01 -0700
          Re: Parental guardian - internet (WEB) filtering "Rod Speed" <rod.speed.aaa@gmail.com> - 2015-04-02 11:38 +1100
  Re: Parental guardian - internet (WEB) filtering "john james" <jj9801@nospam.com> - 2015-04-01 06:59 +1100
    Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-03-31 22:13 +0100
      Re: Parental guardian - internet (WEB) filtering Capitol <spam@wher.eva.co.uk> - 2015-03-31 22:19 +0100
      Re: Parental guardian - internet (WEB) filtering "john james" <jj9801@nospam.com> - 2015-04-01 09:46 +1100
        Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-01 00:19 +0100
          Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-01 16:30 +0100
  Re: Parental guardian - internet (WEB) filtering John Rumm <see.my.signature@nowhere.null> - 2015-04-01 23:50 +0100
    Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-02 01:10 +0100
      Re: Parental guardian - internet (WEB) filtering Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-04-03 17:52 -0700
        Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-04 09:09 +0100
          Re: Parental guardian - internet (WEB) filtering Martin Gregorie <martin@address-in-sig.invalid> - 2015-04-04 12:24 +0000
            Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-04 19:25 +0100
              Re: Parental guardian - internet (WEB) filtering Martin Gregorie <martin@address-in-sig.invalid> - 2015-04-04 19:29 +0000
                Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-04 20:53 +0100
                Re: Parental guardian - internet (WEB) filtering Martin Gregorie <martin@address-in-sig.invalid> - 2015-04-04 21:58 +0000
                Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-04 23:18 +0100
              Re: Parental guardian - internet (WEB) filtering Richard Kettlewell <rjk@greenend.org.uk> - 2015-04-04 21:28 +0100
                Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-04 21:37 +0100
              Re: Parental guardian - internet (WEB) filtering Andy Burns <usenet.feb2014@adslpipe.co.uk> - 2015-04-05 02:50 +0100
                Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-05 10:58 +0100
                Re: Parental guardian - internet (WEB) filtering Andy Burns <usenet.feb2014@adslpipe.co.uk> - 2015-04-05 11:27 +0100
      Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-04 13:57 +0100
        Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-04 19:35 +0100
          Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-04 21:39 +0100
  Re: Parental guardian - internet (WEB) filtering usenet@cucumber.me.uk (Andrew Gabriel) - 2015-04-09 09:29 +0000
    Re: Parental guardian - internet (WEB) filtering Tim Watts <tw_usenet@dionic.net> - 2015-04-09 13:35 +0100

csiph-web