<?xml version="1.0" encoding="US-ASCII"?>
<!-- This template is for creating an Internet Draft using xml2rfc,
     which is available here: http://xml.resource.org. -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY I-D.azgin-icnrg-ni SYSTEM 'http://xml.resource.org/public/rfc/bibxml3/reference.I-D.azgin-icnrg-ni.xml'> 
<!ENTITY I-D.irtf-icnrg-ccnxmessages SYSTEM 'http://xml.resource.org/public/rfc/bibxml3/reference.I-D.irtf-icnrg-ccnxmessages.xml'> 
<!ENTITY I-D.wood-icnrg-ccnxkeyexchange SYSTEM 'http://xml.resource.org/public/rfc/bibxml3/reference.I-D.wood-icnrg-ccnxkeyexchange.xml'> 
<!ENTITY rfc7665 PUBLIC '' 'http://xml.resource.org/public/rfc/bibxml/reference.RFC.7665.xml'>
]>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<!-- used by XSLT processors -->
<!-- For a complete list and description of processing instructions (PIs), 
     please see http://xml.resource.org/authoring/README.html. -->
<!-- Below are generally applicable Processing Instructions (PIs) that most I-Ds might want to use.
     (Here they are set differently than their defaults in xml2rfc v1.32) -->
<?rfc strict="yes" ?>
<!-- give errors regarding ID-nits and DTD validation -->
<!-- control the table of contents (ToC) -->
<?rfc toc="yes"?>
<!-- generate a ToC -->
<?rfc tocdepth="4"?>
<!-- the number of levels of subsections in ToC. default: 3 -->
<!-- control references -->
<?rfc symrefs="no"?>
<!-- use symbolic references tags, i.e, [RFC2119] instead of [1] -->
<?rfc sortrefs="yes" ?>
<!-- sort the reference entries alphabetically -->
<!-- control vertical white space 
     (using these PIs as follows is recommended by the RFC Editor) -->
<?rfc compact="yes" ?>
<!-- do not start each main section on a new page -->
<?rfc subcompact="no" ?>
<!-- keep one blank line between list items -->
<!-- end of list of popular I-D processing instructions -->

<rfc category="info" 
docName="draft-ravi-icnrg-ccn-forwarding-label-02" 
ipr="trust200902"> 
  <!-- category values: std, bcp, info, exp, and historic
     ipr values: trust200902, noModificationTrust200902, noDerivativesTrust200902
     pre5378Trust200902
     you can add the attributes updates="NNNN" and obsoletes="NNNN" 
     they will automatically be output with "(if approved)" -->

  <!-- ***** FRONT MATTER ***** -->

  <front>
    <!-- The abbreviated title is used in the page header - it is only necessary if the 
         full title is longer than 39 characters -->

    <title abbrev="Forwarding label support in CCN">Forwarding Label support in CCN Protocol</title>

    <author fullname="Ravishankar Ravindran" initials="R." surname="Ravindran">
     <organization>Huawei Technologies</organization>
      <address>
        <postal>
          <street>2330 Central Expressway</street>

          <!-- Reorder these if your country does things differently -->

          <city>Santa Clara</city>

          <region>CA</region>

          <code>95050</code>

          <country>USA</country>
        </postal>

        <phone></phone>

        <email>ravi.ravindran@huawei.com</email>

        <!-- uri and facsimile elements may also be added -->
      </address>
    </author>

	<author fullname="Asit Chakraborti" initials="A." surname="Chakraborti">
     <organization>Huawei Technologies</organization>
      <address>
        <postal>
          <street>2330 Central Expressway</street>

          <!-- Reorder these if your country does things differently -->

          <city>Santa Clara</city>

          <region>CA</region>

          <code>95050</code>

          <country>USA</country>
        </postal>

        <phone></phone>

        <email>asit.chakraborti@huawei.com</email>

        <!-- uri and facsimile elements may also be added -->
      </address>
    </author>

    <author fullname="Aytac Azgin" initials="A." surname="Azgin">
     <organization>Huawei Technologies</organization>
      <address>
        <postal>
          <street>2330 Central Expressway</street>

          <!-- Reorder these if your country does things differently -->

          <city>Santa Clara</city>

          <region>CA</region>

          <code>95050</code>

          <country>USA</country>
        </postal>

        <phone></phone>

        <email>aytac.azgin@huawei.com</email>

        <!-- uri and facsimile elements may also be added -->
      </address>
    </author>
   
    <date year="2018" />

    <!-- If the month and year are both specified and are the current ones,
    xml2rfc will fill in the current day for you. If only the current year is
    specified, xml2rfc will fill in the current day and month for you. If the
    year is not the current one, it is necessary to specify at least a month
    (xml2rfc assumes day="1" if not specified for the purpose of calculating
    the expiry date).  With drafts it is normally sufficient to specify just
    the year. -->

    <!-- Meta-data Declarations -->

    <area>General</area>

    <!--workgroup>Network Working Group</workgroup> -->
    <workgroup>ICN Research Group</workgroup>

    <!-- WG name at the upperleft corner of the doc,
         IETF is fine for individual submissions.  
    If this element is not present, the default is "Network Working Group",
         which is used by the RFC Editor as a nod to the history of the IETF. -->

    <keyword>Information-Centric Networking</keyword>

    <!-- Keywords will be incorporated into HTML output
         files in a meta tag but they have no effect on text or nroff
         output. If you submit your draft to the RFC Editor, the
         keywords will be used for the search engine. -->

	<abstract>
		
		<t> 
     <!-- This document provides several considerations towards CCN wire packet
   format with the goal of allowing more flexibility, scalability, and
   expressiveness for efficient application support.  The considerations
   include: 1) Forwarding Label support to handle producer mobility,
   this optional header can also be used for other specialized
   forwarding needs ; 2) Interest Notification to distinctly handle Push based
   notification traffic for efficient forwarding handling and
   differentiation in the forwarding plane to handle it as multicast
   traffic; 3) Make provision for large MTU handling through elastic
   payload definition or a new packet type with larger payload length.-->

