Re: [Netconf] SSE and HTTP/2 in restcon-notif

Andy Bierman <andy@yumaworks.com> Mon, 01 October 2018 19:46 UTC

Return-Path: <andy@yumaworks.com>
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 33160130E73 for <netconf@ietfa.amsl.com>; Mon, 1 Oct 2018 12:46:00 -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, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 Pr5iliPws1uM for <netconf@ietfa.amsl.com>; Mon, 1 Oct 2018 12:45:56 -0700 (PDT)
Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (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 8728A1252B7 for <netconf@ietf.org>; Mon, 1 Oct 2018 12:45:56 -0700 (PDT)
Received: by mail-lj1-x22c.google.com with SMTP id 5-v6so13332266lju.6 for <netconf@ietf.org>; Mon, 01 Oct 2018 12:45:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UTEsS8ADNaWdXZzUFYHlAaRu0jMC7GzFK7I+HpUD8jE=; b=OaBoFZM2kIAn4pUTpoee1oAqmoRPehfjS8KGldEvhUDZNHt4JfVux+q0UuPRwMYYHX hS8B49V6hqboMjctg5seTsTRlF4DQ97qkpfXPkxzITLVYGRmkj1tTKEJtjYE4AeouOWU 2JBC1XGnVYEDkxKi5E6exQN9yjQLLzpOENi243NgXRocuxja+zhro4gy7/b78edm5nYh F05zgex1aBmC+Gw9vv2bpxWilRC3fuoBm8xH4LawFPjDLalBuS3U6tdcQ1HQ2kjhJ3Q9 DpqhNixc+lxcxK2oER23MeFGMPmHasRQhyvDQqyuXzu3lKWO+nwfrgihx3woWGR3WLmP 3KFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UTEsS8ADNaWdXZzUFYHlAaRu0jMC7GzFK7I+HpUD8jE=; b=CMAJ731E5hPYiX/UbvkuSNamTgYyRmONjIxxClbyKQsQxfnTdR+1GAvmAaaeM2DUJG JktREBb7ukVGe5Cg6ZaVvidvRc+UBibAoXtDZvnVlsjZ4uen6gGeENiiYRbXvR5AGY0o 3Reu1Fx5x8LvNy/EBYy6qPuTbqB8Tz6Ftn8WIrE8b0ECRiItpu9pTcii/SYotESDnC+l 28Tz/XW6+u83oZ1fd4+CqPLnHgNdRsaJ9VWu7vtWOgXV5SZfVcIG03hDAsOo9CyoyjuK sHuJqOz73JvDRIvEnOS7txz5Dub8yUAElkMk99mgyUo8FHiW6mBg1ZzLm5VDIHE+lGy/ dBPQ==
X-Gm-Message-State: ABuFfojo2GnzfaTr/v+WpMAf/DEPH+kSRh5/5UbHBoUHfn4uKIqER+Gi 64ab3BxYAW5M8Wuk2+65tky4RRUIUdBBVeWfQsVu+A==
X-Google-Smtp-Source: ACcGV62QHTzLAUM0XQmzodkkWBxbbAFt3WtlA6swXDqhaJpSoeQ/Jold7JL2Q5dycwDJhbo/lujo4PyKr02EubI+vzo=
X-Received: by 2002:a2e:810e:: with SMTP id d14-v6mr7272046ljg.170.1538423154510; Mon, 01 Oct 2018 12:45:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:f811:0:0:0:0:0 with HTTP; Mon, 1 Oct 2018 12:45:53 -0700 (PDT)
In-Reply-To: <2EAF7889-0179-482E-AEE9-A5311EFAB680@juniper.net>
References: <CABCOCHRyuU712k+QHD0Ke5VF5bj7wSyHAcWxGyDsgT6NKA1ing@mail.gmail.com> <6E59E89D-B00C-4E8A-A3EA-970553C2F40E@juniper.net> <CABCOCHRHVP0kN68w=Wg8rR9AzF4YPteW_GvUVtAuvgTEWoNPNw@mail.gmail.com> <20181001.203508.1709854582923261288.mbj@tail-f.com> <2EAF7889-0179-482E-AEE9-A5311EFAB680@juniper.net>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 01 Oct 2018 12:45:53 -0700
Message-ID: <CABCOCHQKYPWJ8WvvOPWF9dhnxujDE3WbRXMOO94XHO6QB75gBA@mail.gmail.com>
To: Kent Watsen <kwatsen@juniper.net>
Cc: Martin Bjorklund <mbj@tail-f.com>, "rrahman=40cisco.com@dmarc.ietf.org" <rrahman=40cisco.com@dmarc.ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a3a17d0577300d21"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/vwlyiy0atK4Qki_nfANw4Pf-XsY>
Subject: Re: [Netconf] SSE and HTTP/2 in restcon-notif
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Configuration WG mailing 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, 01 Oct 2018 19:46:00 -0000

On Mon, Oct 1, 2018 at 12:35 PM, Kent Watsen <kwatsen@juniper.net> wrote:

>
>
> >> I think the URI should be implementation-specific.
> >> There is a standard mechanism to discover the correct URI to use
> >> so there should not be any client issues.
> >
> > +1
> >
> >> If the URI just happens to match /streams/<stream-name>\
> >> /<subscription-id> then so what?  It is just an implementation
> >> detail right?
>
> I thought the concern was for preventing access by other
> clients.  One way is through obfuscation (e.g., random URI).
> Another is through access control, but we wouldn't want
> dynamically-generated NACM rules, in <intended> at least,
> so then is the idea for dynamically-generated NACM rules
> to be in <operational>?  Perhaps someone can post text?
>
>
I don't know why changes to NACM would be needed.
The server just needs to remember the username of the client that
did the <establish-subscription> and only allow that username
to do the GET on the SSE URI.



> Kent // contributor
>
>
>
Andy