[websec] HSTS and subdomains

Anne van Kesteren <annevk@annevk.nl> Tue, 16 September 2014 16:57 UTC

Return-Path: <annevankesteren@gmail.com>
X-Original-To: websec@ietfa.amsl.com
Delivered-To: websec@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E734A1A8856 for <websec@ietfa.amsl.com>; Tue, 16 Sep 2014 09:57:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qjxTjTGBwSZe for <websec@ietfa.amsl.com>; Tue, 16 Sep 2014 09:57:52 -0700 (PDT)
Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E23601A884F for <websec@ietf.org>; Tue, 16 Sep 2014 09:57:51 -0700 (PDT)
Received: by mail-qg0-f49.google.com with SMTP id j5so183709qga.22 for <websec@ietf.org>; Tue, 16 Sep 2014 09:57:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=EJhVB7w/U6Q5pCelWY7aL9cSk3O/M6AiY9tDGUM22ZY=; b=EcHMnEFYhEFmuH5tlviaSahVhv8ZcXQ8HapIN9ArP7qpsJqe6vwCPhLPeku3WAEMFY UAv7/1biIcQtTReaW8UW2yEJH0ostCK5erKLynVcLURrOrw5Xxrz2WvHLl+LM8BelTpP 42uWpJOmt478J+LCr9ANdvknH1uj+l2APFh0kUviljUFX19zaJPKRrS8FwBcIksfZts3 fB50FyoNb3/g/3EjbRzcRtVYJ/aokrrGnoLk+UGuv9UgHMXp34E2XPsCn9TDE01wc8f3 OyZKVsggUIYv920JRZXQ96Or4srrnaMb/biPfIEggrnzctIWvEaWpNeu/EdC+nE3/jPH X0og==
MIME-Version: 1.0
X-Received: by 10.140.48.203 with SMTP id o69mr17462192qga.102.1410886670926; Tue, 16 Sep 2014 09:57:50 -0700 (PDT)
Sender: annevankesteren@gmail.com
Received: by 10.229.179.200 with HTTP; Tue, 16 Sep 2014 09:57:50 -0700 (PDT)
Date: Tue, 16 Sep 2014 18:57:50 +0200
X-Google-Sender-Auth: kxs3cYg4EezU2IT8QY__rb3Ls0U
Message-ID: <CADnb78jSxEGNTc+1EfEm=FvwS7n=NPqe5ALijpiKaDM_+r4fUg@mail.gmail.com>
From: Anne van Kesteren <annevk@annevk.nl>
To: websec <websec@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/websec/z7x_LvtmPMPNATrUHfSlW_CGcK4
X-Mailman-Approved-At: Tue, 16 Sep 2014 12:46:23 -0700
Cc: Ian Hickson <ian@hixie.ch>
Subject: [websec] HSTS and subdomains
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec/>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Sep 2014 16:57:59 -0000

If example.com serves up a policy with includeSubdomains. And
sub.example.com serves up a policy without includeSubdomains,
max-age=0, and redirects to http://sub.example.com.

I first visit example.com. And then I visit sub.example.com. What
happens and where is this defined?


-- 
https://annevankesteren.nl/