Re:ThreeUK blocks access to encrypted provider Tutanota due ...
by benmmurphy on Wednesday December 14, 2022 @07:54AM
(#33982795)
ISPs in the UK mitm TLS connections and use SNI sniffing in order to block banned sites. You can see this is happening by either visiting a banned site and seeing the connection being reset after the client hello is sent or you can check the TCP SYN packet your client sends on 443 vs the TCP packet the server receives. Oddly enough on the O2 network they are not simply sniffing the packets on the wire but doing a full TCP proxy because the TCP syn packet has been heavily rewritten. For example when using an iPhone the order of the SYN flags is very different from Linux. the SYN packet the server receives will look like it came from Linux even though it originated from an iPhone. This is not what you would expect if they were just doing normal NAT.
[ Parent
| on HN ]
Re:ThreeUK blocks access to encrypted provider Tutanota due ...
by jonas-w on Wednesday December 14, 2022 @11:53AM
(#33986244)
Wouldn't you need to trust their certificate?
Re:ThreeUK blocks access to encrypted provider Tutanota due ...
by 10000truths on Wednesday December 14, 2022 @12:34PM
(#33986806)
You don't need the certificate to drop connections, it only comes into play if you're trying to impersonate an endpoint.
Re:ThreeUK blocks access to encrypted provider Tutanota due ...
by MaxBarraclough on Wednesday December 14, 2022 @04:22PM
(#33990785)
benmmurphy specifically said mitm. jonas-w is correct that this cannot be done as it would require a root certificate.
Re:ThreeUK blocks access to encrypted provider Tutanota due ...
by benmmurphy on Wednesday December 14, 2022 @10:38PM
(#33994877)
I said MITM reading the client hello and using SNI sniffing. They are fully rewriting TCP flow not just what NAT does when they adjust the address and ports on the packets. I'm not exactly sure the reason for this. It could just be a technical choice they made. But it does make it easier to flip a switch to do a full MITM that includes decryption using root certificates or using protocol attacks to decrypt traffic.
Re:ThreeUK blocks access to encrypted provider Tutanota due ...
by sidewndr46 on Wednesday December 14, 2022 @08:11AM
(#33982977)
For IPv4 the SYN flag is a single bit in the packet at a fixed location. So to say the 'order' is 'very different' does not make any sense.
Re:ThreeUK blocks access to encrypted provider Tutanota due ...
by benmmurphy on Wednesday December 14, 2022 @10:34PM
(#33994829)
I misdescribed how you can detect the OS from the TCP packet with the SYN flag set. The order of the TCP options is often different between different OSs.
Re:ThreeUK blocks access to encrypted provider Tutanota due ...
by kaszanka on Wednesday December 14, 2022 @07:58AM
(#33982827)
What do you mean by the order of the SYN flags?
Re:ThreeUK blocks access to encrypted provider Tutanota due ...
by benmmurphy on Wednesday December 14, 2022 @10:34PM
(#33994835)
I meant the order of the TCP options.
Re:ThreeUK blocks access to encrypted provider Tutanota due ...
by MaxBarraclough on Wednesday December 14, 2022 @04:20PM
(#33990764)
> ISPs in the UK mitm TLS connections
They do not. As jonas-w points out, they would need a root certificate, which they don't have.
Much of the value of TLS is protection against untrustworthy ISPs.