The objective of this proposal is to enable application identifier (AI) and network identifier (NI) split in the CCN protocol that has several applications such as towards Interest routing optimization, mobility, conversational session support, handling indirections in manifests, and routing scalability. We enable this through the notion of forwarding label object (FLO), which is an optional hop-by-hop payload in the Interest message with a topological name which identifies a network domain, router or a host. FLO can be inserted by the end user applications or by the network. FLO is processed by the network resulting in either terminating it or swapping it with a new FLO based on the network service context. Furthermore, depending on the application and trust context, a FLO can be subjected to policy based actions by the forwarders such as invoking security verification or enabling other FLO management actions.     <!--Networks can also process FL inserted by applications with the option of validating the binding between the producer namespace and locator information in the FL.-->


		</t>
		<t>
  
		</t>
    </abstract>

  </front>

 <middle>


<section anchor="intro" title="AI/NI Namespace Split in CCN">
<t>
 <!--Packet format as proposed in <xref target="ccnx1" /> aims for core protocol machinery for
   efficient content distribution and line speed forwarding.  This proposal makes
   the case for other desirable objectives considering the flexibility
   that would be afforded to the applications.  We lay out the following
   wire format considerations for discussion through this draft, which
   include mobility support, support for notification traffic, and large
   MTU support.-->

In <xref target="I-D.azgin-icnrg-ni" />, we discuss several reasons to distinguish application identifiers (AI) and network identifiers (NI). In the context of ICN/CCN, we define application identifier (AI) and network identifier (NI) as follows:

<list style="symbols">

<t>
Application Identifier (AI) is a persistent secure or non-secure flat-ID or a hierarchical name assigned to a content, device or service. If the AI is secure, then there is a direct relationship between the name and the key of the principal, else a binding is provided by a third party using the certificate mechanism or using the web-of-trust model. Generally this identifier space is managed by services and applications.
</t>

<t>
Network Identifier (NI) is a topological name assigned to a network entity such as a network, router, host. Generally the NI space is assigned and managed by the network administrators. 
</t>

</list>

We discuss here first (i) the motivations behind the need for separation between a persistent AI and an NI in the Interest message, in the context of CCN, and then (ii) a proposal to achieve this. 

The notion of ID/Locator has been widely studied as part of many host-centric protocols such as HIP <xref target="HIP" />, ILNP <xref target="ILNP" />, and LISP <xref target="LISP" />. Here we distinguish AI/NI from the ID/Locator notion due to the nature of ICN with respect to interdependency between naming and forwarding. Specifically, in the context of information-centric networks, any of these two names can be used contextually in the routing and forwarding plane to resolve content, service or host or even apply computation on the named data objects based on the application requirements. In this context, ICN architectures such as MobilityFirst <xref target="MobilityFirst" /> and NetInf <xref target="SAIL" /> assume an explicit representation of AI and NI in its architecture, considering the use of non-aggregateable flat IDs, whereas CCN/NDN assumes the aggregate-ability of names within its architecture, thereby applying only the AI namespace on routing and forwarding. We have argued in <xref target="I-D.azgin-icnrg-ni"/> the problems associated with (i) using name prefixes for routing, which include challenges related to scalability, (ii) loss of name aggregate-ability, when data and services are replicated, (iii) mobility handling, or (iv) situations where conversational sessions are required for service level authentication and authorization <xref target="I-D.wood-icnrg-ccnxkeyexchange"/>. These issues have also been argued quantitatively in <xref target="kk"/>, including the scenario, where there is an explosion in the namespace, when there are many different ways of naming an entity because of the rich context associated with it. Therefore, providing this distinct AI/NI separation in the ICN protocol offers the following advantages, which are also discussed in detail in <xref target="I-D.azgin-icnrg-ni"/>:

<list style="symbols">
<t>
CCN applications request persistent AI of content, service or hosts, while their resolution is handled through per-hop name-based forwarding by a CCN forwarder using any of the unicast/anycast/broadcast mechanisms, with routing scalability being handled using name prefixes. This model can introduce problems when the named entity is mobile, migrated, or replicated, as the names have to be announced in the routing control plane, which can in turn introduce routing convergence issues and scalability challenges. Introducing an AI/NI namespace split in the architecture using a name resolution service shall address the routing challenges due to dynamic entities, while also improving the scalability by limiting the state in the core Internet routers to the set of topological names.  <!--In routing by name is feasible because of hierarchical and aggregatable names, in that sense the locator primitive in an Interest message is optional. This also requires clear processing steps for a forwarder to follow if a locator is also present in an Interest message.-->
</t>
<t>
AI and NI namespaces are managed by different entities. For instance, AIs are managed by applications and services, hence their scope is limited to the application layer, while the NI names are assigned to the networked entity, hence managed by a network administrator. In such case, NI maps to network domains or specific network elements, through which the AI is reachable. The relationship between the two is established during the namespace publishing phase, and managed by a separate name resolution service. AI/NI distinction in CCN allows applications to manage its own namespace and not be restricted by the naming rules imposed by the network.
</t>
 <t>
Allowing an AI/NI representation in an Interest message offers many advantages in CCN, especially when centralized control is applied, such as using a service orchestration framework <xref target="icn1"/> for intelligent service and content placement based on available network resources and satisfying QoS requirements. This enables efficiency and flexibility through service-centric name resolution, routing, mobility and caching services. <!--Handling dynamism at a rate greater than what can be afforded by the applications requires sufficient capability in the network layer to modify the network layer state, this requires the locators to be modifiable by the network for efficient name resolution.-->
</t>
</list>

Considering the above requirements, we propose a forwarding label object (FLO), which includes an NI along with the security encapsulations and provide the flexibility to forward Interests on a name other than the one provided within the original Interest message, with the ability to terminate or swap it in the network. Handling the AI-to-NI mapping requires a control plane infrastructure and appropriate network layer security functions to prevent malicious misuse. Specific control plane or security mechanism of AI/NI mapping is out of the scope of this document as many techniques can be used towards achieving this. This draft presents various considerations towards FLO management such as: FLO insertion/modification/deletion, FLO processing by a CCN forwarder, PIT/CS implications for FLO carrying Interests, FLO Interest packet format, and security/trust considerations. We also discuss the application of FLO in various scenarios to illustrate its capabilities and advantages.<!--he use of FL can be applied in different scenarios with forwarder enhancements and suitable control/service plane to manage the forwarder state.-->
</t>

