Re: [netconf] Latest ietf-netconf-server draft and related modules

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 26 April 2021 17:21 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60B8D3A29AF for <netconf@ietfa.amsl.com>; Mon, 26 Apr 2021 10:21:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jacobsuniversity.onmicrosoft.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 RrBogbN7c-Oa for <netconf@ietfa.amsl.com>; Mon, 26 Apr 2021 10:21:47 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80085.outbound.protection.outlook.com [40.107.8.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 865A13A29B3 for <netconf@ietf.org>; Mon, 26 Apr 2021 10:21:47 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YFuJGXeW6Sw4+UgqWAFMT0O4C6SXRN9gonyJPl8nZNnQtuImkARikLMYpkXRURpdZAdVn1qWiGwoeG8SqLpvvDDA+bYIGRuzsLmKkFWE2VIDQP1bwTIvrP5k/DUOjo7vB2WunmglrkWPBI54Aypnovo0ienlvUmTI2SEa2cGL8XXhpGMzq/IEDK1rH2tvA5Cy8GW75XoikMnyEzmQOtT0xDvZMJsfobv5BzBaAyDt9XWin0I2ava5O5UQ7d7wHszJHGnd5e0sQ1OXpW6KRHUWLeVmINSNpHmbstR/9Lc8d6HmQ26avQ7cvduKg6x4u9HmuObesDL55FWF+IrtmGw0w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FFyfgHzzvyT1aSfAxhoLnSBpBsFAzppvu4h8/zhJ7Ts=; b=A9zp3TIR52EKJKfXyZoLkIKCy5CZkKTwkUim0LIOO/2Aspvi9X4HzFkdkKXx0SBPhz9xwkG1LpEB6DNLRltwTCGcBpsDjEargIzyEu1GGxbHBSN8xIcK0PqAmxCAeVtpBCsge4Bw489H+Gh6c3b9Uxm6an09BKKwKtsCpKNXLXy7eAUa6ZwfafctwTJRj8SBus+8jclB0YPoWnXclaWJwrCNU0Y2xySHab0Xn6sJPGd1VqSIIC/QovAffOwZ0/cqyD1n52z0+rfIUxVyuKsPavqenZQvHo54IXKaWb0VOiroxNEMO3u/XDM7goPlPZAQJ6TYgX+/eJrry6zzaqsS1Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FFyfgHzzvyT1aSfAxhoLnSBpBsFAzppvu4h8/zhJ7Ts=; b=QmY/Hl2hiZy6QvuPktQPsPorsRf12b7+pPcxSnkYzTgSDkerVg/7hIFg0Qhex6XL7G5ROslB4qqYA25eDebHgrWKO8hnieCXqJ0028tp/PmtIl/Xufg/A4bVcbq9EnljS93kdEs4fp5pphRirAgGRUAPsVPCyBnf/k+XzDLl3tk=
Authentication-Results: watsen.net; dkim=none (message not signed) header.d=none;watsen.net; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM0P190MB0674.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22; Mon, 26 Apr 2021 17:21:45 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::e8a2:9886:8dfa:41c6]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::e8a2:9886:8dfa:41c6%4]) with mapi id 15.20.4065.027; Mon, 26 Apr 2021 17:21:45 +0000
Date: Mon, 26 Apr 2021 19:21:43 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Kent Watsen <kent+ietf@watsen.net>
Cc: "netconf@ietf.org" <netconf@ietf.org>
Message-ID: <20210426172143.hhhebmeudv23dvkr@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Kent Watsen <kent+ietf@watsen.net>, "netconf@ietf.org" <netconf@ietf.org>
References: <10f7-60865e00-73-1b8071a0@204658236> <010001790f25d43d-07a7c720-cb0c-494d-846b-91537afb94e9-000000@email.amazonses.com>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <010001790f25d43d-07a7c720-cb0c-494d-846b-91537afb94e9-000000@email.amazonses.com>
X-Originating-IP: [212.201.44.244]
X-ClientProxiedBy: AM0PR10CA0101.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:e6::18) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (212.201.44.244) by AM0PR10CA0101.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:e6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20 via Frontend Transport; Mon, 26 Apr 2021 17:21:44 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 2c808367-485d-4ab7-85b5-08d908d7c3f2
X-MS-TrafficTypeDiagnostic: AM0P190MB0674:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM0P190MB0674E530F2280EAE7C7E26EBDE429@AM0P190MB0674.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: kq5hEG5n349ckIOwkmKPMLMYmVlOdjXYO9iDktDw18CmKdcDjEDE1dUyGe4vcP2/UK04qHFDNdrZaLZPSOLXqpUPszOHeLOKxI+hmmCLKMCPP3YZcG01piDWFSLdI3bqb2WUqHQ8NA58Ite+X00CRvUXQWYTn/KWu4QW/s0Ym7hgGziEMpDZnXEegMJ2A/doqAcrKa5NwXd/rO/CvxSiPoAVDhhlf1vfn69RDNcjcbdrtTGWy2EkeWUaJVR8e7shwWBUeCCHWU5A+r83uWJlKaUgo2rPc7Wlunv77ToFMalFjjeBWTai1f8v9WcEZnM1/UmmHci1wPUU3oDCUPvdxOn3PDWPAxdGrKvDUsCndn5P32hEX+UyKehLClZMbko12NSs5Adg6ykCz/x+O+l70nlDLlTyePnR5V/m2Wuyvg5F8/+9m7Ut2NT8dwhwWErrLHhsIfy90zJvx7rgRixTYDK7zpjm1FGOlRFuzwRM+VjZtoPFv4nY4JI4LDqgqMPvRWyMYJpbZqTC9RrLWLhKsfuT90ZGjIFnWd20ljMUFy9i0IGFFW1+2TNEwsiK0RtsL1Fcaesahyay/9jpunL+KhXmE4pBTtTFjOXPUgLB0Zux1DKKWkXSMveauYqWShAW0aAb8aCVCacXIgLcsthI1i02Ze+w+pexvo5k+JOr8AN2YQet85tdYKWqvG1yNLeg3DyNnhwm/h1M24txykbpa6mVRy0EhMWnKLhBqJwRNeI=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(346002)(376002)(136003)(39840400004)(396003)(366004)(6486002)(8676002)(38350700002)(5660300002)(1076003)(66476007)(786003)(6496006)(38100700002)(52116002)(4326008)(316002)(86362001)(956004)(8936002)(186003)(16526019)(3450700001)(2906002)(83380400001)(478600001)(66556008)(66946007)(26005); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?Q2c5Uk5TODhxR09IV2w3cXFsWTVuczVyRHBHRTNYNUtlc21MMEdoWnFTQ3FH?= =?utf-8?B?QVJZaG9nd0F1RFp2VEhDbUFvNXZzMmtrczZmV3ZkcW01VWVwcWhaZXRseVU0?= =?utf-8?B?cG8wcE9wTG9OeGNqNm9NaFRMbmQySGdpVEVtQWdCVmRNOEdJYTV2cmVEZXdM?= =?utf-8?B?K25EUHkxWDFnRVJZWjV4RHozVUpVT0xydDMrZmdtRGk2aVhlWlFTdXJGUFlq?= =?utf-8?B?bGpISXF4QWZFWGdNdnFod0FJaTJNV21sSXEwSnQzV2ZCVUdNN2xrb2lNcWJr?= =?utf-8?B?cldCS0ZnSzc2dmVoYTVqZzM4Kys4bks4WkNVb0QvUVE1Qmw5Qzd4enlBazFD?= =?utf-8?B?RWJaL1o5N1ZmOHdMSTNyVjBVNnhhSVVxR001S1RlWUl4UnZlQ1Vjc1VpbDVZ?= =?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OGxtc280RTJYa0oyUC9QYzFR?= =?utf-8?B?bktuV0FtaTAzblg1NjJmWWgyK25ocXFQMXp1b0lTNTZ5dEwvNGowTG16LzdY?= =?utf-8?B?ZGMxUThDY29EQ05jZnNCa0JVWEdNK0lwbjN2SHVzcHpFS0c0UFBrQWJ3UG45?= =?utf-8?B?VUx1TDEraEpRVHNsVzN2S2pkd29nZkVaWS9hT1NXTmZTd3VDeXp3ZTI0bFFN?= =?utf-8?B?L0FTc2pJcXQ2cXRaR3lVTFZnRWswWk9wN1Z3SU9ITGFORWY1akFrSFdJd0VZ?= =?utf-8?B?M2JDUFlDUnZPV0RmRFljdU5MVHltSEEzTzU3SmQ4ajdUOEVMOERYbk9YV2lE?= =?utf-8?B?MVUxd21BTDRiNzNKc21uVUJFbGZaelIwMTZac3BTempVRVlqNnJva214SHQ3?= =?utf-8?B?NmRBSWhiNGl5dlV5Tnk1Wk40cUdQMmhwamtGdzJJcFZQNFhXdTE3WTRONnFE?= =?utf-8?Q?ZbNS2+D4w6AQA5TAPYFn2ixImDKJTmCgwfoblf2?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 2c808367-485d-4ab7-85b5-08d908d7c3f2
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2021 17:21:44.9073 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: eAKuo75ypXKE6LSxi9SLWcxwRTBrWbWSQULy3EdKfxVeUKXfnryhdt3wvwA3iy5yoq/PE7PlvbVJtnZvg//LR2sGuO7zzp5YhQi4RW/0VLI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0P190MB0674
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/T7GIycVc1G8Xij0uwwkW7V1dQNE>
Subject: Re: [netconf] Latest ietf-netconf-server draft and related modules
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Apr 2021 17:21:52 -0000

