Re: [Add] [OPSAWG] đź”” WG LC: RADIUS Extensions for Encrypted DNS

mohamed.boucadair@orange.com Mon, 17 October 2022 13:00 UTC

Return-Path: <mohamed.boucadair@orange.com>
X-Original-To: add@ietfa.amsl.com
Delivered-To: add@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6240CC1524A5; Mon, 17 Oct 2022 06:00:35 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=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=orange.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 Sm260BIneDmL; Mon, 17 Oct 2022 06:00:31 -0700 (PDT)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.66.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 11F11C1522B8; Mon, 17 Oct 2022 06:00:31 -0700 (PDT)
Received: from opfedar07.francetelecom.fr (unknown [xx.xx.xx.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by opfedar20.francetelecom.fr (ESMTP service) with ESMTPS id 4MrcY86NxQz8spF; Mon, 17 Oct 2022 15:00:28 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; s=ORANGE001; t=1666011628; bh=wx5wJ86km/vrYXBB+FAXK1ChyC7eeaAlSMTKvexMQX8=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=Mpn/Rv7wbBRKwpJLcEiQWRw0vUGbYOXYw692iMxuFk71C83/lw06SEdk7dslPzHT5 TDRRCnID8JXNFlvCy4L5rvxI3s3/Zc92kz283L3/2kyiK7TdCzDqZWCC271ZUdbewk +hXNmxfgpLdb432C6GnqxNIX3R6MPnzlmyuY31szXEtxZhsi45ykoKU48nQ5k6dj8c zzuQwPWeOYOsA/pAmas9Iss0HF7lxHdZTBXnVXutRcYFVOcfG8vWbhyv56rB1dH9cj hrGVHXrxkepS9VvGlas7qrIXvMfUToBlXYnXHheADx5sWeqPT9RUCRmzbw9xx+FASb BNXejpXTvEqbQ==
From: mohamed.boucadair@orange.com
To: Bernie Volz <bevolz@gmail.com>
CC: "dhcwg@ietf.org" <dhcwg@ietf.org>, "Joe Clarke (jclarke)" <jclarke@cisco.com>, opsawg <opsawg@ietf.org>, ADD Mailing list <add@ietf.org>, "radext@ietf.org" <radext@ietf.org>
Thread-Topic: [Add] [OPSAWG] đź”” WG LC: RADIUS Extensions for Encrypted DNS
Thread-Index: AQHY4ibCNBp0ICYqYEa6J8HiJWUJUK4Si6Ng
Content-Class:
Date: Mon, 17 Oct 2022 13:00:28 +0000
Message-ID: <19618_1666011628_634D51EC_19618_254_1_652cfe6f368c4ebda7c10e132434e1b7@orange.com>
References: <20231_1666008487_634D45A7_20231_149_6_153d12ca33df47fa8e951b4b354e6d62@orange.com> <0A884F49-F929-47D0-8183-236EDA6F9116@gmail.com>
In-Reply-To: <0A884F49-F929-47D0-8183-236EDA6F9116@gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Enabled=true; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SetDate=2022-10-17T12:59:49Z; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Method=Privileged; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Name=unrestricted_parent.2; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SiteId=90c7a20a-f34b-40bf-bc48-b9253b6f5d20; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ActionId=70c1b20d-9e3d-4d92-94d1-435c0d40bce8; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ContentBits=0
x-originating-ip: [10.115.26.50]
Content-Type: multipart/alternative; boundary="_000_652cfe6f368c4ebda7c10e132434e1b7orangecom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/add/gfb0e5U-9YR3VNDL3ttMIH4Fmx4>
Subject: Re: [Add] [OPSAWG] đź”” WG LC: RADIUS Extensions for Encrypted DNS
X-BeenThere: add@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Applications Doing DNS <add.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/add>, <mailto:add-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/add/>
List-Post: <mailto:add@ietf.org>
List-Help: <mailto:add-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/add>, <mailto:add-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Oct 2022 13:00:35 -0000

Re-,

Point taken for the registry.

For 4014bis, the issue is that there is no IANA registry for this and that 4014 have only a frozen list of options with SHOULD and like. That text should be fixed, hence https://datatracker.ietf.org/doc/draft-boucadair-dhcwg-rfc4014-update/.

Cheers,
Med

De : Add <add-bounces@ietf.org> De la part de Bernie Volz
Envoyé : lundi 17 octobre 2022 14:49
Ă€ : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@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
Objet : Re: [Add] [OPSAWG] đź”” WG LC: RADIUS Extensions for Encrypted DNS

I do think it would be best to set up a registry and policy at the server as to which it uses.

—-

I saw your 4014 bis, though technically you could have just requested IANA to add your new radius attribute to the existing registry rather than doing the bis document.

In this bis document, the new table entry is a bit odd:


245.TBA1  | DHCPv4-Options   | This-Document |


As “this document” doesn’t define that new attribute, and not even TBA1 (that is only reference).

It may be better to just add an update to the Allowed Radius attributrs table to the document that defines the new Radius attributes, rather than 2 documents?

- Bernie Volz


On Oct 17, 2022, at 8:08 AM, mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com> wrote:

Re-,

Please see inline.

Cheers,
Med

De : Add <add-bounces@ietf.org<mailto:add-bounces@ietf.org>> De la part de Bernie Volz
Envoyé : lundi 17 octobre 2022 13:42
Ă€ : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>>
Cc : dhcwg@ietf.org<mailto:dhcwg@ietf.org>; Joe Clarke (jclarke) <jclarke@cisco.com<mailto:jclarke@cisco.com>>; opsawg <opsawg@ietf.org<mailto:opsawg@ietf.org>>; ADD Mailing list <add@ietf.org<mailto:add@ietf.org>>; radext@ietf.org<mailto:radext@ietf.org>
Objet : Re: [Add] [OPSAWG] đź”” WG LC: RADIUS Extensions for Encrypted DNS

I was thinking more to put this restriction on the dhcp server, when it makes use of the Radius attribute to respond to a client.
[Med] I think that this is similar to any guards used for consuming conventional radius attributes. What differs in the proposed attribute is just the encoding, not how this feeds the DHCP server logic, but …

I have no issue with it being limited at configuration too, but the dhcp server should also make sure only a limited set of options are sent to client.
[Med] … it is OK to add an explicit statement about a policy to control this at the DHCP server side.


Leaving this wide open causes issues as it may be miss used to inject things that really shouldn’t be.
[Med] OK.


Looking at it again, it is also unclear how a dhcp server is to use information. For example, does the server use options from this information before its own configuration or only if it has no configuration (I suspect the former, as this is more client/request specific).
[Med] The logic at the server side is the same as how “conventional” RADIUS attributes are consumed by DHCP server.

And from RFC7037, there is



169        DNS-Server-IPv6-Address     [RFC6911]

Does this mean someone could now place the DNS server option into your new Radius attribute instead of using this attribute to have the server map it to the DHCP option?
[Med] The expectation is that this will be used to mimic future DHCPv6 options, not those already governed by dedicated RADIUS attributes.


It seems to me that the reason for doing this is to handle the OPTION_V6_DNR only, so maybe best to restrict just to this for now? Future documents could add more to registry for options allowed.
[Med] I don’t have an objection to define a registry if you think this is “safer”. Please advise.



- Bernie (from iPad)



On Oct 17, 2022, at 2:15 AM, mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com> wrote:

Hi Bernie,

Thank you for the feedback.

I have considered a registry to declare the options that can be echoed in the RADIUS attribute, but I then give it up because that list will be restricted anyway by policy:

   RADIUS implementations may support a configuration parameter to
   control the DHCP options that can be included in a DHCP*-Options
   RADIUS attribute.

Cheers,
Med

De : Add <add-bounces@ietf.org<mailto:add-bounces@ietf.org>> De la part de Bernie Volz
Envoyé : vendredi 14 octobre 2022 17:48
Ă€ : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>>
Cc : dhcwg@ietf.org<mailto:dhcwg@ietf.org>; Joe Clarke (jclarke) <jclarke@cisco.com<mailto:jclarke@cisco.com>>; opsawg <opsawg@ietf.org<mailto:opsawg@ietf.org>>; ADD Mailing list <add@ietf.org<mailto:add@ietf.org>>; radext@ietf.org<mailto:radext@ietf.org>
Objet : Re: [Add] [OPSAWG] đź”” WG LC: RADIUS Extensions for Encrypted DNS

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<mailto: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<mailto:aland@deployingradius.com>>
Cc : Ben Schwartz <bemasc@google.com<mailto:bemasc@google.com>>; Joe Clarke (jclarke)
<jclarke@cisco.com<mailto:jclarke@cisco.com>>; opsawg <opsawg@ietf.org<mailto:opsawg@ietf.org>>; radext@ietf.org<mailto:radext@ietf.org>;
ADD Mailing list <add@ietf.org<mailto: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<mailto:aland@deployingradius.com>> Envoyé : vendredi 14
octobre 2022 16:00 À : BOUCADAIR Mohamed INNOV/NET
<mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>> Cc : Ben Schwartz
<bemasc@google.com<mailto:bemasc@google.com>>;
Joe Abley <jabley@hopcount.ca<mailto:jabley@hopcount.ca>>; Ben Schwartz
<bemasc=40google.com@dmarc.ietf.org<mailto:bemasc=40google.com@dmarc.ietf.org>>; Joe Clarke (jclarke)
<jclarke@cisco.com<mailto:jclarke@cisco.com>>; opsawg <opsawg@ietf.org<mailto:opsawg@ietf.org>>; radext@ietf.org<mailto:radext@ietf.org>;
ADD
Mailing list <add@ietf.org<mailto: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<mailto:mohamed.boucadair@orange.com>>
<mohamed.boucadair@orange.com<mailto: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.

_________________________________________________________________________________________________________________________



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.

_________________________________________________________________________________________________________________________



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.

_________________________________________________________________________________________________________________________

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.