<!--
<t>
Each of these use cases requires a control plane infrastructure to use the forwarding-label feature appropriately and avoid malicious usage, we provide a discussion of its use in the case of producer mobility in Section 9.
</t>

-->
</section>

<section anchor="Management" title="Forwarding Label Object Proposal">
<t>
Following we discuss various aspects of the FLO related to its semantics and management. <!--Employing two names in an Interest packet also raises questions of what to be used while forwarding, and its exploitation by users to inject malicious content in the router cache. In this draft the discussion assumes such closed trusted environments like provider networks, where forwarding-label are inserted, swapped, or removed at designated points in the network.  -->
</t>

<section anchor="Naming" title="FLO Naming">
<t>
FL objects include NI, service specific metadata, and security attributes for authentication. An NI like an AI can be hierarchically structured or flat, but with the characteristic of having a topological property. The security attributes are optional and may include validation payload and algorithm as discussed in  <xref target="I-D.irtf-icnrg-ccnxmessages"/>.

</t>
</section>

<section anchor="Insertion" title="FLO Insertion">

<t>
A FLO can be inserted in an Interest message by the application requesting a named entity or by the network. 
</t>
<t>
In certain situations, the application may insert the FLO in addition to the AI in the Interest message or this action may also be triggered based on feedback received from the network, for instance, due to failure of routing the Interest message based on the AI, as in <xref target="scalable-ndn" />. In such situations, forwarders, which process traffic from applications outside the trust domain, require a way to validate the FLO. A possible approach to ensure trust in such situations is discussed in <xref target="scalable-ndn" /> where a trust binding is provided between the AI and the NI as a link object which can be validated by the forwarder. To avoid the possibility of a misuse of a FLO, a default policy of the network may be to ignore it from untrusted applications and to only choose to route by the AI or by applying the next scenario.
</t>
<t>
FLO can also be inserted by the network, in which case FLO insertion is triggered at the ingress (service edge) routers of the network domain. For instance, network may insert a FLO to an incoming Interest message, an action which can be triggered based on several considerations, some of which may include: 1) based on the interface, on which the Interest ingresses; 2) if the Interest message satisfies the flow service profiles that are imposed by the network administrator at the ingress routers; 2) a default behavior by the network, when it chooses to only route on NIs. The service profile matching actions may include matching an Interest name to a set of service prefixes or triggered by certain markings or metadata in the Interest such as context-ID  (for example, service, network, trust, and location). FLO inserted within the trust domain may not require security validation.
</t>


</section>

<section anchor="Modification" title="FLO Swapping">
<t>
A FLO can be swapped with another within the network, in the context of a given service, at designated points, such as the service edge routers. 
</t>

<t>
Future considerations can also include the case, where FLO can be potentially stacked based on the semantics of the current FLO.
</t>
</section>

<section anchor="Termination" title="FLO Termination">
<t>
FL objects are terminated by a forwarder, when the NI in it matches the forwarder's own NI. Here, we assume a forwarder to possibly have many NIs such as domain-IDs, router-IDs or Interface-IDs. For example, a forwarder (in a domain) identified as /att/santaclara can process a FLO with its NI set to this router's domain name or to a forwarder ID such as /att/santaclara/pop-x. Whenever a FLO is terminated by the forwarder, depending on the network service context, the forwarder can attach a new FLO, or conduct additional processing on the request (e.g., re-resolution of the name to a new FLO) based on the Interest parameters. The FLO can also include optional policy metadata based on which FL objects can be swapped within the network.
</t>
</section>

<!--
<t>
Forwarding-label being a network feature, edge routers shouldn't anticipate Interests with forwarding-label over its user-to-network interface (UNI). If it does, the network policy dictates if it trusts such re-directions or not. At the same time we don't exclude the case of use of forwarding-label by end applications. 
</t>
-->

<!-- In such situations policies shall dictate if the forwarder may or may not use the forwarding-label for forwarding based on the trust association with these applications and services. This scenario is beyond the scope of this document.
</t>

<t>
The security considerations towards using the forwarding-label depends on its purpose of implementation. We provide a high level security discussion for its use towards producer mobility in Section 10.
</t>

</section>

<section anchor="Forwarding" title="Forwarding Label Format">
<t>
We propose forwarding-label as an optional field with reference to CCNX1.0 <xref target="ccnx1" />. Forwarding-label is a name that can be processed by a CCN forwarder, hence can be a hierarchical structured variable ID or a single flat-ID component.
-->

</section>


<section anchor="Wire" title="FLO Message Format">
  <t>
As a FLO is swappable in the network, it is proposed as a hop-by-hop field in the optional body of the fixed header as shown in Figure 1. The optional FLO includes attribute of type FL-Object, which contains a name TLV identifying the NI (Figure 2). NI is a hierarchically structured variable length name as defined in <xref target="ccnx1" />.  In addition to the NI, optional FL metadata includes contextual information on the application or the service to aid the network for invoking an appropriate FL processing, such as trust validation of the FLO. Optional security attributes, such as authentication information, can be included depending on the specific use case scenarios, such as secure name delegation information as discussed in <xref target="scalable-ndn" />, or signature of the consumer.<!--As a forwarding-label can be used for multiple purposes, a sub-TLV of type Forwarding-Label-Type is used to identify the type of forwarding-label.-->
  </t>

