Re: [OPSAWG] [Add] 🔔 WG LC: RADIUS Extensions for Encrypted DNS

Bernie Volz <bevolz@gmail.com> Fri, 14 October 2022 15:48 UTC

Return-Path: <bevolz@gmail.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 33C33C14CE2D; Fri, 14 Oct 2022 08:48:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N6PifUkHajoK; Fri, 14 Oct 2022 08:47:57 -0700 (PDT)
Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54746C14CE25; Fri, 14 Oct 2022 08:47:57 -0700 (PDT)
Received: by mail-qv1-xf32.google.com with SMTP id l19so3473418qvu.4; Fri, 14 Oct 2022 08:47:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=T05ZO+Nb3i0aoeXMnZo+GZq70jYnMfEBqX7KCK6qXdU=; b=dtGpOOnLdtg6j/SoDCxI9BwZAqBpRr5YqbRF3bgMv2fa9q9t9ruM/sYmOgILLx/+fI bmj3nkA2AbWbKu6KKazl3u/BED2b4166ZOJDl5nZDLhob9KHVQN+PgV6JQI1ZSMXJrET jdmls5ovw5/BP9GuudN1REwK8VZ57c9nFtMFaNThfnuuk85tib2F7jxUaq3Pxe13QIye E/aK48Dpw9hwuQGDTNgpxDSsIo5i+3w8hfaKj3Cuyk4QSIUcvQVnLVu2WPh3Fm9B22oC RMWJUcWCl6no1xqFeOCdfxNW2eBzihmbKiYpDbRVytW9mz+s29h1I0rxC8HXOD6l7wus i+Hw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T05ZO+Nb3i0aoeXMnZo+GZq70jYnMfEBqX7KCK6qXdU=; b=Z6VdsrJt6NVMXhl9UStz2o9U+yEnmZe574v1eiR+c7v8bzVl0zb0GimE4ZFkxrIIsg bxBEgNo4k7WrDi2wdBYenwcJqqYl6s5517YDe4hfcpJ75KnnMzMEQcTn9pQBrYxWgiok aL5mQmYzCQ+TFRctd2mgTzF30dyGHnZfwiVKL076ZKCM8XpQirfFDikVeUdTg3h06Ydb +7L/gbcufr0wWqtrjVq4VZJ/Ded1lRnlWZW8z5Bj/1xUkMDnqTw+3JEEbQ5JShLrvuOs L+OX7+tmeBW589tfLN0HaahI9AVgFUA3d1lUafoiq3IDOJkAYOmlzp2phoB8m1UxEFWa Z12A==
X-Gm-Message-State: ACrzQf2yt3jtqKFDtKjrQsD4tYIkpBQX6JTOXnjlW6fyNHhG1H9/RMlr f50rK2Bl7hTOVmRr1t286EpiB0A37g==
X-Google-Smtp-Source: AMsMyM5ba/uHcj3URBRZlGG7bYRt+++8soDkrizl5Kiea0LRNVOMVixeB4Pd8YvgvkRSYSU9MZlGjg==
X-Received: by 2002:a05:6214:c6d:b0:4b1:c751:ac7 with SMTP id t13-20020a0562140c6d00b004b1c7510ac7mr4843380qvj.96.1665762476210; Fri, 14 Oct 2022 08:47:56 -0700 (PDT)
Received: from smtpclient.apple (d-24-233-121-124.nh.cpe.atlanticbb.net. [24.233.121.124]) by smtp.gmail.com with ESMTPSA id v6-20020ac87286000000b0038b684a1642sm2243152qto.32.2022.10.14.08.47.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Oct 2022 08:47:55 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-D3F7F5D3-0ECD-42E8-869D-657189FDC366"
Content-Transfer-Encoding: 7bit
From: Bernie Volz <bevolz@gmail.com>
Mime-Version: 1.0 (1.0)
Date: Fri, 14 Oct 2022 11:47:54 -0400
Message-Id: <461EA7AC-6AC5-4FA4-BDA6-B474B3304538@gmail.com>
References: <25815_1665758700_634975EC_25815_443_1_92aeaa8dcb614481b63ce9b363177d87@orange.com>
Cc: dhcwg@ietf.org, "Joe Clarke (jclarke)" <jclarke@cisco.com>, opsawg <opsawg@ietf.org>, ADD Mailing list <add@ietf.org>, radext@ietf.org
In-Reply-To: <25815_1665758700_634975EC_25815_443_1_92aeaa8dcb614481b63ce9b363177d87@orange.com>
To: mohamed.boucadair@orange.com
X-Mailer: iPad Mail (19G82)
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/7GzmUQbpqett2V0GSlhPY6AL6t0>
Subject: Re: [OPSAWG] [Add] 🔔 WG LC: RADIUS Extensions for Encrypted DNS
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Oct 2022 15:48:01 -0000

