[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Captive-portals] [TLS] FW: New Version Notification for draft-zhou-tls-server-redirect-00.txt



Good point. However, browsers aren't the only applications that use HTTPS... 

Reading draft-zhou-tls-server-redirect-00.txt, I'm I understanding it correctly that the "first" server must respond with the same certificate as the "second" server (e.g. the cert returned from the first server must match the Redirect URL hostname)?

A couple thoughts:

- This does mean any MitM can hijack, not just the local CP-NAS. This isn't unique to the proposed scheme, but I suppose ICMP is interesting to me because any "ICMP CP-Notification" packets can easily be filtered at the network level -- so, a CP-NAS can prevent an outside HTTPS MitM (using ICMP) from it's WAN side. It would be harder if the notification comes within the TLS handshake.

- If the CP-NAS ("first" server) must have the same certificate as the CP-WEB ("second" server), it does make the certificate a bit more vulnerable being in multiple places and could violate the cert license (which typically limit the cert to X number of machines). It is worth noting that the CP-NAS (often an AP itself) does not necessarily belong to the owners of the captive portal (take any hotspot services company as an example). 

David


On Wed, Oct 21, 2015 at 11:52 AM, Yoav Nir <[email protected]> wrote:

> On 21 Oct 2015, at 7:17 PM, David Bird <[email protected]> wrote:
>
> +1 for using ICMP to signal blocked by CP :)

The problem with ICMP is that it needs to be handled by the operating system. Existing operating systems will ignore them and they usually don’t get reflected to the browser or other application.

Perhaps a special TLS alert. So the CP still has to MITM the TCP connection (just as in HTTP), but then it just fails the TLS handshake with a captive_portal alert.

If the browser then does the normal HTTP probe in a special window it should work with an updated browser on a non-updated system. And really, browsers update with new features much more quickly than operating systems.

Yoav