<?rfc needLines="15" ?>
  <figure>
  <artwork>
  <![CDATA[
                       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                       |                      CCN Fixed Header                       |
                       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                       |                 <Optional Hop-by-Hop TLVs>                  |
                       /                                                             / 
                       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 
                       |         Type = FL-Object    |           Length              |
                       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+      
                       |                            NI  TLV                          |       
                       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                       /                     Optional FLO Metadata                   /   
                       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  
                       /               Optional FLO Security Attributes              /
                       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                       /                   Interest Message Body                     /
                       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

            Figure 1: Interest message with hop-by-hop Optional Forwarding Label TLV
     ]]>                  
  </artwork>
  </figure>
<!--<t>
As forwarding-labels can be used for other purposes too, future extensions may introduce more such types of forwarding-labels.
</t>-->

<?rfc needLines="15" ?>
  <figure>
  <artwork>
  <![CDATA[
                     +----------------------+------------------+-----------------+
                     | Forwarding Label     |     Meaning      |      Value      |
                     +----------------------+------------------+-----------------+ 
                     |      NI  TLV         | Identifies an    |    Name TLV     |
                     |                      | AS-ID/Gateway-ID/|                 |
                     |                      | Host-ID/Interface|                 |
                     |                      | -ID              |                 |
                     +----------------------+------------------+-----------------+


                                  Figure 2: Network Identifier(NI) Definition
     ]]>                  
  </artwork>
  </figure>

</section>



<section anchor="Processing" title="FLO Processing Rules">
<t>

The following discussion is based on the assumption that all forwarders must process the optional header fields. In the context of CCN packet processing, FLO is only relevant when the decision to forward the Interest message is to be made. In this draft, a default policy applied by all CCN routers is to route using FLO if it exists in the Interest message. Based on this, following considerations apply:
<!--
At this stage, multiple options exist, assuming consistent policies exists throughout the domain: 1) In the first scenario, the rule may be that if a FLO is included in an Interest message, then it should be given preference over the ID. This is under the assumption that FL objects are trusted indirections within the Interest message, and can be validated by the router if required;  2) In the second scenario, the forwarder could prioritize forwarding on the ID, and then forward on the LID at every hop; 3) In the third scenario, where policy based routing is involved, more complex routing approaches can be considered at the network edge, such as the forwarder could apply service policy on the Interest ID and choose to remove or swap it with a new FLO irrespective of the current FLO inserted in the Interest message, while the core nodes could use a more simpler approach, such as approach 1 or 2. Following are the steps when approach 1 is applied.
-->

<list style="symbols">
<t>
When an Interest with a FLO arrives at a CCN router, if the FLO is trusted and the lookup based on NI in the FLO succeeds, the router first checks if the NI matches any of its network names. If it does, it is treated as a terminating flow. In this case, name based lookup is conducted, which may return another FLO, or results in a next hop forwarding face for the Interest packet. For the non-terminating flow, the NI FIB lookup results in a next hop, towards which the Interest is forwarded.
</t>

<t>
If NI based on the FLO lookup fails, then the router can try to forward the Interest based on the Interest AI. However if routing based on the Interest AI fails, then the router could raise an error condition and feedback the message to the previous hop with the appropriate error code.
</t>

<t>
The validation of FLO depends on the trust context, which is indicated by the information inserted in the FLO by the ingress domain router. In trusted networking scenarios, where the applications and the network are managed by the same authority, the ingress and the core routers can bypass the FLO validation. In untrusted networking scenarios, the edge router may only validate the FLO that is inserted by the sender and avoid re-validations by successive forwarders. <!--In situations where the FL is inserted by the network, the forwarders can implement a light weight security check such as matching shared-keyID in the FL to authenticate the FL inserted by the network.-->
</t>

<!--We assume the forwarding-label are inserted by the network at the edge for specific purposes, such as to handle mobility, hence builds on the assumption that forwarding-label is managed by a dedicated control plane. -->
<!--This draft doesn't address the case when a forwarder encounters Interests with stacked forwarding-labels, even though there may be services that can use this feature to leverage multi-path route towards the producer(s), or to tunnel the Interest to another point in the network.--> <!--A forwarder treats this case as an error condition and notifies the previous hop. This issue can also be addressed at the first router inserting the forwarding-label, i.e. if the router performing the Interest name to forwarding-label mapping has a set of labels to choose from, it only inserts one of them considering routing policies or other service requirements. In such cases should be treated like a error condition and notified to the previous hop.-->


<!--
<t>
If the Forwarding-Label-Type is of type locater-name. The Interest packet is forwarded based on the locater-name. Two possibilities exist: for non-terminating flows, if the locater-name resolves to a local service, it may re-resolve the Interest name to another locater-name; for terminating flows, it may remove the forwarding label and subject the Interest to regular processing based on the name in the Interest message.
</t>

-->
  
</list>

 <!--Following solutions have been proposed to handle producer mobility in CCN/NDN: 1) Kite <xref target="kite" /> proposal enhances NDN with new Interest primitives which allows mobile producer to issue traced-interests attracting the tracing-interests to its current location. This scheme has forwarding sclability issues considering the forwarding state introduced due to mobile entities, and routing efficiency challenge, where traffic has to be re-directed from designated anchor points ; 2) Forwarding label based proposal <xref target="scalable-ndn" /> stresses on routing efficiency achieved by network-based name resolution system. The proposal supports inter- session/domain mobility, while intra-session mobility can be supported through signalling indication during the Interest/Data exchange. The discussion here is based on the latter proposal.The need for name resolution by the network can be signalled by the client in the Interest packet. The discussion here is based on the latter proposal.-->

</t>

</section>

<section anchor="PIT" title="PIT Processing Implications">
<t>
FLO is only a routing directive, hence shouldn't affect the functionality of the PIT in normal situations. However, including FLO in the Interest could raise new questions, which need to be answered. One such case is when there is a strong binding between an AI and the NI either by the application or the network, which may correspond to situations when multiple Interests arrive at a router for the same AI but with different NIs. One possible approach in this case is to treat each such (AI,NI) combination differently, thereby saving them in the PIT, and by requiring the CO to piggyback the NI to ensure proper matching. In the case, when the FLO is swapped by an intermediate router, its PIT should save both the incoming and the outgoing NI, and also the CO should be updated with the appropriate NI to ensure matching of the PIT entries along the previous hops. These considerations are similar to those elaborated in <xref target="ccnx-label" />
 <!--In another situation, where secure binding exists between Interest name and FL-Name, it may be required to return the CO with this binding as well; in such situations the Interests are not aggregated and the embedded FLO in the CO (as a hop-by-hop header) is matched against the FL in the saved state in the PIT. This also implies that PIT entries should also save the forwarding-label associated with them.This is particularly useful in situations like mobility. Default way to achieve this is for the application to re-express a new Interest after the expiry of the previous one.-->