Hi:

Your github document is -03 and published is -03, so likely you want to make it -04?

As no dhcp options are being defined and they are just being encapsulated in Radius attributes, not exactly sure how much the DHC wg can (or needs to) comment?

This basically changes things so you no longer have unique Radius attributes that are mapped to DHCP options, but you just use the DHCP options directly. This seems fine. (It does complicate the Radius configuration to handle DHCP option configuration if you don’t want them to be hand encoded as octet data, and many of the encoding/validation rules are not as consistent as we would like, especially for older options.)

The one concern for DHC wg may be to restrict the options that a DHCP server can send out if these options are intended to be delivered to the client via the dhcp server … for example, one would not want address or prefix delegation options to be allowed. This might be something similar to https://datatracker.ietf.org/doc/rfc6422/ which created a new registry for the allowed DHCPv6 options that can be provided by a relay agent (in this case encoded in the attributes).

- Bernie Volz

> On Oct 14, 2022, at 10:45 AM, mohamed.boucadair@orange.com wrote:
> 
> Hi Bernie, dhcwg, 
> 
> We received a comment during the WGLC of this draft that might lead us to revisit the design you have reviewed recently. This alternative design mirrors what we have done in 7037 (dhcwg) but with DHCP options included in RADIUS. The candidate text is available at: 
> 
> https://github.com/boucadair/draft-ietf-opsawg-add-encrypted-dns/blob/main/draft-ietf-opsawg-add-encrypted-dns-encap.txt
> 
> I'd appreciate if you can review this proposal and share any comments/issues you may have.
> 
> Thank you.
> 
> Cheers,
> Med
> 
>> -----Message d'origine-----
>> De : BOUCADAIR Mohamed INNOV/NET
>> Envoyé : vendredi 14 octobre 2022 16:32
>> À : 'Alan DeKok' <aland@deployingradius.com>
>> Cc : Ben Schwartz <bemasc@google.com>; Joe Clarke (jclarke)
>> <jclarke@cisco.com>; opsawg <opsawg@ietf.org>; radext@ietf.org;
>> ADD Mailing list <add@ietf.org>
>> Objet : RE: [Add] [OPSAWG] 🔔 WG LC: RADIUS Extensions for
>> Encrypted DNS
>> 
>> Re-,
>> 
>> Works for me. Thanks.
>> 
>> I will run this candidate version with dhcwg as well.
>> 
>> Cheers,
>> Med
>> 
>>> -----Message d'origine-----
>>> De : Alan DeKok <aland@deployingradius.com> Envoyé : vendredi 14
>>> octobre 2022 16:00 À : BOUCADAIR Mohamed INNOV/NET
>>> <mohamed.boucadair@orange.com> Cc : Ben Schwartz
>> <bemasc@google.com>;
>>> Joe Abley <jabley@hopcount.ca>; Ben Schwartz
>>> <bemasc=40google.com@dmarc.ietf.org>; Joe Clarke (jclarke)
>>> <jclarke@cisco.com>; opsawg <opsawg@ietf.org>; radext@ietf.org;
>> ADD
>>> Mailing list <add@ietf.org> Objet : Re: [Add] [OPSAWG] 🔔 WG LC:
>>> RADIUS Extensions for Encrypted DNS
>>> 
>>> 
>>> On Oct 14, 2022, at 5:47 AM, <mohamed.boucadair@orange.com>
>>> <mohamed.boucadair@orange.com> wrote:
>>>> Let's try to exercise this approach and see if there are not
>>> hidden complications vs. current design with known limitation. A
>>> drafty text (not yet in the main draft) can be seen at:
>>> https://github.com/boucadair/draft-ietf-opsawg-add-encrypted-
>>> dns/blob/main/draft-ietf-opsawg-add-encrypted-dns-encap.txt
>>> 
>>>  Nits:
>>> 
>>> Section 3: just drop the ASCII art.  RFC 8044 makes it no longer
>>> necessary.
>>> 
>>> Section 3.1, 3.2, and 7.1: the data type should be "string" for
>>> "opaque data"
>>> 
>>>  Other than that, it looks good on first read-through.
>>> 
>>>> The attributes should not be seen as opaque data by the RADIUS
>>> server but it should understand the encoding of the enclosed
>> options.
>>> The intended behavior should be called out, IMO.
>>> 
>>>  I would suggest saying something like "for ease of
>> administrator
>>> configuration, the RADIUS server SHOULD expose the DHCP options
>> and
>>> allow administrators to configure them, instead of requiring
>> them to
>>> be entered as opaque data".
>>> 
>>>  That gets the best of both worlds.
>>> 
>>>  Alan DeKok.
> 
> 
> _________________________________________________________________________________________________________________________
> 
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
>