psydii Posted April 5, 2018 Posted April 5, 2018 Client-first = "Establish a secure connection with the client first, then connect to the server" This is the way Squid 3.1 did it. Looking through the various wiki's on this and related subjects it seems that more modern methods that will ultimately be highly compatible with TLS 1.2 and 1.3 are varying degrees of not finished/broken/hacky. This supports the assertions from the ISP teams I have spoken to where they say (to paraphrase) "The vendors have code that works, but not sufficiently reliably/efficiently to deploy at the scale required."
Popular Post Opendium_Steve Posted April 5, 2018 Popular Post Posted April 5, 2018 Some quick thoughts: QUIC Not really a big deal since things generally fall back to HTTP if you block QUIC (UDP port 80). But firewalls need to send a rejection rather than just dropping the traffic. HTTP 2.0 is a bigger problem. TLS 1.3 I haven't completely read up in the implications of TLS 1.3 so far. My understanding is that TLS 1.3 prevents certain types of passive inspection (i.e. decrypting the traffic after the fact by examining a recording of the network traffic), but doesn't prevent true man-in-the-middle decryption, which is what most (all?) school filtering systems use (but the filtering vendors are going to need to do some work to implement TLS 1.3 interception). In situations where you don't want to decrypt *all* the traffic, it does introduce some problems. Certificate pinning When done properly, certificate pinning isn't a problem. e.g. Google's certificates are pinned in Chrome, but that's fine because Chrome also trusts manually installed certificates to override pinning. Unfortunately many mobile apps simply distrust manually installed certificates entirely, rather than doing proper pinning. This means that your filter has to avoid intercepting HTTPS sessions made by those apps. To make matters worse, the apps often access web servers using use generic domain names, so your filters can't discriminate very well. i.e. the Facebook app accesses facebook.com, so your filter has to avoid intercepting requests to facebook.com, which of course also means no interception for normal web browsers accessing facebook.com. Its a shame the app doesn't use a separate host name such as app.facebook.com so the filters could tell the difference. Unfortunately, Google have become very anti-interception and made the decision to default to not trusting manually installed certificates in Android 7. Not a huge number of apps have switched to the new Android APIs yet, so this isn't yet a big problem, but it will become one. We have tried discussing the issue with Google via the IWF, since it directly prevents many of the child abuse images from being blocked, but unfortunately Google flat ignored us. Our current position on this is that schools will not be able to meet their safeguarding obligations if they are using school-owned Android devices, so unfortunately, buy Apple kit instead. That said, many schools already fail to meet their safeguarding obligations, and get away with it - its only going to come to a head when a school fails to prevent an incident that they should have been able to prevent. For BYOD devices the school obviously has much less say over what equipment is used - I'm afraid I have no good answers, other than to say that the device vendors need to step up to the plate and actually engage with schools and filtering vendors to ensure that safeguarding can still be done. So far, Google have ignored the problem and from what I'm told the US arm of Google is pretty uninterested in anything the UK arm has to say, even if Google UK did bother to look at the issue. Educational content hosted on generic AWS domain names Yes, it's stupid, there's no good reason for doing it (vendors can use their own domain names on AWS - no need to use the generic one) and I'm surprised that companies building content for schools are still doing this stuff. And don't get me started on the educational content providers that publish firewalling instructions that say "allow all traffic on ports 80 and 443" (most of our customers realise that this is a terrible idea, but occasionally someone does it, ignores all the popup warnings and then wonders why people's web aren't being filtered any more). HTTP 2.0 HTTP 2.0 allows connection reuse - if foo.example.com and bar.example.com have the same IP address and when you connect to foo.example.com it's certificate also says it'll cover bar.example.com, your browser will reuse the existing foo.example.com connection to make requests to bar.example.com. The upshot of this is that if HTTPS interception was turned off for foo.example.com, your filter will never see the requests to bar.example.com. This is particularly apparent on Google services where you have to disable HTTPS interception on some Google-hosted services in order to get Chromebooks to work, and those unintercepted connections occasionally end up being reused for things that you really want to be able to filter, such as image searches, etc. Again, the filtering vendors can only go so far - device/OS/app vendors such as Google, Facebook, etc. need to work with schools to help safeguard the kids rather than insisting that schools don't need to do any of that stuff. Note: I think there's a big difference between a school asking people to install certificates so they can safeguard a bunch of minors (with the support of their parents), and an oppressive government snooping on law abiding adults. Preventing the latter does not require the former to be prevented too. 5
mavhc Posted April 5, 2018 Author Posted April 5, 2018 Thanks for the detailed info. If we disable QUIC, TLS 1.3, HTTP 2.0 etc, won't our internet be SLOW? I mean slower than it could be. Apart from iOS, client side agents could be installed I guess. Technology always outpaces the law
caffrey Posted April 5, 2018 Posted April 5, 2018 So basically, sooner or later we may as well just have to turn off the internet for students in schools if we are to meet obligations. Definitely no more BYOD from now and no 1:1, seems a step backwards for all the pushing of IT in education. I totally get the need for privacy and I'm all for it, but we have duty of care \ prevent that we will not be able to easily provide in the near future - not sure what the answer is
Opendium_Steve Posted April 6, 2018 Posted April 6, 2018 If we disable QUIC, TLS 1.3, HTTP 2.0 etc, won't our internet be SLOW? I mean slower than it could be. QUIC and HTTP 2.0 both offer improvements in page loading speeds, so without those you *might* notice things being slightly slower. In reality I'm not convinced it's going to be a big deal. A filter is always going to add a small amount of latency anyway and all of this is likely to be pretty marginal. Apart from iOS, client side agents could be installed I guess. Client side stuff always has the problem that the kids will simply uninstall it (but then the filter can possibly detect that and block access to clients that have it uninstalled). Which is why the Safer Internet Centre's guidelines say that client-side stuff isn't good enough.
Opendium_Steve Posted April 6, 2018 Posted April 6, 2018 So basically, sooner or later we may as well just have to turn off the internet for students in schools if we are to meet obligations. Definitely no more BYOD from now and no 1:1, seems a step backwards for all the pushing of IT in education. A school is always going to have more control over their own connection than over 4G, etc. You just might not be able to get quite as much control as you'd like. Having the kids on your connection will allow *some* safeguarding, but obviously the school may be liable if someone is using the connection for something they shouldn't. It's certainly not an easy choice. I totally get the need for privacy and I'm all for it, but we have duty of care \ prevent that we will not be able to easily provide in the near future - not sure what the answer is I couldn't agree more, but unfortunately this is going to take engagement from everyone involved - schools and filtering providers are not going to be able to solve all of these problems on their own if the likes of Google and Facebook are actively working against them. If schools want to see this stuff fixed they need to pressure these companies by refusing to buy their services and explaining to them why. Unfortunately I think that any future legislation to force tech companies to help with schools safeguard kids will always end up bundled together with governments snooping on everyone, and quite rightly there would be a lot more push back on those kinds of laws than ones which are specifically aimed at helping to safeguard children in school. You don't need to undermine everyone's security in order to allow schools to safeguard children under their care. 2
caffrey Posted April 6, 2018 Posted April 6, 2018 I've always found that filtering and censorship get in the way of education, the kids should be properly educated first and foremost in usage of the internet - after all they have free reign at home why should it be any different in a school ? If they get blocked now through word of mouth they just install a VPN without any clue on what a VPN does except it gets their snapchats or something I'm a bit loath to renewing contracts on filtering that just almost does the job - it's a fair chunk of my budget
mavhc Posted April 6, 2018 Author Posted April 6, 2018 it's unlikely the students are filtered much a) at home and b) on their phone, so it's probably not worth breaking secure connections to fix it for a few kids in education compared to putting the lives of people in dangerous places at risk.
Opendium_Steve Posted April 6, 2018 Posted April 6, 2018 I've always found that filtering and censorship get in the way of education, the kids should be properly educated first and foremost in usage of the internet - after all they have free reign at home why should it be any different in a school ? If they get blocked now through word of mouth they just install a VPN without any clue on what a VPN does except it gets their snapchats or something I'm a bit loath to renewing contracts on filtering that just almost does the job - it's a fair chunk of my budget I think you're right... mostly There's certainly something to be said for basic filtering to stop people accidentally stumbling across something they don't want to see, but you're not going to stop someone who's determined to get to blocked things. Our focus these days is on the reporting side of things rather than filtering - that way you can relax your filtering rules a bit so they don't get in the way of education and use the reports to give you a heads up when you may need to intervene on a case by case basis. And certainly, kids need to get an education into how to use the internet safely, just as they would be educated on how to cross the road. After all, they will be on their own when they leave school.
Opendium_Steve Posted April 6, 2018 Posted April 6, 2018 it's unlikely the students are filtered much a) at home and b) on their phone, so it's probably not worth breaking secure connections to fix it for a few kids in education compared to putting the lives of people in dangerous places at risk. To be completely clear: the decryption methods that school filters rely on aren't going to be putting lives at risk. School filters require the users to voluntarily install inspection certificates, which I'm going to assume you're not going to do if an oppressive government asks you to. (And if the OS itself has been backdoored by that government, you're stuffed whatever you do anyway).
TechMonkey Posted April 6, 2018 Posted April 6, 2018 the kids should be properly educated first and foremost in usage of the internet Digital resilience is always better than just saying don't do that. But as with any teaching you don't throw someone in the deep end. You don't give a moped learner a 1000CC superbike, you don't take a dive newbie to the Mariana Trench and you don't give a trainee helicopter pilot the stick, pedals and collective all at once. I think we should be protecting our pupils from some of the real shady areas of the interwebs, do you really want 7 year olds open to beastiality porn? Now maybe we should regulate the internet a bit more and say porn should go on .xxx domains and then schools can just block that but you can guess the likelihood of that happening.
AlanD Posted April 6, 2018 Posted April 6, 2018 To be completely clear: the decryption methods that school filters rely on aren't going to be putting lives at risk. School filters require the users to voluntarily install inspection certificates, which I'm going to assume you're not going to do if an oppressive government asks you to. (And if the OS itself has been backdoored by that government, you're stuffed whatever you do anyway). Not putting lives at risk....well, actually I think it does....which is partly why the prevent strategy was put into place. If it’s not under the cover radicisation...it can be self harm..including encitement of suicide...and even sex sites potentially skew their minds ... No, sorry...there is serious risk. And I’m not sure that parents understand this...nor governments, despite putting prevent in place. I agree that excessive and intrusive filtering can get in the way of education...but filtering is not at the heart of prevent...but monitoring is. Personally, I’d like to see the age checks being forced on sex sites being extented to social media and or social media being forced to let parents and schools during the school day monitor traffic. It seems bizzare that we allow students a complete invisibility cloak And immunity to bully, commit sexting offences, etc. They don’t have developed minds..and need guidance an supervision. We should not walk our hands of the responsibility. 1
gshaw Posted April 6, 2018 Posted April 6, 2018 Some quick thoughts: QUIC Not really a big deal since things generally fall back to HTTP if you block QUIC (UDP port 80). But firewalls need to send a rejection rather than just dropping the traffic. HTTP 2.0 is a bigger problem. It shouldn't be a problem but in practice I found apps don't switch neatly when they're open on 4G then connected to Wi-Fi where Quic is blocked. Force closing and reopening tends to do the trick in terms of restarting with a fresh connection but pretty poor end-user experience and many will just think something is "broken" The issues with Quic soon became irrelevant because of the pinning issues you describe afterwards - was either allow YouTube without inspection or have the app not working.
mavhc Posted April 6, 2018 Author Posted April 6, 2018 Digital resilience is always better than just saying don't do that. But as with any teaching you don't throw someone in the deep end. You don't give a moped learner a 1000CC superbike, you don't take a dive newbie to the Mariana Trench and you don't give a trainee helicopter pilot the stick, pedals and collective all at once. I think we should be protecting our pupils from some of the real shady areas of the interwebs, do you really want 7 year olds open to beastiality porn? Now maybe we should regulate the internet a bit more and say porn should go on .xxx domains and then schools can just block that but you can guess the likelihood of that happening. Well, you can force safe search, and block via ip. You can whitelist for primary school if you want. I'd guess than most of the harmful things like bullying and promoting self harm happens at home, better to educate them in how to use facebook/im/etc properly, here's how you block, here's how you report, and actually do it on their accounts, because you've not blocked it all. Also actual lessons in the psychology of why people are attacking them, and how to not be hurt by it 1
Opendium_Steve Posted April 9, 2018 Posted April 9, 2018 Now maybe we should regulate the internet a bit more and say porn should go on .xxx domains and then schools can just block that but you can guess the likelihood of that happening. I think the government missed a trick with the whole age verification thing they are pushing. Who's going to want to hand over credit card numbers, etc. to verify their age to a porn site? I think the age verification checks will become such a hurdle for the legitimate business of porn sites that they will start to move overseas to avoid the age verification legislation. It would've been far better to legislate that porn sites must be easy to filter (e.g. inserting appropriate HTTP headers, etc.), which wouldn't have got in the way of their normal business but would've allowed parents to have better control over what their kids can get to.
tom_newton Posted April 9, 2018 Posted April 9, 2018 Some quick thoughts: Certificate pinning When done properly, certificate pinning isn't a problem. e.g. Google's certificates are pinned in Chrome, but that's fine because Chrome also trusts manually installed certificates to override pinning. Good summary Steve. Cert pinning is dead - https://scotthelme.co.uk/the-death-knell-for-hpkp/ - it wasn't a great idea in the first place, as it only provided added toughness for large companies, and done wrong, it was fatal. Certificate Transparency is the "new hotness". As you say though, apps no longer trust the user cert store by default - I can sorta see why this was done, but it's irritating for filtering. A better solution would have been to let the user choose, and be very explicit about that trusting a cert means. On the other hand, we've seen the carnage "let the user choose" can cause... 2
Opendium_Steve Posted April 9, 2018 Posted April 9, 2018 As you say though, apps no longer trust the user cert store by default - I can sorta see why this was done, but it's irritating for filtering. A better solution would have been to let the user choose, and be very explicit about that trusting a cert means. On the other hand, we've seen the carnage "let the user choose" can cause... Well, Android always was pretty explicit (users with a cert installed got a "you're being watched" notification on every boot.) But I think the worst thing is that, as far as I'm aware, there's no way for even school-deployed Android 7 devices to change the "don't trust manually installed certs" default. (You have to rebuild every app package individually to change that, which realistically a school isn't going to be doing.)
Popular Post Blue_Cookeh Posted April 12, 2018 Popular Post Posted April 12, 2018 (edited) I think the government missed a trick with the whole age verification thing they are pushing. Who's going to want to hand over credit card numbers, etc. to verify their age to a porn site? I think the age verification checks will become such a hurdle for the legitimate business of porn sites that they will start to move overseas to avoid the age verification legislation. It would've been far better to legislate that porn sites must be easy to filter (e.g. inserting appropriate HTTP headers, etc.), which wouldn't have got in the way of their normal business but would've allowed parents to have better control over what their kids can get to. The government don't know what they're doing. I don't mean to offend anyone but they're all old farts that don't have a clue about how the technology works, and they refuse to take any advice from people that do. No government should be meddling in the fundamental ways in which the Internet and the Web works (it's inherently impossible to do, the Internet is a global network) - perhaps parents should learn to parent properly instead of keeping little Johnny quiet all evening by sticking an iPad in front of him? Edited April 12, 2018 by Blue_Cookeh 6
Opendium_Steve Posted April 13, 2018 Posted April 13, 2018 No government should be meddling in the fundamental ways in which the Internet and the Web works (it's inherently impossible to do, the Internet is a global network) A British government can certainly regulate how British companies behave on the internet and that's often a good thing. i.e. "you may not sell illegal drugs through your website" and "you may not use false advertising on the internet". But the government also has to be mindful of the fact that the internet is global and there is a tipping point where regulations become so onerous that businesses start moving overseas in order to avoid that legislation. Its obviously a lot easier to move overseas if your business is entirely electronic (but even where you need to ship physical products to the customer, businesses seem to be doing a pretty good job of flouting false advertising regulations by basing themselves in China). If the government had come along and said that porn sites must embed HTTP headers in their traffic to make it easier for parents to filter the traffic, I can't imagine there would be much push-back from the porn sites. It's easy to do, it doesn't affect the legitimate customers, complying makes the porn industry look more responsible and it doesn't introduce any data protection problems. No one is going to move their business overseas to get out of that. Obviously companies that are already overseas aren't going to be affected, but it would at least help a little bit with filtering the domestic sites. Since it wouldn't be especially controversial, there's a good chance that the rest of Europe and the US could also be convinced to enact similar legislation. On the other hand, introducing measures that will harm the porn producers' legitimate business and introduce a load of data protection problems is going to push producers overseas, and its going to be much harder to convince other countries to do the same. I do agree that the perpetual problem with the government meddling is that they don't understand technology and refuse to listen to anyone who does. I don't expect bosses to understand everything but I do expect them to listen to the people who do. 1
psydii Posted April 13, 2018 Posted April 13, 2018 Also consider GDPR. EU regulation, but all internet companies are having to adopt compatible policies for EU citizens. When combined with the brouhaha around Facebook at the moment there is an emerging consensus that maybe the web will be a better place because of it.
Opendium_Steve Posted April 13, 2018 Posted April 13, 2018 Also consider GDPR. EU regulation, but all internet companies are having to adopt compatible policies for EU citizens. When combined with the brouhaha around Facebook at the moment there is an emerging consensus that maybe the web will be a better place because of it. Not convinced that much will change in the long term - GDPR introduces a few nice (as far as the consumer is concerned) new things, but the vast majority of it was already implemented under the Data Protection Act. I think most of the good of GDPR at the moment is that people are worried about the new scary law and are busy implementing things they should have already been doing. Once they realise that it's being enforced by the ICO, who have never been interested in holding anyone but the worst offenders to account, I imagine a lot of stuff will slip back to how it was.
fiza Posted July 7, 2020 Posted July 7, 2020 I know this thread is from a while back but what is the latest regarding TLS 1.3 and web filtering?
free780 Posted July 7, 2020 Posted July 7, 2020 I saw this yesterday. https://techcommunity.microsoft.com/t5/microsoft-defender-atp/an-update-on-web-content-filtering/ba-p/1505445 Is filtering going to move into the AV more and more. It may just be domain name checking. 1
psydii Posted July 7, 2020 Posted July 7, 2020 Been waiting for that to drop Really wish Apple would open up iOS to ATP.
free780 Posted August 20, 2020 Posted August 20, 2020 TLS 1.3 is getting closer. https://www.microsoft.com/security/blog/2020/08/20/taking-transport-layer-security-tls-to-the-next-level-with-tls-1-3/ 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now