[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Captive-portals] Discovering captive portal API URL via DNS?
- To: [email protected]
- Subject: Re: [Captive-portals] Discovering captive portal API URL via DNS?
- From: "Martin Thomson" <[email protected]>
- Date: Wed, 04 Sep 2019 12:46:38 +1000
- Archived-at: <https://mailarchive.ietf.org/arch/msg/captive-portals/AO6eyFej9C58gu6MgYD03xWm3-c>
- Authentication-results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b=AgyWxj9u; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=E1j7j/xe
- Delivered-to: [email protected]
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm3; bh=XuGIMxDgKG9QwT5J4MWESxk/WpTbp3W w4Lx/qLxtIEc=; b=AgyWxj9uWiCm8JyH/gRqpiyNiRuO5Dp+QgkaZb/6TH1V0b0 Py4azTArRJsU78GrKAOnYrLDV5tmOBAsOCA6FjFffOWMa0abffunteU4mg7kw8v7 yMxQ+o/Ht3P0pAObSzJxu8iPMDHNahm84Zys77QyTI5M9dtfbn1/hIsVd2bXDDCh p805aYNl3bw5SjGXv2vLSSDVCDKSb5bGT9y8u+fVL2xWkfbD3+56wlo8TmWrjbY/ s3chQpNRchLJfroVzwxEm0/WZMS7UTyQaUVQFgLYvHVSfuxlacI6RMnYKr02vvOJ UvHejJ+WtM+Gnu9QSfsTn9PRKyZvF/39RveduVw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=XuGIMx DgKG9QwT5J4MWESxk/WpTbp3Ww4Lx/qLxtIEc=; b=E1j7j/xeNrZU/6VPDXbzq0 KD6HFxAArA7l5qyYlWS1ACtfoimHUPaxRplnY4LbSX+NQLLFDe/5bmYS/+5c1yyZ OF3BCtJqUFtHJ5vl/HTn0tDdPpVbxm+UoK/9fMV0IHDfxoXhubjwLLYEfLUJIIPJ 0usXyWJiO66TwrXc3EV0W8P0QmTBiXeRx9tZ3HH+G9s+yygrkByosu9SfzGjj/p7 8DgkScvnBDhkKBaXKTILAhRmSd6wUdxKtIu6QjNr6wXY0Yvpy10lfW/2xv/93GdC qlMf/RX+MptZETYhHlIMsXiPkNLUel4Tx/VNS+SLsSWXoN9bEE0068AoH+1mq9zQ ==
- In-reply-to: <CAKD1Yr1mR57OsOzDtjM=7YCV_R6zFF9WPxqA-XrWsuJWv+VTag@mail.gmail.com>
- List-archive: <https://mailarchive.ietf.org/arch/browse/captive-portals/>
- List-help: <mailto:[email protected]?subject=help>
- List-id: Discussion of issues related to captive portals <captive-portals.ietf.org>
- List-post: <mailto:[email protected]>
- List-subscribe: <https://www.ietf.org/mailman/listinfo/captive-portals>, <mailto:[email protected]?subject=subscribe>
- List-unsubscribe: <https://www.ietf.org/mailman/options/captive-portals>, <mailto:[email protected]?subject=unsubscribe>
- References: <CAKD1Yr1mR57OsOzDtjM=7YCV_R6zFF9WPxqA-XrWsuJWv+VTag@mail.gmail.com>
- User-agent: Cyrus-JMAP/3.1.7-154-gfa7592a-fmstable-20190829v1
What about those resolvers that collapse CNAME responses, effectively eliding them?
I assume that you are going to explicitly say that this has to be directed to the resolver provided in network configuration. If that resolver is outside the network or less tightly secured than DHCP/RAs, then we have the possibility of attack on the DNS-over-UDP-53 that is used to get the CNAME response.
(Just contributin' not chairin'.)
On Wed, Sep 4, 2019, at 09:44, Lorenzo Colitti wrote:
> All,
>
> During discussions with captive portal operators about implementing the
> capport API, one of the stumbling blocks that keeps coming up is that
> the captive portal operator does not always control the DHCP
> configuration and thus cannot easily use RFC7710.
>
> The WG has previously rejected the option of using a well-known DNS
> name to discover the URL, because the API itself requires TLS, and
> without a hostname it is not possible (or at least not easy) to
> validate the server. However, what if the client did a CNAME query for
> capport.arpa (or equivalent other local-only, non-DNSSEC-signed name),
> got back a CNAME for the real server, and then assumed that the API
> server was https://<targetofcname>/capport-api ?
>
> Alternatively, Erik and Warren suggest RFC 7553. In this scheme the
> client would do a URI lookup for "capport.arpa" or equivalent, and
> would take the result of that URL as the API endpoint.
>
> Thoughts?
>
> Regards,
> Lorenzo
> _______________________________________________
> Captive-portals mailing list
> [email protected]
> https://www.ietf.org/mailman/listinfo/captive-portals
>