</t>

</section>

<section anchor="cache" title="Caching Implications">

<t>
The caching function shouldn't be affected by this draft proposal. Even if a FLO is included in the CO as discussed earlier, this is expected to be removed before caching the content, as it only relates to forwarding function.
</t>

</section>

<section anchor="multi-domain" title="Multiple Domain Scenario">

<t>
In wide area network scenarios, Interests can cross multiple domains. If a FLO is only trusted within the domain boundaries, then the FLO is removed before the Interest is forwarded to the next domain, which then upon entry, by the ingress of the next domain, inserts a new FLO with the associated security attributes. However, if trust exists between the neighboring domains to use the FLO inserted by the previous domain (such as one through a trusted third party, and validated based on the FLO security binding), then the intermediate domains can avoid further FLO processing and use the FLO passed on by the previous domains.
</t>
<!--
<t>
The domain level scope of the labels also comes at a cost of performing Interest name to forwarding-label lookup in each domain. But if sufficient trust exists between domains to use the forwarding-label inserted by the previous domain, then the intermediate domains could avoid name lookup to determine the appropriate forwarding-label.
</t>
-->

</section>


<section anchor="sec:flosecurity" title="FLO Security ">
<t>
FLO security is related to the purpose it is used for and the control plane mechanism used to manage it. Depending on the use case scenario of the FL, appropriate security mechanisms should be applied to secure the control and data planes to avoid exploitation of this feature. 

<!--Several levels of security can be enabled to ensure security over the name resolution process and forwarding label inclusion, also incurring additional cost. First, the local controller can authenticate the routers designated to set or re-set the forwarding label, this is verified every time a router requests name resolution to the local controller; Second, a signature can be appended to the forwarding label which can be verified by the successive router to ensure it was set by a router authorized by the local controller. -->
</t>

<t>
Generally, the major threat against the FLO approach is to manipulate the relationship between the name and the FLO. Such manipulations can happen in various scenarios, some of which are listed as follows: (i) a malicious interceptor (who is acting as a publisher) intentionally injects an incorrect mapping into the name resolution system; (ii) a malicious interceptor (between the edge router and the resolution server) manipulates the mapping sent back from the name resolution system, when the edge router queries the mapping system; (iii) a compromised intermediate router maliciously changes the FLO, e.g., with the wrong  FLO or an out-dated FLO; (iv) an untrusted application injects an invalid FLO into the Interest message.
</t>

<t>
To achieve network level FLO security, appropriate mechanisms should be applied to provide mapping provenance, mapping integrity and to prevent replay attack to address these issues. The security mechanisms applicable to the above discussed scenarios (i) and (ii) are similar to the ones applied to secure other mapping systems such as LISP <xref target="LISP-SEC" /> and DNS <xref target="DNS-SEC"/>. Scenario (iii) requires new security mechanisms, and one such way is to enable a domain level trust infrastructure so that the mapping between the name and the FLO can be authenticated by the successive routers.
</t>

<t>
In untrusted environments, when a FLO is inserted in the Interest message by the end hosts, appropriate authentication information should also be included in the FLO to allow ingress routers to optionally validate the delegation of the Interest AI to NI <xref target="scalable-ndn" />. Furthermore, additional security policies can be enabled by the network to handle FL objects outside its trust domain. 
</t>

</section>


<section anchor="UseCase" title="Use Case Scenarios">
<t>
Here we provide the discussions related to using FLOs in different scenarios.
</t>

<section anchor="case1 " title="Handling Producer Mobility">

<!-- 
  1. Approaches for handling producer mobility
  2. Pros/Cons
  3. Late binding approach for CCN

-->
<t>
In the literature, the different techniques to handle producer mobility can be classified into the following two types: 
<list style="symbols">

<t>
Application-based approach, where the application takes the responsibility for announcing its reachability to the network and triggering a network state change to enable Interest routing towards the mobile producer. Most of the current proposals fall under this category, and these include the following two approaches: 1)The Kite proposal <xref target="kite" /> implements an anchor based approach where consumers and producers agree on an anchor point based on external mechanisms and uses application initiated (traced and tracing) Interests to handle the  producer mobility; 2)The anchor-less proposal <xref target="anchorless"/> is another application-based approach wherein enhanced name-based routing and forwarding is used to track the mobile producer.

While these approaches allow consumers and producers to work on a single name space, it raises scalability concerns with increasing number of mobile nodes and number of applications signaling into the network. As these approaches introduce more signaling in the network, the operational efficiency of packet forwarding is negatively affected due to the state changes that have to be applied to ensure optimized Interest routing towards the mobile producer. Another potential security issue with these approaches is that it can be prone to flooding attacks by malicious applications targeting specific application names and impeding their normal operation. 
</t>

<t>
Network-based approach uses the late-binding technique <xref target="prodmob" /><xref target="mas" />, wherein the reachability of the mobile node is handled by the network. In this case, applications can explicitly request mobility for a given namespace <xref target="mas"/>, with the network handling the mobility by tracking its latest location in the network through a name resolution system. At the same time, through coordination of the old and new point-of-attachments (PoA) and in-band signaling one can achieve minimal loss for a given Interest flow. The late-binding technique uses AI/NI split that is only applied at the PoAs, thereby avoiding challenges related to routing convergence in the network due to producer mobility, while offering better scalability when the number of mobile producers increases.

