I2NSF Working Group | S. Hyun |
Internet-Draft | Chosun University |
Intended status: Standards Track | J. Jeong |
Expires: September 29, 2019 | T. Roh |
S. Wi | |
Sungkyunkwan University | |
J. Park | |
ETRI | |
March 28, 2019 |
I2NSF Registration Interface YANG Data Model
draft-ietf-i2nsf-registration-interface-dm-03
This document defines an information model and a YANG data model for Interface to Network Security Functions (I2NSF) Registration Interface between Security Controller and Developer's Management System (DMS). The objective of these information and data models is to support NSF capability registration and query via I2NSF Registration Interface.
Please update these statements within the document with the RFC number to be assigned to this document:
Please update the "revision" date of the YANG module.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on September 29, 2019.
Copyright (c) 2019 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
A number of network security functions may exist in Interface to Network Security Functions (I2NSF) framework [RFC8329]. Since these NSFs likely have different security capabilities, it is important to register the security capabilities of each NSF into the security controller. In addition, it is required to search NSFs of some required security capabilities on demand. As an example, if additional security capabilities are required to serve some security service request(s) from an I2NSF user, the security controller should be able to request the DMS for NSFs that have the required security capabilities.
This document describes an information model (see Section 5) and a YANG [RFC7950] data model (see Section 6) for the I2NSF Registration Interface [RFC8329] between the security controller and the developer's management system (DMS) to support NSF capability registration and query and NSF initiation request via the registration interface. It also describes the operations which should be performed by the security controller and the DMS via the Registration Interface using the defined model.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].
This document uses the following terms defined in [i2nsf-terminology], [capability-im], [RFC8329], [nsf-triggered-steering], [supa-policy-data-model], and [supa-policy-info-model]
The I2NSF registration interface is used by Security Controller and Developer's Management System (DMS) in I2NSF framework. The following summarizes the operations done through the registration interface:
Figure 1 shows the information model of the I2NSF registration interface, which consists of three submodels: NSF capability registration, and NSF capability query. Each submodel is used for the operations listed above. The remainder of this section will provide more in-depth explanations of each submodel.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | I2NSF Registration Interface Information Model | | | | +-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ | | | NSF Capability | | NSF Capability | | | | Registration | | Query | | | +-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 1: I2NSF Registration Interface Information Model
This submodel is used by DMS to register an NSF to Security Controller. Figure 2 shows how this submodel is constructed. The most important part in Figure 2 is the NSF capability, and this specifies the set of capabilities that the NSF to be registered can offer. The NSF Name contains a unique name of this NSF with the specified set of capabilities. When registering the NSF, DMS additionally includes the network access information of the NSF which is required to enable network communications with the NSF.
The following will further explain the NSF capability information and the NSF access information in more detail.
+-+-+-+-+-+-+-+-+-+ | NSF Capability | | Registration | +-+-+-+-^-+-+-+-+-+ | +---------------------+--------------------+ | | | | | | +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+ | NSF | | NSF Capability| | NSF Access | | Name | | Information | | Information | +-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+
Figure 2: NSF Capability Registration Sub-Model
NSF Capability Information basically describes the security capabilities of an NSF. In Figure 3, we show capability objects of an NSF. Following the information model of NSF capabilities defiend in [capability-im], we share the same security capabilities: Network Security Capabilities, Content Security Capabilities, and Attack Mitigation Capabilities. Also, NSF Capability Information additionally contains the performance capabilities of an NSF as shown in Figure 3.
+-+-+-+-+-+-+-+-+-+ | NSF Capability | | Information | +-+-+-+-^-+-+-+-+-+ | | +---------------+-------+--------------+ | | | | | | +-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ | |Network Security | |Content Security | | | Capabilities | | Capabilities | | +-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ | | +-----------------------+--------------+ | | | | +-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+ | Performance | |Attack Mitigation| | Capabilities | | Capabilities | +-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+
Figure 3: NSF Capability Information
This information represents the processing capability of an NSF. This information can be used to determine whether the NSF is in congestion by comparing this with the workload that the NSF currently undergoes. Moreover, this information can specify an available amount of each type of resources such as processing power which are available on the NSF. (The registration interface can control the usages and limitations of the created instance and make the appropriate request according to the status.) As illustrated in Figure 4, this information consists of two items: Processing and Bandwidth. Processing information describes the NSF's available processing power. Bandwidth describes the information about available network amount in two cases, outbound, inbound. This two information can be used for the NSF's instance request.
+-+-+-+-+-+-+-+-+-+ | Performance | | Capabilities | +-+-+-+-^-+-+-+-+-+ | +----------------------------+ | | | | +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+ | Processing | | Bandwidth | +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+
Figure 4: Performance Capability Overview
NSF Access Information contains the followings that are required to communicate with an NSF: IPv4 address, IPv6 address, port number, and supported transport protocol(s) (e.g., Virtual Extensible LAN (VXLAN) [RFC 7348], Generic Protocol Extension for VXLAN (VXLAN-GPE) [draft-ietf-nvo3-vxlan-gpe], Generic Route Encapsulation (GRE), Ethernet etc.). In this document, NSF Access Information is used to identify a specific NSF instance (i.e. NSF Access Information is the signature(unique identifier) of an NSF instance in the overall system).
Security Controller may require some additional capabilities to serve the security service request from an I2NSF user, but none of the registered NSFs has the required capabilities. In this case, Security Controller makes a description of the required capabilities by using the NSF capability information sub-model in Section 5.1.1, and sends DMS a query about which NSF(s) can provide these capabilities.
This section provides an overview of the YANG Tree diagram of the I2NSF registration interface.
A simplified graphical representation of the data model is used in this section. The meaning of the symbols used in the following diagrams [RFC8431] is as follows:
module : ietf-i2nsf-reg-interface +--rw nsf-capability-registration | uses i2nsf-nsf-registrations rpcs : +---x nsf-capability-query | uses i2nsf-nsf-capability-query
Figure 5: YANG tree of I2NSF Registration Interface
The I2NSF registration interface is used for the following purposes. Developer's Management System (DMS) registers NSFs and their capabilities into Security Controller via the registration interface. In case that Security Controller fails to find any NSF among the registered NSFs which can provide some required capabilities, Security Controller uses the registration interface to query DMS about NSF(s) having the required capabilities. The following sections describe the YANG data models to support these operations.
This section expands the i2nsf-nsf-registrations in Figure 5.
NSF Capability Registration +--rw i2nsf-nsf-registrations +--rw i2nsf-nsf-capability-registration* [nsf-name] +--rw nsf-name string +--rw nsf-capability-info | uses i2nsf-nsf-capability-info +--rw nsf-access-info | uses i2nsf-nsf-access-info
Figure 6: YANG tree of NSF Capability Registration
When registering an NSF to Security Controller, DMS uses this module to describe what capabilities the NSF can offer. DMS includes the network access information of the NSF which is required to make a network connection with the NSF as well as the capability description of the NSF.
This section expands the i2nsf-nsf-capability-query in Figure 5.
NSF Capability Query +---x i2nsf-nsf-capability-query +---w input | +---w query-i2nsf-capability-info | | uses ietf-i2nsf-capability +--ro output +--ro nsf-access-info | uses i2nsf-nsf-access-info
Figure 7: YANG tree of NSF Capability Query
Security Controller may require some additional capabilities to provide the security service requested by an I2NSF user, but none of the registered NSFs has the required capabilities. In this case, Security Controller makes a description of the required capabilities using this module and then queries DMS about which NSF(s) can provide these capabilities. Use NETCONF RPCs to send a NSF capability query. Input data is query-i2nsf-capability-info and output data is nsf-access-info. In Figure 7, the ietf-i2nsf-capability refers to the module defined in [i2nsf-capability-dm].
This section expands the i2nsf-nsf-capability-info in Figure 6 and Figure 7.
NSF Capability Information +--rw i2nsf-nsf-capability-info +--rw i2nsf-capability | uses ietf-i2nsf-capability +--rw nsf-performance-capability | uses i2nsf-nsf-performance-capability
Figure 8: YANG tree of I2NSF NSF Capability Information
In Figure 8, the ietf-i2nsf-capability refers to the module defined in [i2nsf-capability-dm]. The i2nsf-nsf-performance-capability is used to specify the performance capability of an NSF.
This section expands the i2nsf-nsf-performance-capability in Figure 8.
NSF Performance Capability +--rw i2nsf-nsf-performance-capability +--rw processing | +--rw processing-average uint16 | +--rw processing-peak uint16 +--rw bandwidth | +--rw outbound | | +--rw outbound-average uint16 | | +--rw outbound-peak uint16 | +--rw inbound | | +--rw inbound-average uint16 | | +--rw inbound-peak uint16
Figure 9: YANG tree of I2NSF NSF Performance Capability
This module is used to specify the performance capabilities of an NSF when registering or initiating the NSF.
This section expands the i2nsf-nsf-access-info in Figure 6.
NSF Access Information +--rw i2nsf-nsf-access-info +--rw nsf-instance-name string +--rw nsf-address inet:ipv4-address +--rw nsf-port-number inet:port-number
Figure 10: YANG tree of I2NSF NSF Access Informantion
This module contains the network access information of an NSF that is required to enable network communications with the NSF.
This section introduces a YANG data module for the information model of the required data for the registration interface between Security Controller and Developer's Management System, as defined in Section 5.
<CODE BEGINS> file "ietf-i2nsf-reg-interface@2019-03-28.yang" module ietf-i2nsf-reg-interface{ yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-i2nsf-reg-interface"; prefix "iiregi"; import ietf-inet-types{ prefix inet; reference "RFC 6991"; } import ietf-i2nsf-capability{ prefix capa; reference "draft-ietf-i2nsf-capability -data-model-04"; } organization "IETF I2NSF (Interface to Network Security Functions) Working Group"; contact "WG Web: <http://tools.ietf.org/wg/i2nsf> WG List: <mailto:i2nsf@ietf.org> WG Chair: Linda Dunbar <mailto:Linda.duhbar@huawei.com> Editor: Sangwon Hyun <mailto:swhyun77@skku.edu> Editor: Jaehoon Paul Jeong <mailto:pauljeong@skku.edu> Editor: Taekyun Roh <mailto:tkroh0198@skku.edu> Editor: Sarang Wi <mailto:dnl9795@skku.edu> Editor: Jung-Soo Park <mailto:pjs@etri.re.kr>"; description "It defines a YANG data model for Registration Interface. Copyright (c) 2018 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; revision 2019-03-28 { description "The third revision"; reference "RFC XXXX: I2NSF Registration Interface YANG Data Model"; } rpc i2nsf-nsf-capability-query { description "Capability information that the Security Controller sends to the DMS"; input{ container query-i2nsf-capability-info { description "i2nsf capability information"; uses "capa:nsf-capabilities"; reference "draft-ietf-i2nsf-capability -data-model-04"; } } output{ container nsf-access-info { description "nsf access information"; uses i2nsf-nsf-access-info; } } } container i2nsf-nsf-registrations{ description "i2nsf-nsf-registrations"; list i2nsf-nsf-capability-registration { key "nsf-name"; description "Requeired information for registration"; leaf nsf-name { type string; mandatory true; description "nsf-name"; } container nsf-capability-info { description "nsf-capability-information"; uses i2nsf-nsf-capability-info; } container nsf-access-info { description "nsf-access-info"; uses i2nsf-nsf-access-info; } } } grouping i2nsf-nsf-performance-capability { description "NSF performance capailities"; container processing{ description "processing info"; leaf processing-average{ type uint16; description "processing-average"; } leaf processing-peak{ type uint16; description "processing peak"; } } container bandwidth{ description "bandwidth info"; container outbound{ description "outbound"; leaf outbound-average{ type uint16; description "outbound-average"; } leaf outbound-peak{ type uint16; description "outbound-peak"; } } container inbound{ description "inbound"; leaf inbound-average{ type uint16; description "inbound-average"; } leaf inbound-peak{ type uint16; description "inbound-peak"; } } } } grouping i2nsf-nsf-capability-info { description "Detail information of an NSF"; container i2nsf-capability { description "ietf i2nsf capability information"; uses "capa:nsf-capabilities"; reference "draft-ietf-i2nsf-capability -data-model-04"; } container nsf-performance-capability { description "performance capability"; uses i2nsf-nsf-performance-capability; } } grouping i2nsf-nsf-access-info { description "NSF access information"; leaf nsf-instance-name { type string; description "nsf-instance-name"; } leaf nsf-address { type inet:ipv4-address; mandatory true; description "nsf-address"; } leaf nsf-port-address { type inet:port-number; description "nsf-port-address"; } } } <CODE ENDS>
Figure 11: Registration Interface YANG Data Model
URI: urn:ietf:params:xml:ns:yang:ietf-i2nsf-reg-interface Registrant Contact: The IESG. XML: N/A; the requested URI is an XML namespace.
Name: ietf-i2nsf-reg-interface Namespace: urn:ietf:params:xml:ns:yang:ietf-i2nsf-reg-interface Prefix: iiregi Reference: RFC XXXX
This document requests IANA to register the following URI in the "IETF XML Registry" [RFC3688]: [RFC7950].
This document introduces no additional security threats and SHOULD follow the security requirements as stated in [RFC8329].
[RFC2119] | Bradner, S., "Key words for use in RFCs toIndicate Requirement Levels", RFC 2119, March 1997. |
[RFC3688] | Mealling, M., "The IETF XML Registry", RFC 3688, January 2004. |
[RFC6087] | Bierman, A., "Guidelines for Authors and Reviewers of YANG Data Model Documents", RFC 6087, January 2011. |
[RFC6991] | Schoenwaelder, J., "Common YANG Data Types", RFC 6991, July 2013. |
[RFC7950] | Bjorklund, M., "The YANG 1.1 Data Modeling Language", RFC 7950, August 2016. |
[RFC8340] | Bjorklund, M. and L. Berger, "YANG Tree Diagrams", RFC 8340, March 2018. |
This section describes XML examples of the I2NSF Registration Interface data model in five NSF Registration examples and one NSF Capability Query example.
This section shows a configuration example for capabilities registration of general firewall.
<i2nsf-nsf-registrations xmlns="urn:ietf:params:xml:ns:yang:ietf-i2nsf-reg-interface" xmlns:capa="urn:ietf:params:xml:ns:yang:ietf-i2nsf-capability"> <i2nsf-nsf-capability-registration> <nsf-name>general_firewall_capability</nsf-name> <nsf-capability-info> <i2nsf-capability> <condition-capabilities> <generic-nsf-capabilities> <ipv4-capa>capa:ipv4-protocol</ipv4-capa> <ipv4-capa>capa:exact-ipv4-address</ipv4-capa> <ipv4-capa>capa:range-ipv4-address</ipv4-capa> <tcp-capa>capa:exact-tcp-port-num</tcp-capa> <tcp-capa>capa:range-tcp-port-num</tcp-capa> </generic-nsf-capabilities> </condition-capabilities> <action-capabilities> <ingress-action-capa>capa:pass</ingress-action-capa> <ingress-action-capa>capa:drop</ingress-action-capa> <ingress-action-capa>capa:alert</ingress-action-capa> <egress-action-capa>capa:pass</egress-action-capa> <egress-action-capa>capa:drop</egress-action-capa> <egress-action-capa>capa:alert</egress-action-capa> </action-capabilities> <ipsec-method>ikeless</ipsec-method> </i2nsf-capability> <nsf-performance-capability> <processing> <processing-average>1000</processing-average> <processing-peak>5000</processing-peak> </processing> <bandwidth> <outbound> <outbound-average>1000</outbound-average> <outbound-peak>5000</outbound-peak> </outbound> <inbound> <inbound-average>1000</inbound-average> <inbound-peak>5000</inbound-peak> </inbound> </bandwidth> </nsf-performance-capability> </nsf-capability-info> <nsf-access-info> <nsf-instance-name>general_firewall</nsf-instance-name> <nsf-address>221.159.112.100</nsf-address> <nsf-port-address>3000</nsf-port-address> </nsf-access-info> </i2nsf-nsf-capability-registration> </i2nsf-nsf-registrations>
Figure 12: Configuration XML for Registration of General Firewall
Figure 12 shows the configuration XML for registration of general firewall and its capabilities are as follows.
This section shows a configuration example for capabilities registration of time based firewall.
<i2nsf-nsf-registrations xmlns="urn:ietf:params:xml:ns:yang:ietf-i2nsf-reg-interface" xmlns:capa="urn:ietf:params:xml:ns:yang:ietf-i2nsf-capability"> <i2nsf-nsf-capability-registration> <nsf-name>time_based_firewall_capability</nsf-name> <nsf-capability-info> <i2nsf-capability> <time-capabilities>absolute-time</time-capabilities> <time-capabilities>periodic-time</time-capabilities> <condition-capabilities> <generic-nsf-capabilities> <ipv4-capa>capa:ipv4-protocol</ipv4-capa> <ipv4-capa>capa:exact-ipv4-address</ipv4-capa> <ipv4-capa>capa:range-ipv4-address</ipv4-capa> </generic-nsf-capabilities> </condition-capabilities> <action-capabilities> <ingress-action-capa>capa:pass</ingress-action-capa> <ingress-action-capa>capa:drop</ingress-action-capa> <ingress-action-capa>capa:alert</ingress-action-capa> <egress-action-capa>capa:pass</egress-action-capa> <egress-action-capa>capa:drop</egress-action-capa> <egress-action-capa>capa:alert</egress-action-capa> </action-capabilities> <ipsec-method>ike</ipsec-method> </i2nsf-capability> <nsf-performance-capability> <processing> <processing-average>1000</processing-average> <processing-peak>5000</processing-peak> </processing> <bandwidth> <outbound> <outbound-average>1000</outbound-average> <outbound-peak>5000</outbound-peak> </outbound> <inbound> <inbound-average>1000</inbound-average> <inbound-peak>5000</inbound-peak> </inbound> </bandwidth> </nsf-performance-capability> </nsf-capability-info> <nsf-access-info> <nsf-instance-name>time_based_firewall</nsf-instance-name> <nsf-address>221.159.112.110</nsf-address> <nsf-port-address>3000</nsf-port-address> </nsf-access-info> </i2nsf-nsf-capability-registration> </i2nsf-nsf-registrations>
Figure 13: Configuration XML for Registration of Time based Firewall
Figure 13 shows the configuration XML for registration of time based firewall and its capabilities are as follows.
This section shows a configuration example for capabilities registration of web filter.
<i2nsf-nsf-registrations xmlns="urn:ietf:params:xml:ns:yang:ietf-i2nsf-reg-interface" xmlns:capa="urn:ietf:params:xml:ns:yang:ietf-i2nsf-capability"> <i2nsf-nsf-capability-registration> <nsf-name>web_filter_capability</nsf-name> <nsf-capability-info> <i2nsf-capability> <condition-capabilities> <advanced-nsf-capabilities> <url-capa>capa:user-defined</url-capa> </advanced-nsf-capabilities> </condition-capabilities> <action-capabilities> <ingress-action-capa>capa:pass</ingress-action-capa> <ingress-action-capa>capa:drop</ingress-action-capa> <ingress-action-capa>capa:alert</ingress-action-capa> <egress-action-capa>capa:pass</egress-action-capa> <egress-action-capa>capa:drop</egress-action-capa> <egress-action-capa>capa:alert</egress-action-capa> </action-capabilities> <ipsec-method>ikeless</ipsec-method> </i2nsf-capability> <nsf-performance-capability> <processing> <processing-average>1000</processing-average> <processing-peak>5000</processing-peak> </processing> <bandwidth> <outbound> <outbound-average>1000</outbound-average> <outbound-peak>5000</outbound-peak> </outbound> <inbound> <inbound-average>1000</inbound-average> <inbound-peak>5000</inbound-peak> </inbound> </bandwidth> </nsf-performance-capability> </nsf-capability-info> <nsf-access-info> <nsf-instance-name>web_filter</nsf-instance-name> <nsf-address>221.159.112.120</nsf-address> <nsf-port-address>3000</nsf-port-address> </nsf-access-info> </i2nsf-nsf-capability-registration> </i2nsf-nsf-registrations>
Figure 14: Configuration XML for Registration of Web Filter
Figure 14 shows the configuration XML for registration of web filter and its capabilities are as follows.
This section shows a configuration example for capabilities registration of VoIP/VoLTE filter.
<i2nsf-nsf-registrations xmlns="urn:ietf:params:xml:ns:yang:ietf-i2nsf-reg-interface" xmlns:capa="urn:ietf:params:xml:ns:yang:ietf-i2nsf-capability"> <i2nsf-nsf-capability-registration> <nsf-name>voip_volte_filter_capability</nsf-name> <nsf-capability-info> <i2nsf-capability> <condition-capabilities> <advanced-nsf-capabilities> <voip-volte-capa>capa:voice-id</voip-volte-capa> </advanced-nsf-capabilities> </condition-capabilities> <action-capabilities> <ingress-action-capa>capa:pass</ingress-action-capa> <ingress-action-capa>capa:drop</ingress-action-capa> <ingress-action-capa>capa:alert</ingress-action-capa> <egress-action-capa>capa:pass</egress-action-capa> <egress-action-capa>capa:drop</egress-action-capa> <egress-action-capa>capa:alert</egress-action-capa> </action-capabilities> <ipsec-method>ikeless</ipsec-method> </i2nsf-capability> <nsf-performance-capability> <processing> <processing-average>1000</processing-average> <processing-peak>5000</processing-peak> </processing> <bandwidth> <outbound> <outbound-average>1000</outbound-average> <outbound-peak>5000</outbound-peak> </outbound> <inbound> <inbound-average>1000</inbound-average> <inbound-peak>5000</inbound-peak> </inbound> </bandwidth> </nsf-performance-capability> </nsf-capability-info> <nsf-access-info> <nsf-instance-name>voip_volte_filter</nsf-instance-name> <nsf-address>221.159.112.130</nsf-address> <nsf-port-address>3000</nsf-port-address> </nsf-access-info> </i2nsf-nsf-capability-registration> </i2nsf-nsf-registrations>
Figure 15: Configuration XML for Registration of VoIP/VoLTE Filter
Figure 15 shows the configuration XML for registration of VoIP/VoLTE filter and its capabilities are as follows.
This section shows a configuration example for capabilities registration of http and https flood mitigation.
<i2nsf-nsf-registrations xmlns="urn:ietf:params:xml:ns:yang:ietf-i2nsf-reg-interface" xmlns:capa="urn:ietf:params:xml:ns:yang:ietf-i2nsf-capability"> <i2nsf-nsf-capability-registration> <nsf-name> http_and_h ttps_flood_mitigation_capability </nsf-name> <nsf-capability-info> <i2nsf-capability> <condition-capabilities> <advanced-nsf-capabilities> <antiddos-capa>capa:http-flood-action</antiddos-capa> <antiddos-capa>capa:https-flood-action</antiddos-capa> </advanced-nsf-capabilities> </condition-capabilities> <action-capabilities> <ingress-action-capa>capa:pass</ingress-action-capa> <ingress-action-capa>capa:drop</ingress-action-capa> <ingress-action-capa>capa:alert</ingress-action-capa> <egress-action-capa>capa:pass</egress-action-capa> <egress-action-capa>capa:drop</egress-action-capa> <egress-action-capa>capa:alert</egress-action-capa> </action-capabilities> <ipsec-method>ike</ipsec-method> </i2nsf-capability> <nsf-performance-capability> <processing> <processing-average>1000</processing-average> <processing-peak>5000</processing-peak> </processing> <bandwidth> <outbound> <outbound-average>1000</outbound-average> <outbound-peak>5000</outbound-peak> </outbound> <inbound> <inbound-average>1000</inbound-average> <inbound-peak>5000</inbound-peak> </inbound> </bandwidth> </nsf-performance-capability> </nsf-capability-info> <nsf-access-info> <nsf-instance-name> http_and_https_flood_mitigation </nsf-instance-name> <nsf-address>221.159.112.140</nsf-address> <nsf-port-address>3000</nsf-port-address> </nsf-access-info> </i2nsf-nsf-capability-registration> </i2nsf-nsf-registrations>
Figure 16: Configuration XML for Registration of of HTTP and HTTPS Flood Mitigation
Figure 16 shows the configuration XML for registration of VoIP/VoLTE filter and its capabilities are as follows.
This section shows a configuration example for capabilities query of Time based Firewall.
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <i2nsf-nsf-capability-query xmlns="urn:ietf:params:xml:ns:yang:ietf-i2nsf-reg-interface" xmlns:capa="urn:ietf:params:xml:ns:yang:ietf-i2nsf-capability"> <query-i2nsf-capability-info> <time-capabilities>absolute-time</time-capabilities> <time-capabilities>periodic-time</time-capabilities> <condition-capabilities> <generic-nsf-capabilities> <ipv4-capa>capa:ipv4-protocol</ipv4-capa> <ipv4-capa>capa:exact-ipv4-address</ipv4-capa> <ipv4-capa>capa:range-ipv4-address</ipv4-capa> </generic-nsf-capabilities> </condition-capabilities> <action-capabilities> <ingress-action-capa>capa:pass</ingress-action-capa> <ingress-action-capa>capa:drop</ingress-action-capa> <ingress-action-capa>capa:alert</ingress-action-capa> <egress-action-capa>capa:pass</egress-action-capa> <egress-action-capa>capa:drop</egress-action-capa> <egress-action-capa>capa:alert</egress-action-capa> </action-capabilities> <ipsec-method>ikeless</ipsec-method> </query-i2nsf-capability-info> </i2nsf-nsf-capability-query> </rpc> <rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <nsf-access-info xmlns="urn:ietf:params:xml:ns:yang:ietf-i2nsf-reg-interface"> <nsf-instance-name>time-based-firewall</nsf-instance-name> <nsf-address>221.159.223.250</nsf-address> <nsf-port-address>8080</nsf-port-address> </nsf-access-info> </rpc-reply>
Figure 17: Configuration XML for Query of Time based Firewall
Figure 17 shows the configuration of input data and output data XML for nsf capability query of time based firewall.
Network Functions Virtualization (NFV) can be used to implement I2NSF framework. In NFV environments, NSFs are deployed as virtual network functions (VNFs). Security Controller can be implemented as an Element Management (EM) of the NFV architecture, and is connected with the VNF Manager (VNFM) via the Ve-Vnfm interface [nfv-framework]. Security Controller can use this interface for the purpose of the lifecycle management of NSFs. If some NSFs need to be instantiated to enforce security policies in the I2NSF framework, Security Controller could request the VNFM to instantiate them through the Ve-Vnfm interface. Or if an NSF, running as a VNF, is not used by any traffic flows for a time period, Security Controller may request deinstantiating it through the interface for efficient resource utilization.
The following changes have been made from draft-ietf-i2nsf-registration-interface-dm-02:
This work was supported by Institute for Information & communications Technology Promotion(IITP) grant funded by the Korea government(MSIP) (No.R-20160222-002755, Cloud based Security Intelligence Technology Development for the Customized Security Service Provisioning).
This document is made by the group effort of I2NSF working group. Many people actively contributed to this document. The following are considered co-authors: