TOC 
P2PSIPB. Lowekamp
Internet-DraftSIPeerior Technologies
Intended status: Standards TrackOctober 28, 2008
Expires: May 1, 2009 


RELOAD Node Operations Proposal
draft-lowekamp-p2psip-nodefetch-00

Status of this Memo

By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.

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.”

The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt.

The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html.

This Internet-Draft will expire on May 1, 2009.

Abstract

This document defines a set of methods for Node-specific operations as part of the REsource LOcation And Discovery (RELOAD) protocol. This document defines NodeFetch, NodeStore, and NodeRemove methods that allows manipuation of Node specific usage data. These methods will be useful for multiple diagnostic, administrative, and discovery usages. Because of their usefulness for a variety of expected usages, these methods are advanced for inclusion in the base RELOAD protocol.



Table of Contents

1.  Introduction
2.  Terminology
3.  Motivation
4.  Need for New Methods
5.  New Methods
    5.1.  NodeFetch
        5.1.1.  Request Definition
        5.1.2.  Response Definition
    5.2.  NodeStore
        5.2.1.  Request Definition
        5.2.2.  Response Definition
    5.3.  NodeRemove
        5.3.1.  Request Definition
        5.3.2.  Response Definition
6.  Security
7.  IANA Considerations
    7.1.  Message Codes
8.  Acknowledgments
9.  References
    9.1.  Normative References
    9.2.  Informative References
§  Author's Address
§  Intellectual Property and Copyright Statements




 TOC 

1.  Introduction

The base RELOAD protocol [I‑D.ietf‑p2psip‑base] (Jennings, C., Lowekamp, B., Rescorla, E., Baset, S., and H. Schulzrinne, “REsource LOcation And Discovery (RELOAD) Base Protocol,” October 2008.) defines Fetch, Store, and Remove operations that operate on resources identified by Resource-ID. However, there are a number of other operations, including diagnostic usages proposed in the base RELOAD draft and [I‑D.zheng‑p2psip‑diagnose] (Yongchao, S. and X. Jiang, “Diagnose P2PSIP Overlay Network,” December 2008.) that require the ability to query for information particular to a specific peer, rather than for information stored indexed by Resource-ID. Such queries may be sent to either a previously-known Node-ID or to the peer responsible for a particular Resource-ID. The NodeFetch, NodeStore, and NodeRemove operations described here are intended to support these operations.



 TOC 

2.  Terminology

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 RFC 2119 (Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” March 1997.) [RFC2119].



 TOC 

3.  Motivation

A variety of scenarios motivate the need for node-specific operations:

Diagnostics
Diagnostics have been proposed in [I‑D.ietf‑p2psip‑base] (Jennings, C., Lowekamp, B., Rescorla, E., Baset, S., and H. Schulzrinne, “REsource LOcation And Discovery (RELOAD) Base Protocol,” October 2008.) and [I‑D.zheng‑p2psip‑diagnose] (Yongchao, S. and X. Jiang, “Diagnose P2PSIP Overlay Network,” December 2008.). The breadth of diagnostics proposed, and the needs of the wide variety of deployment scenarios envisioned for P2PSIP [I‑D.ietf‑p2psip‑concepts] (Bryan, D., Matthews, P., Shim, E., Willis, D., and S. Dawkins, “Concepts and Terminology for Peer to Peer SIP,” July 2008.) seems to imply that there will be multiple diagnostic usages described in different drafts. Therefore, it seems desireable to propose a common set of methods in the base draft that all diagnostic usages can reference.
Administration
There is a spectrum of operations that range from diagnostic to administrative control over nodes. While some application scenarios imply little central control, others assume the existence of an authorized administrator to control nodes in the overlay [I‑D.ietf‑p2psip‑concepts] (Bryan, D., Matthews, P., Shim, E., Willis, D., and S. Dawkins, “Concepts and Terminology for Peer to Peer SIP,” July 2008.). Providing these methods will allow future usages to rely on the same fundamental methods already required for diagnostic purposes.
Discovery & Placement
P2P applications frequently require some form of service discovery. Equally important as service discovery is service placement. While some algorithms for performing such operations store location data indexed by Resource-ID [opendht‑sigcomm05] (Rhea, S., Godfrey, B., Karp, B., Kubiatowicz, J., Ratnasamy, S., Shenker, S., Stoica, I., and H. Yu, “OpenDHT: A Public DHT and its Uses,” .), others rely on the ability to send Fetch or Store operations to a peer responsible for a particular Resource-ID (an operation not supported by the current Store and Fetch) [placement‑iptps05] (Pietzuch, P., Shneidman, J., Ledlie, J., Welsh, M., Seltzer, M., and M. Roussopoulos, “Evaluating DHT-Based Service Placement for Stream-Based Overlays,” .).



 TOC 

4.  Need for New Methods

One possibility is to extend the existing Fetch/Store/Remove operations to support per-node behavior. A variety of possibilities exist: allowing usages to specify whether each kind refers to node-specific or Resource-ID indexed objects, adding a flag to the request structures indicating that the request is node-specific, or reserving a portion of the kind-space to identify node-specific operations. Unfortunately, each of these proposals adds complexity to the existing protocol encoding or assumes a particular architecture where the storage component does not make decisions without interaction with a usage module.

A particular challenge in providing node-specific operations is routing a node-specific request to the peer responsible for a particular Resource-ID. While some node-specific requests are routed to a known Node-ID, others will be routed simply to a Resource-ID and will therefore have no encoding of the Node-ID of the node being queried in the message. Therefore, a node cannot examind the FetchReq, for example, to see if the queried resource matches its Node-ID, and thus deduce the request is for node-specific information.

One possibility for providing operations that refer to node-specific data on a peer responsible for a given Resource-ID is to perform two separate operations, a Probe followed by a node-specific Fetch to a particular Node-ID. However, this two-phase approach may fail in diagnostic situations where the overlay is unstable---if these methods are being used to determine the reasons for the instability, it is likely to be far more useful to have an atomic NodeFetch that returns the diagnostic information on the node that is reached by the first query rather than assuming that consecutive queries will reach the same node.

Therefore, to reduce the complexity of supporting node-specific operations, a new set of methods are proposed that are exclusively for node-specific operations. A node receiving such a method will always know to process it in the appropriate manner, regardless of its particular implementation. Furthermore, although the methods are different, most of the message structure is shared with the base Fetch/Store/Remove operations, thus minimizing additional implementation complexity.



 TOC 

5.  New Methods

NodeFetch is required for all proposed usage scenarios. NodeStore and NodeRemove are required for the administrative and discovery/placement usage scenarios.

The bodies of each of the messages are essentially identical to their Resource-ID counterparts, except for the lack of encoded ResourceId's in the objects.



 TOC 

5.1.  NodeFetch



 TOC 

5.1.1.  Request Definition

      struct {
        StoredDataSpecifier     specifiers<0..2^16-1>;
      } NodeFetchReq;



 TOC 

5.1.2.  Response Definition

       struct {
         FetchKindResponse      kind_responses<0..2^32-1>;
       } NodeFetchAns;



 TOC 

5.2.  NodeStore



 TOC 

5.2.1.  Request Definition

     struct {
         StoreKindData          kind_data<0..2^32-1>;
     } NodeStoreReq;




 TOC 

5.2.2.  Response Definition

      struct {
        KindId                  kind;
        uint64                  generation_counter;
      } NoteStoreKindResponse;


      struct {
        NodeStoreKindResponse   kind_responses<0..2^16-1>;
      } StoreAns;



 TOC 

5.3.  NodeRemove



 TOC 

5.3.1.  Request Definition

      struct {
        StoredDataSpecifier     specifiers<0..2^16-1>;
      } NodeRemoveReq;




 TOC 

5.3.2.  Response Definition

      struct {
        NoteStoreKindResponse   kind_responses<0..2^16-1>;
      } RemoveAns;



 TOC 

6.  Security

There are inherent security risks in disclosing operational data through a Diagnostic fetch, and additional risks in allowing remote administration of a node. Usages relying on these methods will need to identify the risks involve and specify appropriate authorization mechanisms (presumably based on the certificate model used for identification and authorization in RELOAD) for ensuring that such operations are performed only by authorized entities.



 TOC 

7.  IANA Considerations

This section contains the new code points registered by this document. [NOTE TO IANA/RFC-EDITOR: Please replace RFC-AAAA with the RFC number for this specification in the following list.]



 TOC 

7.1.  Message Codes

IANA SHALL add the follwoing to the a"RELOAD Message Code" Registry:

Message Code NameCode ValueRFC
node_store_req 29 RFC-AAAA
node_store_ans 30 RFC-AAAA
node_fetch_req 31 RFC-AAAA
node_fetch_ans 32 RFC-AAAA
node_remove_req 33 RFC-AAAA
node_remove_ans 34 RFC-AAAA



 TOC 

8.  Acknowledgments

This proposal has evolved from discussions with Cullen Jennings, Eric Rescorla, Song Haibin, Jiang Xingfeng, and David Bryan. Eric Rescorla wrote the message PDUs.



 TOC 

9.  References



 TOC 

9.1. Normative References

[RFC2119] Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” BCP 14, RFC 2119, March 1997 (TXT, HTML, XML).
[I-D.ietf-p2psip-base] Jennings, C., Lowekamp, B., Rescorla, E., Baset, S., and H. Schulzrinne, “REsource LOcation And Discovery (RELOAD) Base Protocol,” draft-ietf-p2psip-base-00 (work in progress), October 2008 (TXT).


 TOC 

9.2. Informative References

[I-D.ietf-p2psip-concepts] Bryan, D., Matthews, P., Shim, E., Willis, D., and S. Dawkins, “Concepts and Terminology for Peer to Peer SIP,” draft-ietf-p2psip-concepts-02 (work in progress), July 2008 (TXT).
[I-D.zheng-p2psip-diagnose] Yongchao, S. and X. Jiang, “Diagnose P2PSIP Overlay Network,” draft-zheng-p2psip-diagnose-04 (work in progress), December 2008 (TXT).
[opendht-sigcomm05] Rhea, S., Godfrey, B., Karp, B., Kubiatowicz, J., Ratnasamy, S., Shenker, S., Stoica, I., and H. Yu, “OpenDHT: A Public DHT and its Uses,”  SIGCOMM'05.
[placement-iptps05] Pietzuch, P., Shneidman, J., Ledlie, J., Welsh, M., Seltzer, M., and M. Roussopoulos, “Evaluating DHT-Based Service Placement for Stream-Based Overlays,”  IPTPS'05.


 TOC 

Author's Address

  Bruce B. Lowekamp
  SIPeerior Technologies
  5251-18 John Tyler Highway #330
  Williamsburg, VA 23185
  USA
Email:  bbl@lowekamp.net


 TOC 

Full Copyright Statement

Intellectual Property