⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc2750.txt

📁 著名的RFC文档,其中有一些文档是已经翻译成中文的的.
💻 TXT
📖 第 1 页 / 共 2 页
字号:
   // Policy information  (Opaque to RSVP)                //   |                                                       |   +-------------------------------------------------------+3.4 Purging Policy State   Policy state expires in the granularity of Policy Elements   (POLICY_DATA objects are mere containers and do not expire as such).   Policy elements expire in the exact manner and time as the RSVP state   received in the same message (see [RSVP] Section 3.7).  PRT   controlled state expires N times slower (see Section 3.2).   Only one policy element of a certain P-Type can be active at any   given time. Therefore, policy elements are instantaneously replaced   when another policy element of the same P-Type is received from the   same PDP (previous or next policy RSVP_HOP). An empty policy element   of a certain P-Type is used to delete (rather than a replace) all   policy state of the same P-Type.Herzog                      Standards Track                     [Page 7]RFC 2750           RSVP Extensions for Policy Control       January 20004  Processing Rules   These sections describe the minimal required policy processing rules   for RSVP.4.1 Basic Signaling   This memo mandates enforcing policy control for Path, Resv, PathErr,   and ResvErr messages only. PathTear and ResvTear are assumed not to   require policy control based on two main presumptions. First, that   Integrity verification [MD5] guarantee that the Tear is received from   the same node that sent the installed reservation, and second, that   it is functionally equivalent to that node holding-off refreshes for   this reservation.4.2 Default Handling for PIN nodes   Figure 1 illustrates an example of where policy data objects traverse   PIN nodes in transit from one PEP to another.   A PIN node is required at a minimum to forward the received   POLICY_DATA objects in the appropriate outgoing messages according to   the following rules:   o    POLICY_DATA objects are to be forwarded as is, without any        modifications.   o    Multicast merging (splitting) nodes:        In the upstream direction:           When multiple POLICY_DATA objects arrive from downstream, the           RSVP node should concatenate all of them (as a list of the           original POLICY_DATA objects) and forward them with the           outgoing (upstream) message.        On the downstream direction:           When a single incoming POLICY_DATA object arrives from           upstream, it should be forwarded (copied) to all downstream           branches of the multicast tree.   The same rules apply to unrecognized policies (sub-objects) within   the POLICY_DATA object. However, since this can only occur in a   policy-capable node, it is the responsibility of the PDP and not   RSVP.Herzog                      Standards Track                     [Page 8]RFC 2750           RSVP Extensions for Policy Control       January 20004.3 Error Signaling   Policy errors are reported by either ResvErr or PathErr messages with   a policy failure error code in the ERROR_SPEC object. Policy error   message must include a POLICY_DATA object; the object contains   details of the error type and reason in a P-Type specific format (See   Section 3.3).   If a multicast reservation fails due to policy reasons, RSVP should   not attempt to discover which reservation caused the failure (as it   would do for Blockade State). Instead, it should attempt to deliver   the policy ResvErr to ALL downstream hops, and have the PDP (or LDP)   decide where messages should be sent. This mechanism allows the PDP   to limit the error distribution by deciding which "culprit" next-hops   should be informed. It also allows the PDP to prevent further   distribution of ResvErr or PathErr messages by performing local   repair (e.g. substituting the failed POLICY_DATA object with a   different one).   Error codes are described in Appendix Appendix A.5  IANA Considerations   RSVP Policy Elements (P-Types)   Following the policies outlined in [IANA-CONSIDERATIONS],numbers   0-49151 are allocated as standard policy elements by IETF Consensus   action, numbers in the range 49152-53247 are allocated as vendor   specific (one per vendor) by First Come First Serve, and numbers   53248-65535 are reserved for private use and are not assigned by   IANA.6  Security Considerations   This memo describes the use of POLICY_DATA objects to carry policy-   related information between RSVP nodes. Two security mechanisms can   be optionally used to ensure the integrity of the carried   information. The first mechanism relies on RSVP integrity [MD5] to   provide a chain of trust when all RSVP nodes are policy capable. The   second mechanism relies on the INTEGRITY object within the   POLICY_DATA object to guarantee integrity between non-neighboring   RSVP PEPs (see Sections 2 and 3.2).Herzog                      Standards Track                     [Page 9]RFC 2750           RSVP Extensions for Policy Control       January 20007  References   [RAP]                 Yavatkar, R., Pendarakis, D. and R. Guerin, "A                         Framework for Policy Based Admission Control",                         RFC 2753, January 2000.   [COPS]                Boyle, J., Cohen, R., Durham, D., Herzog, S.,                         Raja, R. and A. Sastry, "The COPS (Common Open                         Policy Service) Protocol", RFC 2748, January                         2000.   [COPS-RSVP]           Boyle, J., Cohen, R., Durham, D., Herzog, S.,                         Raja, R. and A. Sastry, "COPS Usage for RSVP",                         RFC 2749, January 2000.   [RSVP]                Braden, R., Ed., Zhang, L., Berson, S., Herzog,                         S. and S. Jamin, "Resource ReSerVation Protocol                         (RSVP) - Functional Specification", RFC 2205,                         September 1997.   [MD5]                 Baker, F., Lindell B. and M. Talwar, "RSVP                         Cryptographic Authentication", RFC 2747,                         January 2000.   [IANA-CONSIDERATIONS] Alvestrand, H. and T. Narten, "Guidelines for                         Writing an IANA Considerations Section in                         RFCs", BCP 26, RFC 2434, October 1998.8  Acknowledgments   This document incorporates inputs from Lou Berger, Bob Braden,   Deborah Estrin, Roch Guerin, Timothy O'Malley, Dimitrios Pendarakis,   Raju Rajan, Scott Shenker, Andrew Smith, Raj Yavatkar, and many   others.9  Author Information   Shai Herzog   IPHighway, Inc.   55 New York Avenue   Framingham, MA 01701   Phone: (508) 620-1141   EMail: herzog@iphighway.comHerzog                      Standards Track                    [Page 10]RFC 2750           RSVP Extensions for Policy Control       January 2000Appendix A: Policy Error Codes   This Appendix extends the list of error codes described in Appendix B   of [RSVP].   Note that Policy Element specific errors are reported as described in   Section 4.3 and cannot be reported through RSVP (using this   mechanism). However, this mechanism provides a simple, less secure   mechanism for reporting generic policy errors. Most likely the two   would be used in concert such that a generic error code is provided   by RSVP, while Policy Element specific errors are encapsulated in a   return POLICY_DATA object (as in Section 4.3).   ERROR_SPEC class = 6   Error Code = 02: Policy Control failure   Error Value: 16 bit   0 = ERR_INFO    : Information reporting   1 = ERR_WARN    : Warning   2 = ERR_UNKNOWN : Reason unknown   3 = ERR_REJECT  : Generic Policy Rejection   4 = ERR_EXCEED  : Quota or Accounting violation   5 = ERR_PREEMPT : Flow was preempted   6 = ERR_EXPIRED : Previously installed policy expired (not   refreshed)   7 = ERR_REPLACED: Previous policy data was replaced & caused   rejection   8 = ERR_MERGE   : Policies could not be merged (multicast)   9 = ERR_PDP     : PDP down or non functioning   10= ERR_SERVER  : Third Party Server (e.g., Kerberos) unavailable   11= ERR_PD_SYNTX: POLICY_DATA object has bad syntax   12= ERR_PD_INTGR: POLICY_DATA object failed Integrity Check   13= ERR_PE_BAD  : POLICY_ELEMENT object has bad syntax   14= ERR_PD_MISS : Mandatory PE Missing (Empty PE is in the PD   object)   15= ERR_NO_RSC  : PEP Out of resources to handle policies.   16= ERR_RSVP    : PDP encountered bad RSVP objects or syntax   17= ERR_SERVICE : Service type was rejected   18= ERR_STYLE   : Reservation Style was rejected   19= ERR_FL_SPEC : FlowSpec was rejected (too large)   Values between 2^15 and 2^16-1 can be used for site and/or vendor   error values.Herzog                      Standards Track                    [Page 11]RFC 2750           RSVP Extensions for Policy Control       January 2000Appendix B: INTEGRITY computation for POLICY_DATA objects   Computation of the INTEGRITY option is based on the rules set forth   in [MD5], with the following modifications:   Section 4.1:   Rather than computing digest for an RSVP message, a digest is   computed for a POLICY_DATA object in the following manner:   (1)  The INTEGRITY object is inserted in the appropriate place in        the POLICY_DATA object, and its location in the message is        remembered for later use.   (2)  The PDP, at its discretion, and based on destination PEP/PDP        or other criteria, selects an Authentication Key and the hash        algorithm to be used.   (3)  A copy of RSVP SESSION object is temporarily appended to the        end of the PD object (for the computation purposes only,        without changing the length of the POLICY_DATA object). The        flags field of the SESSION object is set to 0. This        concatenation is considered as the message for which a digest        is to be computed.   (4)  The rest of the steps in Section 4.1 ((4)..(9)) remain        unchanged when computed over the concatenated message.   Note: When the computation is complete, the SESSION object is ignored   and is not part of the POLICY_DATA object.   Other Provisions:   The processing of a received POLICY_DATA object as well as a   challenge-response INTEGRITY object inside a POLICY_DATA object is   performed in the manner described in [MD5]. This processing is   subject to the modified computation algorithm as described in the   beginning of this appendix (for Section 4.1 of [MD5]).Herzog                      Standards Track                    [Page 12]RFC 2750           RSVP Extensions for Policy Control       January 2000Full Copyright Statement   Copyright (C) The Internet Society (2000).  All Rights Reserved.   This document and translations of it may be copied and furnished to   others, and derivative works that comment on or otherwise explain it   or assist in its implementation may be prepared, copied, published   and distributed, in whole or in part, without restriction of any   kind, provided that the above copyright notice and this paragraph are   included on all such copies and derivative works.  However, this   document itself may not be modified in any way, such as by removing   the copyright notice or references to the Internet Society or other   Internet organizations, except as needed for the purpose of   developing Internet standards in which case the procedures for   copyrights defined in the Internet Standards process must be   followed, or as required to translate it into languages other than   English.   The limited permissions granted above are perpetual and will not be   revoked by the Internet Society or its successors or assigns.   This document and the information contained herein is provided on an   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.Acknowledgement   Funding for the RFC Editor function is currently provided by the   Internet Society.Herzog                      Standards Track                    [Page 13]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -