Re: [I2nsf] questions & comments to draft-jeong-i2nsf-consumer-facing-interface-dm-03

"Mr. Jaehoon Paul Jeong" <jaehoon.paul@gmail.com> Thu, 24 August 2017 01:12 UTC

Return-Path: <jaehoon.paul@gmail.com>
X-Original-To: i2nsf@ietfa.amsl.com
Delivered-To: i2nsf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C65D126B7E; Wed, 23 Aug 2017 18:12:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.688
X-Spam-Level:
X-Spam-Status: No, score=-2.688 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DC_PNG_UNO_LARGO=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_HK_NAME_FM_MR_MRS=0.01] 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lid7PE_Po58A; Wed, 23 Aug 2017 18:12:16 -0700 (PDT)
Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (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 B2F101320BB; Wed, 23 Aug 2017 18:12:15 -0700 (PDT)
Received: by mail-io0-x22a.google.com with SMTP id g71so6032797ioe.5; Wed, 23 Aug 2017 18:12:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=o9T3Pq0/x9Ekh7LCX5eqg6AyKPe7cWsCgdtHoxbXZA0=; b=SY7VTmm1xFXyNCl2UxHwLlrrWZiy1piy1ThnWGUUmWVDvRR8753eWTl/arQV0vPg/I 1PWCXwQlB+uRHbZFsL574QRN21iJr3wXnkQnvM8X/RulZ6IzpAnX1lZg0jheXg+2WQkM vzQyKZZF5yQ6a4O+e7O6lp/7ls5BjCI0LinrnN2rENK3e4l/BDCCn6E0U+vEXJ1HHyN9 Rx2R1DHX1XoGJJvtBRd4F4eFDsZryxLVn8OJql++crSJe6ke2SgpNX67UEwLXohaiZQn bDUAY27SROj0He6DYQQQX6uU48VR5t4E4O69ypciAMX7dIjVUDrHYccirlql2f0HoXIF u94w==
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=o9T3Pq0/x9Ekh7LCX5eqg6AyKPe7cWsCgdtHoxbXZA0=; b=J0YNip3Yaf3+DasfInuIxhfbXuKi4+GPyWeL7nzcLHa0rHS+Hze2kveqfaVT9h+3Lm WrXaOtIl30/+PX/NfPuYzo5yyVmDeLzXJR6vXimofg+ih8kDN6xIvb7dmmmT2E0Z14gH HhpxdsNCV09u+T33Eu8MZTUkKurDd7Ejqx5XvksKs/fXXhJmhQKHi9oxc+dIQbyX6rUB rloNXOQxRhGrIAKnpbQf3CRqzci3uGu6ZZmuIm8gya2nINs0Au0e95qWuVe8H8Q/rCnX cRUfo1pk7u+1pAZyiiwjbORHq3a4VvfDcUEL84dk4qgpiMH/4tI/LGnCf88vzauCEo57 SZ7w==
X-Gm-Message-State: AHYfb5j+hdeitzE5W0GZUy98vuPpM6lpjz2odd+aDksE5+qjDygUh5Py DQLdR0GIbykg7cepy5SNmsRs2Te4ig==
X-Received: by 10.107.53.72 with SMTP id c69mr4271779ioa.204.1503537134010; Wed, 23 Aug 2017 18:12:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.208.145 with HTTP; Wed, 23 Aug 2017 18:11:43 -0700 (PDT)
In-Reply-To: <4A95BA014132FF49AE685FAB4B9F17F659463F9D@SJCEML702-CHM.china.huawei.com>
References: <4A95BA014132FF49AE685FAB4B9F17F65945DCAD@SJCEML702-CHM.china.huawei.com> <CAPK2DewD3aLOffRnErxRHBBdnkVJLXz7jGd7KKJ9O9oe6-_W3Q@mail.gmail.com> <4A95BA014132FF49AE685FAB4B9F17F659463F9D@SJCEML702-CHM.china.huawei.com>
From: "Mr. Jaehoon Paul Jeong" <jaehoon.paul@gmail.com>
Date: Thu, 24 Aug 2017 10:11:43 +0900
Message-ID: <CAPK2DeyF177KJf6+Lt+2AoSj_ypYvSW0yTZFHm03iJ5WHv3atQ@mail.gmail.com>
To: Linda Dunbar <linda.dunbar@huawei.com>
Cc: "i2nsf@ietf.org" <I2nsf@ietf.org>, "draft-jeong-i2nsf-consumer-facing-interface-dm@ietf.org" <draft-jeong-i2nsf-consumer-facing-interface-dm@ietf.org>, "Pauljeong@skku.edu" <Pauljeong@skku.edu>, "skku_secu-brain_all@googlegroups.com" <skku_secu-brain_all@googlegroups.com>
Content-Type: multipart/mixed; boundary="001a114490cec80c870557758448"
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2nsf/spDkUzkoqkZhKWlG2RI58DHqZqY>
Subject: Re: [I2nsf] questions & comments to draft-jeong-i2nsf-consumer-facing-interface-dm-03
X-BeenThere: i2nsf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "*I2NSF: Interface to Network Security Functions mailing list*" <i2nsf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2nsf>, <mailto:i2nsf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2nsf/>
List-Post: <mailto:i2nsf@ietf.org>
List-Help: <mailto:i2nsf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2nsf>, <mailto:i2nsf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Aug 2017 01:12:19 -0000

Hi Linda,
My group checked your questions below and prepared answers as follows.

On Fri, Aug 18, 2017 at 6:37 AM, Linda Dunbar <linda.dunbar@huawei.com>
wrote:

> Paul,
>
> Thanks.
>
>
>
> Also the “source” and “destination” of the “policy-rule*” in the general
> data model (page 7) shouldn’t be “string”, should it refer to the
> policy-endpoint-groups specified on Page 5 instead?
>
>
>
>
>
>            +--rw policy-rule* [policy-rule-id]
>
>             |  +--rw policy-rule-id                   string
>
>             |  +--rw name?                            string
>
>             |  +--rw date?                            yang:date-and-time
>
>             |  +--rw source?
> policy-endpoint-groups
>
>             |  +--rw destination?
> policy-endpoint-groups
>
>             |  +--rw exception?                       string
>
>             |  +--rw action?                          string
>
>             |  +--rw precedence?                      uint8
>
>
>

 => Yes, you are right. The source and destination fields have the type of
policy-endpoint-groups according to
      the information model of Consumer-Facing Interface:
      https://tools.ietf.org/html/draft-kumar-i2nsf-client-
facing-interface-im-03#page-14

      More actually, we need to use a reference (called leafref) to the
policy-endpoint-groups's variable as follows:

     +-rw security-policy-instance
       +-rw policy-rule* [policy-rule-id]
       |  +-rw policy-rule-id        uint16
       |  +-rw name?                 string
       |  +-rw date?                   yang:date-and-time
       |  +-rw source?               -> /ietf-i2nsf-consumer-facing-
interface/threat-prevention/threat-feed/threat-feed-id
       |  +-rw destination?        -> /ietf-i2nsf-consumer-facing-
interface/policy-endpoint-groups/user-group/user-group-id
       |  +-rw exception?            boolean
       |  +-rw exception-detail?     string
       +-rw action* [action-id]
       .
       .
       .
       +-rw policy-instance* [policy-instance-id]
          +-rw policy-instance-id     string
          +-rw name?                  string
          +-rw date?                    yang:date-and-time
          +-rw rules?                    -> /ietf-i2nsf-consumer-facing-
interface/security-policy-instance/policy-rule/policy-rule-id
          +-rw scheduling?          -> /ietf-i2nsf-consumer-facing-
interface/security-policy-instance/policy-calendar/policy-calendar-id
          +-rw owner?                 string

       In the above partial data tree, source refers to threat-feed-id as
an attack source and destination refers to
       user-group-id as a protected destination.
       In the same way, we let the fields of rules and scheduling have the
type of leafref as a reference.


> On page 7, your “policy-instance” has both “policy-rule*” and
> “policy-instance*” listed under. Is it intended? Or typeo?
>

  => The current information model uses these duplicate name of
policy-instance to represent a security policy instance.
       So we rename the first policy-instance as security-policy-instance
above:

      I attach the data tree and yang code for the security-policy-instance
for your reference.

      Thanks.

      Best Regards,
      Paul


>
>
> Thanks, Linda
>
>
>
>
>
> *From:* Mr. Jaehoon Paul Jeong [mailto:jaehoon.paul@gmail.com]
> *Sent:* Wednesday, August 16, 2017 7:41 AM
> *To:* Linda Dunbar <linda.dunbar@huawei.com>
> *Cc:* i2nsf@ietf.org; draft-jeong-i2nsf-consumer-fac
> ing-interface-dm@ietf.org; Pauljeong@skku.edu;
> skku_secu-brain_all@googlegroups.com
> *Subject:* Re: [I2nsf] questions & comments to
> draft-jeong-i2nsf-consumer-facing-interface-dm-03
>
>
>
> Hi Linda,
>
> You are right.
>
> In the revision, we authors will revise the Consumer-Facing Interface data
> model
>
> such that it lists individual values for rules.
>
> Also, we will explicitly list the 'Policy Endpoint Group' and
> 'Custom-List'.
>
>
>
> Thanks for your good points.
>
>
>
> Best Regards,
>
> Paul
>
>
>
> On Wed, Aug 16, 2017 at 8:03 AM, Linda Dunbar <linda.dunbar@huawei.com>
> wrote:
>
> Paul, Eunsoo, Tae-Jin, Rakesh, and Sue,
>
>
>
> Thank you very much for the updated i2nsf-consumer-facing-interface-dm03,
> which matches much better with the i2nsf-consumer-facing-im draft.
>
>
>
> Just a few questions.
>
>
>
> I noticed that you don’t list individual value for the rules. For example,
> “primary-action” list the “permit”, “deny”, “rate limit”, etc in the
> description:
>
>
>
>              leaf primary-action {
>
>                type string;
>
>                description
>
>                  "This field identifies the action when a rule
>
>                  is matched by NSF. The action could be one of
>
>                  'PERMIT', 'DENY', 'RATE-LIMIT', 'TRAFFIC-CLASS',
>
>                  'AUTHENTICATE-SESSION', 'IPS, 'APP-FIREWALL', etc.";
>
>              }
>
>
>
>
>
> In  draft-ietf-netmod-acl-model-11, the actions are listed as explicit
> value.
>
>
>
>
>
> Similar paten goes with the definition of “Source” and “destination”. You
> have:
>
>
>
>              leaf source {
>
>                type string;
>
>                description
>
>                  "This field identifies the source of
>
>                  the traffic. This could be reference to
>
>                  either 'Policy Endpoint Group' or
>
>                  'Threat-Feed' or 'Custom-List' if Security
>
>                  Admin wants to specify the source; otherwise,
>
>                  the default is to match all traffic.";
>
>              }
>
>
>
>
>
> Not an expert in the data model, I am wondering if you need to explicitly
> list the 'Policy Endpoint Group', 'Custom-List', etc
>
>
>
>
>
> Thank you very much,
>
>
>
> Linda
>
>
>
>
> _______________________________________________
> I2nsf mailing list
> I2nsf@ietf.org
> https://www.ietf.org/mailman/listinfo/i2nsf
>
>
>
>
>
> --
>
> ===========================
> Mr. Jaehoon (Paul) Jeong, Ph.D.
> Assistant Professor
> Department of Software
> Sungkyunkwan University
> Office: +82-31-299-4957
> Email: jaehoon.paul@gmail.com, pauljeong@skku.edu
> Personal Homepage: http://iotlab.skku.edu/people-jaehoon-jeong.php
> <http://cpslab.skku.edu/people-jaehoon-jeong.php>
>
> _______________________________________________
> I2nsf mailing list
> I2nsf@ietf.org
> https://www.ietf.org/mailman/listinfo/i2nsf
>
>


-- 
===========================
Mr. Jaehoon (Paul) Jeong, Ph.D.
Assistant Professor
Department of Software
Sungkyunkwan University
Office: +82-31-299-4957
Email: jaehoon.paul@gmail.com, pauljeong@skku.edu
Personal Homepage: http://iotlab.skku.edu/people-jaehoon-jeong.php
<http://cpslab.skku.edu/people-jaehoon-jeong.php>