Here, the user entity (UE) registers a name prefix that requires mobility with its current point-of-attachment (PoA). The PoA then registers the mapping between the name prefix and the PoA's NI in its local name resolution system. The domain then updates the UE's home domain name resolution system with its current domain LID. When a correspondent node expresses Interest for the name, it is first resolved to the current UE domain by the home domain. When the Interest enters the domain offering mobility service, it is resolved again to the UE's current location. Furthermore PoA-to-PoA signaling can be enabled to offer seamless forwarding of Interests whenever a UE changes its PoA. In addition to correcting the path stretch, the Interests re-routed from the old PoA can be marked and re-routed to the new PoA with the new FL. On the return path, the COs are also marked, this in-band marking is used by the ingress PoA at the consumer's end to re-resolve the mobile prefix to a new forwarding NI that would correct the path stretch. 
</t>

</list>

</t>

</section>


<section anchor="case2 " title="Handling Consumer Mobility">
<t>
As ICN operates in a PULL mode, consumers operating over unreliable wireless interfaces or during mobility-triggered events (such as handovers) can recover from a lost Interest or Data response by re-expressing it. There are some challenges associated with this approach: (1) without appropriate cross-layer signaling between the MAC and the ICN layer on the transient lower layer interface state or network events such as handover, it is difficult to re-express Interest in a timely manner; alternately ICN or the applications rely on default Interest timeout value supplied by the application which can be very inefficient, particularly for applications with real-time requirements; (2) even in the case of a desired scenario, where cross-layer signaling is enabled and an ICN Interest is re-expressed soon after a loss is identified, the ability to retrieve the content from a nearby cache depends on the engineered cache resources in the ICN network, such as its size in the edge vs. core routers and the cache management algorithms that exploit features such as content popularity to offer the best user experience. In the worst case scenario, these re-expressed Interests can only be satisfied by the producer. Note that, this scenario is mostly true for a large set of unpopular content types or for conversational applications, where caching may be of no significant use.
</t>

<t>
The above concerns can be addressed using FLO to support seamless consumer mobility. The process is similar to producer mobility, but in this situation, FLO is used to redirect Data objects from the previous PoA to the new PoA. The trigger for this redirection requires to identify the set of Interests in the PIT, which have been affected by the consumer mobility. To support this, the PIT state at the PoAs are expanded to save the ID of the UE which is signaled in the Interest. However, this ID is not carried beyond the PoA. In addition, the PIT state is also associated with the attachment state of the consumer device to the current PoA. During the handover, consumer UE signals to the previous PoA information about the new PoA (such as the NI associated with the new PoA), which is then applied to the PIT entries associated with this consumer along with the change of the attachment state. When the Data objects requested by a previously connected consumer, which performed handover to attach to another PoA, arrives at the previous PoA, the NI information in the PIT is used to create the FLO, which is then appended to the Data header and forwarded like an Interest using the FIB. These Data objects are also marked, so that the set of routers along the path towards the new PoA are able to distinguish between these packets and regular Data objects. These Data objects could pass through a path segment 
that it has already passed  through in the reverse direction prior to arriving at the previous PoA. In that case they should not be cached by any router belonging to that path segment, but can be cached in the routers that are part of the path segment receiving this Data object for the first time, by first removing the FLO and subjecting it to the local caching policies. When this Data arrives at the current PoA, it is cached applying prioritized caching policies considering its arrival as a result of a handover, which is then used to respond to a re-expressed Interest. Alternately, the Data objects forwarded from the previous PoA can also include the consumer ID, which can then be used by the current PoA to PUSH it to the consumer UE, similar to how it would be at the previous PoA had the consumer still connected to it.
</t>

</section>

 <!--Manifests <xref target="Manifests" /> may contain indirections to named content objects.In this case, FLO can be used to indicate its location while hierarchical or flat name ID map to the named object.-->
<section anchor="case3 " title="Manifests">
<t>
The FL objects can also be used to support the retrieval of nameless objects <xref target="nameless" />. Using the current manifest proposal <xref target="Manifests" /> a consumer receives a manifest with the ContentObjectHashIDs and their respective NI information. A consuming application uses the NI as a routeable content name, while the ContentObjectHashID  is used as a HashID restriction parameter. Multiplexing the Interest name field as an AI and also as an NI has the following consequences: (1) a forwarder cannot  distinguish between Interest packets containing AI or NI in the name field, as the protocol doesn't differentiate these two names; (2) it complicates Interest processing where two different Interest processing logic needs to be applied with Interests with or without the hash-id. In this situation, routers should first checks for the presence of ContentObjectHashID and uses it to index the Interest based on it rather than using it as a NI; (3) more complications arise if an Interest packet arrives with two IDs i.e. a ContentObjectHashID as the hash restriction and the ID as the content name, in which case, one of them should seek precedence over the other. 
</t>
<t>
The above issues can be avoided through the use of the ContentObjectHashID as the content name and the NI in the FLO. In this case, a forwarder will always index the pending Interest table or the cache as expected on the content name. The routing decision then would be based on the FLO depending on the routing policy in the forwarder. This also avoids the situation of dealing with two IDs in the Interest packet, i.e. the application has to choose either ID or ContentObjectHashID as the content ID. <!--This use of FLO can be enforced in a straight forward manner by identifying flat-ID, e.g. ContentObjectHashID, and routeable name as different typed name objects in the Interest packet.-->
</t>

<t>
A possible high level forwarding logic for the edge/core router to support nameless objects based on the above discussion is presented in Figure 3. Here edge router can also be a gateway node.
 

 <?rfc needLines="15" ?>
  <figure>
  <artwork>
  <![CDATA[

  Begin 

  if Edge_Router
    If Interest arrives on a face with a flat AI
      Then check for the presence of FLO
      If FLO is present
        Then use the NI in the FLO for Interest forwarding            
      Else (If there is no FLO)
        If policy allows, resolve the flat AI with an NRS to obtain a FLO
          Use the FLO to route the Interest
        End
      End
    End
  
    If the Interest arrives with a routeable AI
      If FLO is present
        Then use the AI for forwarding and Remove the FLO
      Else (if there is no FLO)
        Match Interest AI with name policy for e.g. mobility or interest routing optimization
        If a name policy for resolution exists
          Then network resolution service is invoked on the AI, which returns a FLO
          Use the FLO to direct the Interest to the appropriate next hop
        End		 
      End	  
    End
	
  End

  if Core_Router
    if Interest arrives with a FLO
      Use the NI for forwarding
    Else if Interest is with a Routeable AI
      Use the name for forwarding
    End
  End

     Figure 3: Forwarding logic to support flat and routeable AI at the edge router
  


  ]]>                  
  </artwork>
  </figure>
 



</t>



<t>
We discuss security implications of using AI and FLO in the Interest message depending on the ID type.
</t>

<t>
<list style="symbols">

<t>
Case 1 - ContentObjectHashId with FLO: This use case is a straightforward simplification of what is being proposed in <xref target="nameless" />. Here, the NI is included within the FLO and the ContentObjectHashId is used as the name, so this shouldn't introduce any new security concerns. This holds good for both application and network based FLO insertion.

</t>

<t>
Case 2 - Routeable AI with FLO: For UE based FLO insertion, this scenario can cause cache poisoning in the absence of a signature check enforcement in the forwarders. For the case when FLO is managed within a trusted domain, the security implications are discussed in Section 8.
</t>


</list>

</t>

</section>

<section anchor="case4 " title="Supporting Conversational Sessions">
<t>
FLO can be used to bind a service AI to a given location in the network, so that the consumer's session is correctly directed to the service instance keeping state of the conversation, e.g. <xref target="I-D.wood-icnrg-ccnxkeyexchange"/>. Using AI-based anycast routing cannot guarantee this, as the name prefix state used for forwarding would treat all possible instances equally. One way to mitigate this, while compromising efficiency, would be to introduce a load balancer, through which all such Interest flows are routed.
</t>

</section>

<section anchor="case5 " title="Interest Routing Optimization">
<t>
Networks, which host their own or third party contents/services can benefit from the ability to handle Interest routing logic in its domain opportunistically. When an Interest seeking a specific content or service enters a network domain, the ingress router can redirect the Interest to the closest cache point or service location.
</t>

</section>

<section anchor="case6 " title="Routing Scalability">
<t>
As discussed in <xref target="scalable-ndn" />, NI based routing can address routing scalability, as the number of ASs are many orders less than the number of information objects. This reduces the forwarding table in the DFZ to the order of number of ASs in the Internet. In addition, unlike <xref target="scalable-ndn" />, this proposal offers the feature of swapping FLO and late-binding offering more flexibility and efficiency towards scalability and routing optimization.
</t>

</section>

</section>


<section title="Security Considerations">
<t>
The security implication of having FLO in the Interest message has been discussed in <xref target="sec:flosecurity" />.
</t>
</section>

<section title="Conclusions">
<t>
Following the discussion in <xref target="I-D.azgin-icnrg-ni" />, this draft proposes extensions to the CCN protocol to introduce NI namespace in the Interest message which can offer several benefits which include routing optimization and scalability, off path caching benefits, handling both consumer and producer mobility and service affinity for conversational communications.

</t>

</section>

</middle>

<back>

<references title="Informative References">

&I-D.azgin-icnrg-ni;
&I-D.wood-icnrg-ccnxkeyexchange;
&I-D.irtf-icnrg-ccnxmessages;
&rfc7665;

<reference anchor="ccnx1">
      <front>
          <title>http://www.ietf.org/id/draft-mosko-icnrg-ccnxmessages-00.txt.</title>
         <author  initials="CCNX1.0" surname="CCN Wire format" fullname=" CCN Wire Format (CCNX1.0)"> 
     </author>
     <date year="2013"></date>
        </front>
   </reference>


   <reference anchor="HIP">
      <front>
          <title>Host identity protocol (HIP): Connectivity, mobility, multi-homing, security, and privacy over IPv4 and IPv6 networks</title>
      <author initials="P" surname="Nikander" fullname="P, Nikander">
      </author>
      <author initials="A" surname="Gurtov" fullname="A, Gurtov">
      </author>
      <author initials="T.R." surname="Henderson" fullname="T.R, Henderson">
      </author>
      <date year="IEEE Communications Surveys and Tutorials, pp: 186-204, 2010"></date>
     </front>
  </reference> 

  <reference anchor="ILNP">
      <front>
          <title>An Overview of the Identifier-Locator Network Protocol (ILNP)</title>
      <author initials="R" surname="Atkinson" fullname="R, Atkinson">
      </author>
      <date year="Technical Report, University College London,  2005"></date>
     </front>
  </reference> 

  <reference anchor="LISP">
      <front>
          <title>https://tools.ietf.org/html/draft-ietf-lisp-sec-07.</title>
         <author  initials="RFC6380" surname="LISP" fullname=" LISP"> 
     </author>
     <date year="2014"></date>
        </front>
   </reference>

   <reference anchor="LISP-SEC">
      <front>
          <title>https://tools.ietf.org/html/draft-ietf-lisp-sec-07.</title>
         <author  initials="LISP-SEC" surname="LISP-Security" fullname=" LISP-Security"> 
     </author>
     <date year="2014"></date>
        </front>
   </reference>

   <reference anchor="Manifests">
      <front>
          <title>http://www.ccnx.org/pubs/draft-wood-icnrg-ccnxmanifests-00.html.</title>
         <author  initials="Manifest" surname="CCNx" fullname="CCNx Manifest Specification"> 
     </author>
     <date year="2015"></date>
        </front>
   </reference>

   <reference anchor="DNS-SEC">
      <front>
          <title>DNS Security Introduction and Requirements.</title>
         <author  initials="RFC4033" surname="DNS-SEC" fullname="DNS-SEC"> 
     </author>
     <date year="2005"></date>
        </front>
   </reference>

<reference anchor="SAIL" target="http://www.sail-project.eu/wp-content/uploads/2013/01/SAIL-DB3-v1.1-final-public.pdf">
        <front>
          <title>SAIL: Scalable and Adaptable Internet Solutions</title>
          <author initials="" surname="FP7-ICT-2009-5-257448/D.B.3" />
          <date year="2013"/>
        </front>
      </reference>
 

  <reference anchor="icn1">
      <front>
          <title>5G-ICN : Delivering ICN Services over 5G using Network Slicing.</title>
     <author  initials="R." surname="Ravindran" fullname="R, Ravindran"> 
     </author>
     <author  initials="A." surname="Chakraborti" fullname="A, Chakraborti"> 
     </author>
     <author  initials="S." surname="Amin" fullname="S, Amin"> 
     </author>
     <author  initials="A." surname="Azgin" fullname="A, Azgin"> 
     </author>
     <author  initials="GQ." surname="Wang" fullname="G.Q, Wang"> 
     </author>
     <date year="IEEE Communication Magazine, May, 2017"></date>
    </front>
   </reference>

<reference anchor="kk">
      <front>
          <title>Comparison of Naming Schema in ICN.</title>
         <author  initials="S." surname="Adhatarao" fullname="S, Adhatarao"> 
     </author>
     <author  initials="J." surname="Chen" fullname="J, Chen"> 
     </author>
     <author  initials="M." surname="Arumaithurai" fullname="M, Arumaithurai"> 
     </author>
     <author  initials="X." surname="Fu" fullname="X, Fu"> 
     </author>
     <author  initials="K." surname="Ramakrishnan" fullname="K, Ramakrishnan"> 
     </author>
     <date year="IEEE LANMAN, 2016"></date>
        </front>
   </reference>


<reference anchor="scalable-ndn">
      <front>
          <title>Map-and-Encap for Scaling NDN Routing.</title>
         <author initials="A" surname="Afanasyev"  fullname="A. Afanasyev">
      </author>
     <date year="2015"/>
        </front>
        <seriesInfo name="NDN Technical Report" value="ndn-004-02" />
   </reference>

   <reference anchor="mas">
      <front>
          <title>Seamless Producer Mobility as a Service in Information Centric Networks.</title>
         <author initials="A" surname="Azgin"  fullname="A. Azgin"></author>
         <author initials="R" surname="Ravidran"  fullname="R. Ravindran"></author>
         <author initials="A" surname="Chakraborti"  fullname="A. Chakraborti"></author>
         <author initials="G.Q." surname="Wang"  fullname="G.Q.Wang"></author>
     <date year="2016"/>
        </front>
        <seriesInfo name="5G/ICN Workshop, ACM ICN Sigcomm" value="2016" />
   </reference>

   <reference anchor="nameless">
      <front>
          <title>Nameless Objects.</title>
         <author initials="M" surname="Mosko"  fullname="Mark Mosko">
      </author>
     <date year="2016"/>
        </front>
        <seriesInfo name="IETF/ICNRG, Paris Interim" value="2016" />
   </reference>

<!--
    <reference anchor="aini">
      <front>
          <title>Enabling Network Identifier (NI) in Information Centric Networks to Support Optimized Forwarding.</title>
         <author initials="A" surname="Azgin"  fullname="Aytac Azgin">
      </author>
      <author initials="Ravi" surname="Ravindran"  fullname="Ravi Ravindran">
      </author>
     <date year="2018"/>
        </front>
        <seriesInfo name="IETF/ICNRG" value="2018" />
   </reference>

 -->

   <reference anchor="prodmob">
      <front>
          <title>A Scalable Mobility-Centric Architecture for Named Data Networking.</title>
         <author initials="A" surname="Azgin"  fullname="A. Azgin">
      </author>
     <author initials="R" surname="Ravindran" fullname="R.Ravindran"></author>
     <author initials="G.Q." surname="Wang" fullname="G.Q.Wang"></author>
     <date year="2014"/>
        </front>
        <seriesInfo name="ICCCN (Scene Workshop)" value="" />
   </reference>

    <reference anchor="cisco">
      <front>
          <title>Cisco visual networking index: Global mobile data traffic forecast update.</title>
         <author initials="CISCO" surname="Cisco System Inc." > </author>
     <date year="2009-2014"/>
        </front>
   </reference>

<reference anchor="kite">
      <front>
          <title>Kite: A Mobility Support Scheme for NDN.</title>
         <author initials="Y" surname="Zhang"  fullname="Yu Zhang">
      </author>
     <author initials="H" surname="Zhang" fullname="Hongli Zhang"></author>
     <author initials="L." surname="Zhang" fullname="Lixia Zhang"></author>
     <date year="2014"/>
        </front>
        <seriesInfo name="NDN, Technical Report NDN-0020" value="" />
   </reference>

<reference anchor="ccnx-label">
      <front>
          <title>http://www.ccnx.org/pubs/ccnx-mosko-labelforwarding-01.txt.</title>
         <author  initials="CCNLF" surname="CCNx Label Forwarding" fullname=" CCNx Label Forwarding (CCNLF)"> 
     </author>
     <date year="2013"></date>
        </front>
   </reference>



<reference anchor="anchorless">
      <front>
          <title>Anchor-less Producer Mobility in ICN.</title>
         <author initials="J" surname="Auge"  fullname="J Auge">
      </author>
     <author initials="G" surname="Carofiglio" fullname="G Carofiglio"></author>
     <author initials="G." surname="Grassi" fullname="G. Grassi"></author>
     <author initials="L." surname="Muscariello" fullname="Luca Muscariello"></author>
     <author initials="G." surname="Pau" fullname="G Pau"></author>
     <author initials="X." surname="Zeng" fullname="X Zeng"></author>
     <date year="2015"/>
        </front>
        <seriesInfo name="ICN, Sigcomm, 2015" value="" />
   </reference>


  <reference anchor="MobilityFirst">
      <front>
          <title>http://www.nets-fia.net/</title>
      <author initials="MobilityFirst" surname="NSF FIA project" fullname="MobilityFirst: NSF FIA project">
      </author>
      <date year="2010"/>
     </front>
     </reference>  


  
   </references>
   

</back>
</rfc>

