Re: [Captive-portals] practicality of 511 HTTP status code
David Bird <dbird@google.com> Sun, 07 May 2017 18:36 UTC
Return-Path: <dbird@google.com>
X-Original-To: captive-portals@ietfa.amsl.com
Delivered-To: captive-portals@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 286F71270A0 for <captive-portals@ietfa.amsl.com>; Sun, 7 May 2017 11:36:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 nZA1C3VxwGsn for <captive-portals@ietfa.amsl.com>; Sun, 7 May 2017 11:36:26 -0700 (PDT)
Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6CF5F126DEE for <captive-portals@ietf.org>; Sun, 7 May 2017 11:36:26 -0700 (PDT)
Received: by mail-io0-x234.google.com with SMTP id k91so39114959ioi.1 for <captive-portals@ietf.org>; Sun, 07 May 2017 11:36:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vYCFDxcXZ5kvhLVSlogjVEpyPI/TxqhppfyfkNY33QQ=; b=buPMi6tfuqtSYn8o2qaOAYFNW1q0J6DQMQeCVTbV1smVDwRT4sSCuqJFchIrpV/Pyl 62h0NhN+aX9iC6+gDFCBPwWFBpL3gRGAOQsNN7Pl/ZnBgm4jenfzXs5QSc+zUhnvwmLZ FXp4YvpMZ9CaU/jSQYi7H75IhlYYtVxP0HvPms7OSRQSz1X+pjpRDriLVwwSKDoM1iDY S6sA2vgOrD7Jjv3LyR0WB3LHdWqjt5Q9Ou8Im2uQD3QSMyZXry/+btKT5/R+HLDi8gEQ +SYgBzZ1cQ5FCn2NGJORUCQB+UHx6796cCGDM1Uig4BUUHhlwlRgUDY16hJH4CxPwBQe O5vw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vYCFDxcXZ5kvhLVSlogjVEpyPI/TxqhppfyfkNY33QQ=; b=E799ZCX8dtLq/sExdPVc/WkunrDM0e6EqwXsE4FkR7918l9a8w3OhEyZ7skT6qwpVH 5GEQsbqe/ABUWRYKZb8XqfC4NAG9dSMJ700RPLl3pNPObpAl7ATWX9E8qX2RjbpcPypg TEfWxpHTI5s9rXcBEjygj8yBnKPeR/mK7A5ETWiqiJ2V63GWSPHvG5V42DX9C8TqcUs+ fFg2kU63ulMlhECvznpm/fcOKbr4dN856vQzp5FrKMqVd4ztgwN/EH1AiRRMlTs40yuX q9M4UsB6l4BXDdRXm+L8+mdpUccGuJcFA6YipyRUY204leroTOTuqgstcq2Li3MwnvSD 5dnA==
X-Gm-Message-State: AODbwcA/c3flxlYtqRmzXmgCIU4/er/8zKfL/5tJfKrpbN8jLSd8cAJY J7Qy+xKbBLVICfXFio8cFAgjc4P9WrtF
X-Received: by 10.107.147.134 with SMTP id v128mr1704808iod.70.1494182185536; Sun, 07 May 2017 11:36:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.12.147 with HTTP; Sun, 7 May 2017 11:36:24 -0700 (PDT)
Received: by 10.79.12.147 with HTTP; Sun, 7 May 2017 11:36:24 -0700 (PDT)
In-Reply-To: <CAAedzxrPo+qSBWP23=fpwG0ZzBrdOMgs0gykAxOPSFbojeR79A@mail.gmail.com>
References: <CAAedzxrPo+qSBWP23=fpwG0ZzBrdOMgs0gykAxOPSFbojeR79A@mail.gmail.com>
From: David Bird <dbird@google.com>
Date: Sun, 07 May 2017 11:36:24 -0700
Message-ID: <CADo9JyVrO6fcOtYXc=VtrfmhFsYdHY=3t4nM2xLG3CBnzizWJQ@mail.gmail.com>
To: Erik Kline <ek@google.com>
Cc: captive-portals@ietf.org
Content-Type: multipart/alternative; boundary="94eb2c055d1866a308054ef36663"
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/VV1_9CxEi3po9NNsPC3nHZjX9qw>
Subject: Re: [Captive-portals] practicality of 511 HTTP status code
X-BeenThere: captive-portals@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Discussion of issues related to captive portals <captive-portals.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/captive-portals>, <mailto:captive-portals-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/captive-portals/>
List-Post: <mailto:captive-portals@ietf.org>
List-Help: <mailto:captive-portals-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/captive-portals>, <mailto:captive-portals-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 May 2017 18:36:28 -0000
I personally do not find it very useful in public access networks, because: - A legacy 30X response will still be needed for some user-agents - Returning 511 is still a man-in-the-middle response (nothing changed there) - The response contains HTML that should contain the login URL (or a meta refresh, etc), which isn't a very well structured way to get the URL - differences in how browsers handle the 'error' and the associated user experience There are a couple other oddities: Note that the 511 response SHOULD NOT contain a challenge or the login interface itself, because browsers would show the login interface as being associated with the originally requested URL, which may cause confusion. Why shouldn't it contain a challenge? (the reason given only relates to the 'login interface itself'). It is not intended to encourage deployment of captive portals -- only to limit the damage caused by them. Damage? Hm... In terms of non-browsers accessing apis, they should be using TLS! And perhaps not follow redirects or otherwise add some integrity to their api. On Sun, May 7, 2017 at 1:05 AM, Erik Kline <ek@google.com> wrote: > I wanted to poll the group's thoughts on the usefulness of the > rfc6585#section-6 511 HTTP status code. > > Has anybody tried to serve 511s to clients, and if so what were the > results? > > Might it be useful to serve an API endpoint (rather than the full-blown > HTML UI)? > > I'm trying to get a sense of whether this will be a useful tool to use in > assembling a recommended portal interaction. If we determine it's not > really going to be a workable component, then that's useful to know too. > > _______________________________________________ > Captive-portals mailing list > Captive-portals@ietf.org > https://www.ietf.org/mailman/listinfo/captive-portals > >
- [Captive-portals] practicality of 511 HTTP status… Erik Kline
- Re: [Captive-portals] practicality of 511 HTTP st… Vincent van Dam
- Re: [Captive-portals] practicality of 511 HTTP st… David Bird
- Re: [Captive-portals] practicality of 511 HTTP st… Vincent van Dam
- Re: [Captive-portals] practicality of 511 HTTP st… Mark Nottingham
- Re: [Captive-portals] practicality of 511 HTTP st… Erik Kline
- Re: [Captive-portals] practicality of 511 HTTP st… Mark Nottingham
- Re: [Captive-portals] practicality of 511 HTTP st… Dave Dolson
- Re: [Captive-portals] practicality of 511 HTTP st… Julian Reschke
- Re: [Captive-portals] practicality of 511 HTTP st… Dave Dolson
- Re: [Captive-portals] practicality of 511 HTTP st… mariko kobayashi
- Re: [Captive-portals] practicality of 511 HTTP st… Mark Nottingham
- Re: [Captive-portals] practicality of 511 HTTP st… Dave Dolson
- Re: [Captive-portals] practicality of 511 HTTP st… Julian Reschke
- Re: [Captive-portals] practicality of 511 HTTP st… David Bird
- Re: [Captive-portals] practicality of 511 HTTP st… Dave Dolson