Re: [Captive-portals] Captive-Portal Identification in DHCP / RA draft-ietf-capport-rfc7710bis-03

Erik Kline <ek@loon.com> Mon, 27 April 2020 23:21 UTC

Return-Path: <ek@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 3C0203A0DA6 for <captive-portals@ietfa.amsl.com>; Mon, 27 Apr 2020 16:21:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.148
X-Spam-Level:
X-Spam-Status: No, score=-9.148 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=loon.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 uPUP4eLvkoUV for <captive-portals@ietfa.amsl.com>; Mon, 27 Apr 2020 16:21:36 -0700 (PDT)
Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 45AFF3A0DB1 for <captive-portals@ietf.org>; Mon, 27 Apr 2020 16:21:36 -0700 (PDT)
Received: by mail-yb1-xb36.google.com with SMTP id f13so10406949ybk.7 for <captive-portals@ietf.org>; Mon, 27 Apr 2020 16:21:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=loon.com; s=google; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=533osUgz+0jIO1rYlkY3G21dWuW3ydQW+aVo3rRvJBo=; b=bACTpXES3kF0uIuU804PouKC3apkM2qEoOAhqMoDZkhWHwLI3GQt+TzSpv79lilDZR 24PV1WU8tyPlGRifowU2iUVLBx0UA1UcR8BscBe9VKPa3oPi0vFD1Rv/B1ltp9eFARZ+ eI3Xh+7HELf/SXIQuftu3bmtl1GrFc3qm21Ps=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=533osUgz+0jIO1rYlkY3G21dWuW3ydQW+aVo3rRvJBo=; b=Aoy8UeKs4vueB4r3V9+lSrZLOAEfdqKv0oLu6AhlrQBXuRck7CyEMFwPAnYHZVfElH 1U666S98hLS/DLYGM4bOzX8CkwtO7arvvghXJbhJgkwHO9d82C4iGfVcX7qTQqS6PrFc T0T9aLFCkpnxOOUOnvfQ9QnGQ80tEMtltmJSkbX8nelMhBnbACtYI84PoxLhXjIKoSb1 3qBPyOrFqeYIJJx2Ifk3KFm46P7P1VeVTYukB9ntJPQJjVNZbmFspiUt+xkiAQu67Vwv 5TV+HcavOV7xnlL4Xm9/IxXqJbltg8dVRUA8KPLPy3Xr8vWaRsUw+Ax3HIaWM9Y92Tw5 pYxQ==
X-Gm-Message-State: AGi0PuaB3ns72Rd8xe9MhHHvgTsN+vp4Ax41kQ2wckyY2WGfdrLOFv7J 25WrK1eJg2BsRIwdN8p2kBEtPNB0YtXsgBTlrvkMKA==
X-Google-Smtp-Source: APiQypJP41nuePNCCZTyEyTVWmAzu2tHSyZiY/rG78SssRAHy/ps7/qu/4XxcTPX6uz2vw0zmTLsmg1J1BSiJO7YOIY=
X-Received: by 2002:a5b:3d1:: with SMTP id t17mr39487718ybp.405.1588029695052; Mon, 27 Apr 2020 16:21:35 -0700 (PDT)
MIME-Version: 1.0
References: <566F2FF8-6F5B-43F9-BB33-4D399013844E@commscope.com> <ae7991d5-9eed-4d91-aa43-9630401c21d4@www.fastmail.com> <CAMGpriVOsYmjXt94uw7M3=iQqJvGhyyfXTf4uYwkwf3cB9uOUg@mail.gmail.com> <023A5153-A72C-4F6D-B550-3F302A63D4B7@commscope.com>
In-Reply-To: <023A5153-A72C-4F6D-B550-3F302A63D4B7@commscope.com>
Reply-To: ek@loon.com
From: Erik Kline <ek@loon.com>
Date: Mon, 27 Apr 2020 16:21:23 -0700
Message-ID: <CAAedzxqkjrvJiRa-FXu9jNrq40CYgnacF+FA92S6hz6NjyEUXQ@mail.gmail.com>
To: "Tirupachur Comerica, Subash" <subash.tirupachurcomerica@commscope.com>
Cc: Erik Kline <ek.ietf@gmail.com>, Martin Thomson <mt@lowentropy.net>, captive-portals <captive-portals@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000de405705a44df929"
Archived-At: <https://mailarchive.ietf.org/arch/msg/captive-portals/gJGgwH6KWx_x1d4ZTbhrhs8nMPo>
Subject: Re: [Captive-portals] Captive-Portal Identification in DHCP / RA draft-ietf-capport-rfc7710bis-03
X-BeenThere: captive-portals@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 27 Apr 2020 23:21:38 -0000

That seems reasonable to me.  I've added a comment to
https://github.com/capport-wg/7710bis/issues/20 to remind myself.

On Mon, 27 Apr 2020 at 16:08, Tirupachur Comerica, Subash <
subash.tirupachurcomerica@commscope.com> wrote:

> Hi Martin,
>
> Thanks for your quick response.
>
> Good to know it is already taken care of.
>
>
>
> Hi Erik,
>
> Thanks, but it would be very handy next to the TLV formats (-:
>
>
>
> Thanks,
>
> Subash
>
>
>
>
>
> *From: *Captive-portals <captive-portals-bounces@ietf.org> on behalf of
> Erik Kline <ek.ietf@gmail.com>
> *Date: *Monday, April 27, 2020 at 4:01 PM
> *To: *Martin Thomson <mt@lowentropy.net>
> *Cc: *captive-portals <captive-portals@ietf.org>
> *Subject: *Re: [Captive-portals] Captive-Portal Identification in DHCP /
> RA draft-ietf-capport-rfc7710bis-03
>
>
>
> And the 255 byte URI limit is mentioned in section 2 (~3rd paragraph).
>
>
>
> I guess if someone wants longer URIs they have to move to an IPv6-only
> network.  ;-)
>
>
>
> On Mon, Apr 27, 2020 at 3:54 PM Martin Thomson <mt@lowentropy.net> wrote:
>
> Thanks for the input.  Apparently great minds think alike as another
> reviewer found the exact same shortcoming just days ago.  The next revision
> should have these fixed.
>
> On Tue, Apr 28, 2020, at 05:07, Tirupachur Comerica, Subash wrote:
> >
> > Hi,
> >
> > I was reviewing this draft and found a few missing text(sometimes
> > obvious) enumerated below(missing text in *_bold underline_*)
> >
> > Section 2.1 IPv4 DHCP Option
> >
> >  o Code: The Captive-Portal DHCPv4 option (TBD) (one octet).
> >
> >  o Len: The length, in octets of the URI.*_(one octet)_*
> >
> > Section 2.2: IPv6 DHCP Option
> >
> >  o option-code: The Captive-Portal DHCPv6 option (103) (two octets).
> >
> >  o option-len: The length, in octets of the URI.*_(two octets) --?
> > Please see question below_*
> >
> >  o URI: The contact URI for the captive portal that the user should
> >
> >  connect to (encoded following the rules in [RFC3986
> > <https://tools.ietf.org/html/rfc3986
> <https://secure-web.cisco.com/1DrhtknMvGSxXwxFONyWoHl0x3RW7O9lhyY2MvO7kekYqwa5WAARuLPf3vnfHvuN1Vk8X3US9s9qUMiMr91dRF7YCnTxzqLTh8FZdtcbV9c8f4Fz9mX0Ye_IiK2z90ivtQfDDD_q9dlxmDk9nB79xJNeStSioAtPBK7GPiN00nztu0xX4F3R-YxjyggE1_LnZiRDCiP6VmSu4zGA6Cne0yLizaMLRa8AHTsz6mu6B2Vb4--fTMRy4NijE1_Jv0p6UraT0dlWWvXvAtqVNYRPeWSldiUktyQVdq7jo8n8EBhmgFM0_Pg6DKjr73YAeoAqd9odm9LtZfoMZ0wsU8MeWGxE5O0mm9gCShDLAF50WWWA/https%3A%2F%2Ftools.ietf.org%2Fhtml%2Frfc3986>
> >]).
> >
> >
> > - *Question on the above option-len: If this is two octets in IPv6 DHCP
> > option, then the URI can be longer then 255. Option-len-value <=255,
> > correct?*
> >
> >
> > Section 2.3: The Captive-Portal IPv6 RA Option
> >
> >  o Type: 37*_(one octet)_*
> >
> >  o Length: 8-bit unsigned integer. The length of the option
> >
> >  (including the Type and Length fields) in units of 8 bytes.(*_one
> octet_*)
> >
> >  o URI: The contact URI for the captive portal that the user should
> >
> >  connect to. For the reasons described above, the implementer
> >
> >  might want to use an IP address literal instead of a DNS name.
> >
> >  This should be padded with NULL (0x0) to make the total option
> >
> >  length (including the Type and Length fields) a multiple of 8
> >
> >  bytes.
> >
> >
> > Thanks,
> >
> > Subash
> >
> >
> > _______________________________________________
> > Captive-portals mailing list
> > Captive-portals@ietf.org
> > https://www.ietf.org/mailman/listinfo/captive-portals
> <https://secure-web.cisco.com/1tJvH-_AukQ6qvN16te7iRBGRW-iDeGIOwIWpTIdjeVnmqD2uy0rRtd9g5bZdn79YsnXiJb0rFynoh1YMs0CUFErgSmZqQKlOb_x4wEfTDpgUsR6Vl1K-dlmbB5h-qkkmm3luW-aSso5jygsNyy3_YkhAjf8CzGmUDxVfl2OZb3BqCSIHfm6cnZEeUFREGCcjL2lP_h6F5mTF8MD-OGrb-Oj4o6WHH-WJT72DFz7egBnI3VkSDQiSD9tbXRTGxVlm9gcesD9iXs944jEHmQFD6S0_XlpmXR-Mp9Hg9fY0PfE7hc_ww9WsFJ4gStx82yvxAa1Ni16TxAxTYqUkhlK0JA/https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fcaptive-portals>
> >
>
> _______________________________________________
> Captive-portals mailing list
> Captive-portals@ietf.org
> https://www.ietf.org/mailman/listinfo/captive-portals
> <https://secure-web.cisco.com/1tJvH-_AukQ6qvN16te7iRBGRW-iDeGIOwIWpTIdjeVnmqD2uy0rRtd9g5bZdn79YsnXiJb0rFynoh1YMs0CUFErgSmZqQKlOb_x4wEfTDpgUsR6Vl1K-dlmbB5h-qkkmm3luW-aSso5jygsNyy3_YkhAjf8CzGmUDxVfl2OZb3BqCSIHfm6cnZEeUFREGCcjL2lP_h6F5mTF8MD-OGrb-Oj4o6WHH-WJT72DFz7egBnI3VkSDQiSD9tbXRTGxVlm9gcesD9iXs944jEHmQFD6S0_XlpmXR-Mp9Hg9fY0PfE7hc_ww9WsFJ4gStx82yvxAa1Ni16TxAxTYqUkhlK0JA/https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fcaptive-portals>
>
> _______________________________________________
> Captive-portals mailing list
> Captive-portals@ietf.org
> https://www.ietf.org/mailman/listinfo/captive-portals
>