On Mon, Apr 26, 2021 at 05:06:48PM +0000, Kent Watsen wrote:
> 
> * The sshd_config manage says:
> 
>     AuthenticationMethods
>              Specifies the authentication methods that must be successfully completed for a user to be granted access.  This
>              option must be followed by one or more lists of comma-separated authentication method names, or by the single
>              string any to indicate the default behaviour of accepting any single authentication method.  If the default is
>              overridden, then successful authentication requires completion of every method in at least one of these lists.
> 
>              For example, "publickey,password publickey,keyboard-interactive" would require the user to complete public key
>              authentication, followed by either password or keyboard interactive authentication.  Only methods that are next in
>              one or more lists are offered at each stage, so for this example it would not be possible to attempt password or
>              keyboard-interactive authentication before public key.
> 
> 
> As yet, with the current model, I don’t see a direct correlation to “AuthenticationMethods”, unless you think “keyboard-interactive” is it, but that doesn’t follow from the manpage snippet above.
>

SSH iterates over the authentication methods that both peers
offer. The 'keyboard-interactive' method (RFC 4256) hooks into PAM,
for many setups this results by default to password authentication,
but depending on the PAM module selected, 'keyboard-interactive' can
carry more complex challenge response dialogues.

   [...] With the generic
   method defined here, clients will not require code changes to support
   new authentication mechanisms, and if a separate authentication layer
   is used, such as [PAM], then the server may not need any code changes
   either.

>From a YANG perspective, keyboard-interactive is of course challenging
to model since you end up modeling something as flexible as PAM...

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>