Re: [Captive-portals] practicality of 511 HTTP status code

mariko kobayashi <ao@sfc.wide.ad.jp> Sat, 24 June 2017 00:37 UTC

Return-Path: <ao@sfc.wide.ad.jp>
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 45FB2129B2D for <captive-portals@ietfa.amsl.com>; Fri, 23 Jun 2017 17:37:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 cRV653RK1DLc for <captive-portals@ietfa.amsl.com>; Fri, 23 Jun 2017 17:37:11 -0700 (PDT)
Received: from mail.sfc.wide.ad.jp (shonan.sfc.wide.ad.jp [IPv6:2001:200:0:8803::53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 55A1F1294AC for <captive-portals@ietf.org>; Fri, 23 Jun 2017 17:37:10 -0700 (PDT)
Received: from kobayashimariko-no-MacBook-Pro.local (softbank126235042226.bbtec.net [126.235.42.226]) by mail.sfc.wide.ad.jp (Postfix) with ESMTPSA id C1254278AA5 for <captive-portals@ietf.org>; Sat, 24 Jun 2017 09:37:08 +0900 (JST)
To: captive-portals@ietf.org
References: <CAAedzxrPo+qSBWP23=fpwG0ZzBrdOMgs0gykAxOPSFbojeR79A@mail.gmail.com> <CADo9JyVrO6fcOtYXc=VtrfmhFsYdHY=3t4nM2xLG3CBnzizWJQ@mail.gmail.com> <D2A19ABBC0147C40BFBB83D1CF3E95F03FEB4A22@wtl-exchp-2.sandvine.com> <E8355113905631478EFF04F5AA706E987061F965@wtl-exchp-1.sandvine.com> <6c04ed2c-9d26-eb9d-b4e3-5205845d0fa4@gmx.de> <E8355113905631478EFF04F5AA706E987061FA7F@wtl-exchp-1.sandvine.com>
From: mariko kobayashi <ao@sfc.wide.ad.jp>
Message-ID: <5e3abea2-804a-17e9-2dec-8333aa7349a3@sfc.wide.ad.jp>
Date: Sat, 24 Jun 2017 09:37:08 +0900
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.0
MIME-Version: 1.0
In-Reply-To: <E8355113905631478EFF04F5AA706E987061FA7F@wtl-exchp-1.sandvine.com>
Content-Type: multipart/alternative; boundary="------------7C3338A37B1418B0DCE58170"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/YBxOYkfukI41faxFXBQaYr7D_10>
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: Sat, 24 Jun 2017 00:37:14 -0000

(This is just information)
I haven't seen Captive Portal which responses 307, and most of them 
reply 302 or 200.
I only saw Meraki's one replies 307.

Although I cannot guess how it can be implemented on the current Wi-Fi 
services,
511 will be helpful for such devices because we do not have a clear 
method to check the existence of Captive Portal.

- Mariko
On 2017/06/24 3:53, Dave Dolson wrote:
> Probably all of those codes are used, as well as 200 (with content).
> We could debate which is best, but that's a distraction, since we want portals to stop pretending to be the real end-point.
> (FWIW, I think 301 is a bad idea, since later requests should try the real URI again.)
>
> My hypothesis is that 511 is an acceptable thing to send an old (pre-RFC6585) device, when there is no expectation of causing user interaction.
>
> -Dave
>
> -----Original Message-----
> From: Julian Reschke [mailto:julian.reschke@gmx.de]
> Sent: Friday, June 23, 2017 2:34 PM
> To: Dave Dolson; Vincent van Dam; David Bird; Erik Kline
> Cc: captive-portals@ietf.org
> Subject: Re: [Captive-portals] practicality of 511 HTTP status code
>
> On 2017-06-23 20:11, Dave Dolson wrote:
>> It seems 511 is probably better than 30x for non-browser
>> requests-clearly an error instead of redirecting to something unexpected.
>>
>> Is 511 likely to be OK for old IoT devices? Probably a better outcome
>> than 307.
>> ...
> FWIW, why is *307* desirable in the first place? Wouldn't it be better to use 301/302 or even 303?
>
> Best regards, Julian
>
> _______________________________________________
> Captive-portals mailing list
> Captive-portals@ietf.org
> https://www.ietf.org/mailman/listinfo/captive-portals


-- 
-------------------------------------------------------
 Mariko Kobayashi(ao@sfc.wide.ad.jp)
 Keio Univ. SFC M1
     Jun Murai Lab./WIDE/ao(あお)
---------------------------