home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_q_t / draft-ietf-snmpv3-next-gen-arch-05.txt < prev    next >
Text File  |  1997-10-01  |  148KB  |  3,744 lines

  1.  
  2. INTERNET-DRAFT                                             D. Harrington
  3.                                                  Cabletron Systems, Inc.
  4.                                                               R. Presuhn
  5.                                                       BMC Software, Inc.
  6.                                                                B. Wijnen
  7.                                                IBM T. J. Watson Research
  8.                                                        30 September 1997
  9.  
  10.  
  11.                      An Architecture for Describing
  12.                        SNMP Management Frameworks
  13.                 <draft-ietf-snmpv3-next-gen-arch-05.txt>
  14.  
  15. Status of this Memo
  16.  
  17.    This document is an Internet-Draft.  Internet-Drafts are working
  18.    documents of the Internet Engineering Task Force (IETF), its areas,
  19.    and its working groups.  Note that other groups may also distribute
  20.    working documents as Internet-Drafts.
  21.  
  22.    Internet-Drafts are draft documents valid for a maximum of six months
  23.    and may be updated, replaced, or obsoleted by other documents at any
  24.    time.  It is inappropriate to use Internet-Drafts as reference
  25.    material or to cite them other than as ``work in progress.''
  26.  
  27.    To learn the current status of any Internet-Draft, please check the
  28.    ``1id-abstracts.txt'' listing contained in the Internet-Drafts Shadow
  29.    Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe),
  30.    munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or
  31.    ftp.isi.edu (US West Coast).
  32.  
  33. Abstract
  34.  
  35.    This document describes an architecture for describing SNMP
  36.    Management Frameworks.  The architecture is designed to be modular to
  37.    allow the evolution of the SNMP protocol standards over time.  The
  38.    major portions of the architecture are an SNMP engine containing a
  39.    Message Processing Subsystem, a Security Subsystem and an Access
  40.    Control Subsystem, and possibly multiple SNMP applications which
  41.    provide specific functional processing of management data.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53. SNMPv3 Working Group       Expires March 1998                   [Page 1]
  54.  
  55. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  56.  
  57.  
  58. 1.  Introduction
  59.  
  60. 1.1.  Overview
  61.  
  62.    This document defines a vocabulary for describing SNMP Management
  63.    Frameworks, and an architecture for describing the major portions of
  64.    SNMP Management Frameworks.
  65.  
  66.    This document does not provide a general introduction to SNMP. Other
  67.    documents and books can provide a much better introduction to SNMP.
  68.    Nor does this document provide a history of SNMP. That also can be
  69.    found in books and other documents.
  70.  
  71.    Section 1 describes the purpose, goals, and design decisions of this
  72.    architecture.
  73.  
  74.    Section 2 describes various types of documents which define SNMP
  75.    Frameworks, and how they fit into this architecture. It also provides
  76.    a minimal road map to the documents which have previously defined
  77.    SNMP frameworks.
  78.  
  79.    Section 3 details the vocabulary of this architecture and its pieces.
  80.    This section is important for understanding the remaining sections,
  81.    and for understanding documents which are written to fit within this
  82.    architecture.
  83.  
  84.    Section 4 describes the primitives used for the abstract service
  85.    interfaces between the various subsystems, models and applications
  86.    within this architecture.
  87.  
  88.    Section 5 defines a collection of managed objects used to instrument
  89.    SNMP entities within this architecture.
  90.  
  91.    Sections 6, 7, 8, and 9 are administrative in nature.
  92.  
  93.    Appendix A contains guidelines for designers of Models which are
  94.    expected to fit within this architecture.
  95.  
  96.    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
  97.    "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and "OPTIONAL" in this
  98.    document are to be interpreted as described in [RFC2119].
  99.  
  100. 1.2.  SNMP
  101.  
  102.    An SNMP management system contains:
  103.  
  104.       -  several (potentially many) nodes, each with an SNMP entity
  105.          containing command responder and notification originator
  106.  
  107.  
  108.  
  109. SNMPv3 Working Group       Expires March 1998                   [Page 2]
  110.  
  111. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  112.  
  113.  
  114.          applications, which have access to management instrumentation
  115.          (traditionally called agents);
  116.  
  117.       -  at least one SNMP entity containing command generator and/or
  118.          notification receiver applications (traditionally called a
  119.          manager) and,
  120.  
  121.       -  a management protocol, used to convey management information
  122.          between the SNMP entities.
  123.  
  124.    SNMP entities executing command generator and notification receiver
  125.    applications monitor and control managed elements.  Managed elements
  126.    are devices such as hosts, routers, terminal servers, etc., which are
  127.    monitored and controlled via access to their management information.
  128.  
  129.    It is the purpose of this document to define an architecture which
  130.    can evolve to realize effective management in a variety of
  131.    configurations and environments. The architecture has been designed
  132.    to meet the needs of implementations of:
  133.  
  134.       -  minimal SNMP entities with command responder and/or
  135.          notification originator applications (traditionally called SNMP
  136.          agents),
  137.  
  138.       -  SNMP entities with proxy forwarder applications (traditionally
  139.          called SNMP proxy agent),
  140.  
  141.       -  command line driven SNMP entities with command generator and/or
  142.          notification receiver applications (traditionally called SNMP
  143.          command line managers),
  144.  
  145.       -  SNMP entities with  command generator and/or notification
  146.          receiver, plus command responder and/or notification originator
  147.          applications (traditionally called SNMP mid-level managers or
  148.          dual-role entities),
  149.  
  150.       -  SNMP entities with command generator and/or notification
  151.          receiver and possibly other types of applications for managing
  152.          a potentially very large number of managed nodes (traditionally
  153.          called (network) management stations).
  154.  
  155. 1.3.  Goals of this Architecture
  156.  
  157.    This architecture was driven by the following goals:
  158.  
  159.       -  Use existing materials as much as possible. It is heavily based
  160.          on previous work, informally known as SNMPv2u and SNMPv2*.
  161.  
  162.  
  163.  
  164.  
  165. SNMPv3 Working Group       Expires March 1998                   [Page 3]
  166.  
  167. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  168.  
  169.  
  170.       -  Address the need for secure SET support, which is considered
  171.          the most important deficiency in SNMPv1 and SNMPv2c.
  172.  
  173.       -  Make it possible to move portions of the architecture forward
  174.          in the standards track, even if consensus has not been reached
  175.          on all pieces.
  176.  
  177.       -  Define an architecture that allows for longevity of the SNMP
  178.          Frameworks that have been and will be defined.
  179.  
  180.       -  Keep SNMP as simple as possible.
  181.  
  182.       -  Make it relatively inexpensive to deploy a minimal conforming
  183.          implementation.
  184.  
  185.       -  Make it possible to upgrade portions of SNMP as new approaches
  186.          become available, without disrupting an entire SNMP framework.
  187.  
  188.       -  Make it possible to support features required in large
  189.          networks, but make the expense of supporting a feature directly
  190.          related to the support of the feature.
  191.  
  192. 1.4.  Security Requirements of this Architecture
  193.  
  194.    Several of the classical threats to network protocols are applicable
  195.    to the management problem and therefore would be applicable to any
  196.    Security Model used in an SNMP Management Framework. Other threats
  197.    are not applicable to the management problem.  This section discusses
  198.    principal threats, secondary threats, and threats which are of lesser
  199.    importance.
  200.  
  201.    The principal threats against which any Security Model used within
  202.    this architecture SHOULD provide protection are:
  203.  
  204.    Modification of Information
  205.       The modification threat is the danger that some unauthorized SNMP
  206.       entity may alter in-transit SNMP messages generated on behalf of
  207.       an authorized principal in such a way as to effect unauthorized
  208.       management operations, including falsifying the value of an
  209.       object.
  210.  
  211.    Masquerade
  212.       The masquerade threat is the danger that management operations not
  213.       authorized for some principal may be attempted by assuming the
  214.       identity of another principal that has the appropriate
  215.       authorizations.
  216.  
  217.    Message Stream Modification
  218.  
  219.  
  220.  
  221. SNMPv3 Working Group       Expires March 1998                   [Page 4]
  222.  
  223. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  224.  
  225.  
  226.       The SNMP protocol is typically based upon a connectionless
  227.       transport service which may operate over any subnetwork service.
  228.       The re-ordering, delay or replay of messages can and does occur
  229.       through the natural operation of many such subnetwork services.
  230.       The message stream modification threat is the danger that messages
  231.       may be maliciously re-ordered, delayed or replayed to an extent
  232.       which is greater than can occur through the natural operation of a
  233.       subnetwork service, in order to effect unauthorized management
  234.       operations.
  235.  
  236.    Disclosure
  237.       The disclosure threat is the danger of eavesdropping on the
  238.       exchanges between SNMP engines.  Protecting against this threat
  239.       may be required as a matter of local policy.
  240.  
  241.    There are at least two threats against which a Security Model within
  242.    this architecture need not protect.
  243.  
  244.    Denial of Service
  245.       A Security Model need not attempt to address the broad range of
  246.       attacks by which service on behalf of authorized users is denied.
  247.       Indeed, such denial-of-service attacks are in many cases
  248.       indistinguishable from the type of network failures with which any
  249.       viable management protocol must cope as a matter of course.
  250.  
  251.    Traffic Analysis
  252.       A Security Model need not attempt to address traffic analysis
  253.       attacks.  Many traffic patterns are predictable - entities may be
  254.       managed on a regular basis by a relatively small number of
  255.       management stations - and therefore there is no significant
  256.       advantage afforded by protecting against traffic analysis.
  257.  
  258. 1.5.  Design Decisions
  259.  
  260.    Various design decisions were made in support of the goals of the
  261.    architecture and the security requirements:
  262.  
  263.       - Architecture
  264.          An architecture should be defined which identifies the
  265.          conceptual boundaries between the documents. Subsystems should
  266.          be defined which describe the abstract services provided by
  267.          specific portions of an SNMP framework. Abstract service
  268.          interfaces, as described by service primitives, define the
  269.          abstract boundaries between documents, and the abstract
  270.          services that are provided by the conceptual subsystems of an
  271.          SNMP framework.
  272.  
  273.       - Self-contained Documents
  274.  
  275.  
  276.  
  277. SNMPv3 Working Group       Expires March 1998                   [Page 5]
  278.  
  279. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  280.  
  281.  
  282.          Elements of procedure plus the MIB objects which are needed for
  283.          processing for a specific portion of an SNMP framework should
  284.          be defined in the same document, and as much as possible,
  285.          should not be referenced in other documents. This allows pieces
  286.          to be designed and documented as independent and self-contained
  287.          parts, which is consistent with the general SNMP MIB module
  288.          approach.  As portions of SNMP change over time, the documents
  289.          describing other portions of SNMP are not directly impacted.
  290.          This modularity allows, for example, Security Models,
  291.          authentication and privacy mechanisms, and message formats to
  292.          be upgraded and supplemented as the need arises. The self-
  293.          contained documents can move along the standards track on
  294.          different time-lines.
  295.  
  296.       - Threats
  297.          The Security Models in the Security Subsystem SHOULD protect
  298.          against the principal threats: modification of information,
  299.          masquerade, message stream modification and disclosure.  They
  300.          do not need to protect against denial of service and traffic
  301.          analysis.
  302.  
  303.       - Remote Configuration
  304.          The Security and Access Control Subsystems add a whole new set
  305.          of SNMP configuration parameters.  The Security Subsystem also
  306.          requires frequent changes of secrets at the various SNMP
  307.          entities. To make this deployable in a large operational
  308.          environment, these SNMP parameters must be able to be remotely
  309.          configured.
  310.  
  311.       - Controlled Complexity
  312.          It is recognized that producers of simple managed devices want
  313.          to keep the resources used by SNMP to a minimum.  At the same
  314.          time, there is a need for more complex configurations which can
  315.          spend more resources for SNMP and thus provide more
  316.          functionality.  The design tries to keep the competing
  317.          requirements of these two environments in balance and allows
  318.          the more complex environments to logically extend the simple
  319.          environment.
  320.  
  321. 2.  Documentation Overview
  322.  
  323.    The following figure shows the set of documents that fit within the
  324.    SNMP Architecture.
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333. SNMPv3 Working Group       Expires March 1998                   [Page 6]
  334.  
  335. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  336.  
  337.  
  338.    +------------------------- Document Set ----------------------------+
  339.    |                                                                   |
  340.    | +------------+            +-----------------+  +----------------+ |
  341.    | | Document * |            | Applicability * |  | Coexistence  * | |
  342.    | | Roadmap    |            | Statement       |  | & Transition   | |
  343.    | +------------+            +-----------------+  +----------------+ |
  344.    |                                                                   |
  345.    | +---------------------------------------------------------------+ |
  346.    | | Message Handling                                              | |
  347.    | | +----------------+  +-----------------+  +-----------------+  | |
  348.    | | | Transport      |  | Message         |  | Security        |  | |
  349.    | | | Mappings       |  | Processing and  |  |                 |  | |
  350.    | | |                |  | Dispatcher      |  |                 |  | |
  351.    | | +----------------+  +-----------------+  +-----------------+  | |
  352.    | +---------------------------------------------------------------+ |
  353.    |                                                                   |
  354.    | +---------------------------------------------------------------+ |
  355.    | | PDU Handling                                                  | |
  356.    | | +----------------+  +-----------------+  +-----------------+  | |
  357.    | | | Protocol       |  | Applications    |  | Access          |  | |
  358.    | | | Operations     |  |                 |  | Control         |  | |
  359.    | | +----------------+  +-----------------+  +-----------------+  | |
  360.    | +---------------------------------------------------------------+ |
  361.    |                                                                   |
  362.    | +---------------------------------------------------------------+ |
  363.    | | Information Model                                             | |
  364.    | | +--------------+   +--------------+    +---------------+      | |
  365.    | | | Structure of |   | Textual      |    | Conformance   |      | |
  366.    | | | Management   |   | Conventions  |    | Statements    |      | |
  367.    | | | Information  |   |              |    |               |      | |
  368.    | | +--------------+   +--------------+    +---------------+      | |
  369.    | +---------------------------------------------------------------+ |
  370.    |                                                                   |
  371.    | +---------------------------------------------------------------+ |
  372.    | | MIBs                                                          | |
  373.    | | +-------------+ +-------------+ +----------+ +----------+     | |
  374.    | | | Standard v1 | | Standard v1 | | Historic | | Draft v2 |     | |
  375.    | | | RFC1157     | | RFC1212     | | RFC14xx  | | RFC19xx  |     | |
  376.    | | | format      | | format      | | format   | | format   |     | |
  377.    | | +-------------+ +-------------+ +----------+ +----------+     | |
  378.    | +---------------------------------------------------------------+ |
  379.    |                                                                   |
  380.    +-------------------------------------------------------------------+
  381.  
  382.    Those marked with an asterisk (*) are expected to be written in the
  383.    future. Each of these documents may be replaced or supplemented.
  384.    This Architecture document specifically describes how new documents
  385.    fit into the set of documents in the area of Message and PDU
  386.  
  387.  
  388.  
  389. SNMPv3 Working Group       Expires March 1998                   [Page 7]
  390.  
  391. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  392.  
  393.  
  394.    handling.
  395.  
  396. 2.1.  Document Roadmap
  397.  
  398.    One or more documents may be written to describe how sets of
  399.    documents taken together form specific Frameworks. The configuration
  400.    of document sets might change over time, so the "road map" should be
  401.    maintained in a document separate from the standards documents
  402.    themselves.
  403.  
  404. 2.2.  Applicability Statement
  405.  
  406.    SNMP is used in networks that vary widely in size and complexity, by
  407.    organizations that vary widely in their requirements of management.
  408.    Some models will be designed to address specific problems of
  409.    management, such as message security.
  410.  
  411.    One or more documents may be written to describe the environments to
  412.    which certain versions of SNMP or models within SNMP would be
  413.    appropriately applied, and those to which a given model might be
  414.    inappropriately applied.
  415.  
  416. 2.3.  Coexistence and Transition
  417.  
  418.    The purpose of an evolutionary architecture is to permit new models
  419.    to replace or supplement existing models. The interactions between
  420.    models could result in incompatibilities, security "holes", and other
  421.    undesirable effects.
  422.  
  423.    The purpose of Coexistence documents is to detail recognized
  424.    anomalies and to describe required and recommended behaviors for
  425.    resolving the interactions between models within the architecture.
  426.  
  427.    Coexistence documents may be prepared separately from model
  428.    definition documents, to describe and resolve interaction anomalies
  429.    between a model definition and one or more other model definitions.
  430.  
  431.    Additionally, recommendations for transitions between models may also
  432.    be described, either in a coexistence document or in a separate
  433.    document.
  434.  
  435. 2.4.  Transport Mappings
  436.  
  437.    SNMP messages are sent over various transports. It is the purpose of
  438.    Transport Mapping documents to define how the mapping between SNMP
  439.    and the transport is done.
  440.  
  441.  
  442.  
  443.  
  444.  
  445. SNMPv3 Working Group       Expires March 1998                   [Page 8]
  446.  
  447. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  448.  
  449.  
  450. 2.5.  Message Processing
  451.  
  452.    A Message Processing Model document defines a message format, which
  453.    is typically identified by a version field in an SNMP message header.
  454.    The document may also define a MIB module for use in message
  455.    processing and for instrumentation of version-specific interactions.
  456.  
  457.    An SNMP engine includes one or more Message Processing Models, and
  458.    thus may support sending and receiving multiple versions of SNMP
  459.    messages.
  460.  
  461. 2.6.  Security
  462.  
  463.    Some environments require secure protocol interactions. Security is
  464.    normally applied at two different stages:
  465.  
  466.       -  in the transmission/receipt of messages, and
  467.  
  468.       -  in the processing of the contents of messages.
  469.  
  470.    For purposes of this document, "security" refers to message-level
  471.    security; "access control" refers to the security applied to protocol
  472.    operations.
  473.  
  474.    Authentication, encryption, and timeliness checking are common
  475.    functions of message level security.
  476.  
  477.    A security document describes a Security Model, the threats against
  478.    which the model protects, the goals of the Security Model, the
  479.    protocols which it uses to meet those goals, and it may define a MIB
  480.    module to describe the data used during processing, and to allow the
  481.    remote configuration of message-level security parameters, such as
  482.    passwords.
  483.  
  484.    An SNMP engine may support multiple Security Models concurrently.
  485.  
  486. 2.7.  Access Control
  487.  
  488.    During processing, it may be required to control access to managed
  489.    objects for operations.
  490.  
  491.    An Access Control Model defines mechanisms to determine whether
  492.    access to a managed object should be allowed.  An Access Control
  493.    Model may define a MIB module used during processing and to allow the
  494.    remote configuration of access control policies.
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501. SNMPv3 Working Group       Expires March 1998                   [Page 9]
  502.  
  503. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  504.  
  505.  
  506. 2.8.  Protocol Operations
  507.  
  508.    SNMP messages encapsulate an SNMP Protocol Data Unit (PDU). It is the
  509.    purpose of a Protocol Operations document to define the operations of
  510.    the protocol with respect to the processing of the PDUs.
  511.  
  512.    An application document defines which Protocol Operations documents
  513.    are supported by the application.
  514.  
  515. 2.9.  Applications
  516.  
  517.    An SNMP entity normally includes a number of applications.
  518.    Applications use the services of an SNMP engine to accomplish
  519.    specific tasks. They coordinate the processing of management
  520.    information operations, and may use SNMP messages to communicate with
  521.    other SNMP entities.
  522.  
  523.    Applications documents describe the purpose of an application, the
  524.    services required of the associated SNMP engine, and the protocol
  525.    operations and informational model that the application uses to
  526.    perform management operations.
  527.  
  528.    An application document defines which set of documents are used to
  529.    specifically define the structure of management information, textual
  530.    conventions, conformance requirements, and operations supported by
  531.    the application.
  532.  
  533. 2.10.  Structure of Management Information
  534.  
  535.    Management information is viewed as a collection of managed objects,
  536.    residing in a virtual information store, termed the Management
  537.    Information Base (MIB). Collections of related objects are defined in
  538.    MIB modules.
  539.  
  540.    It is the purpose of a Structure of Management Information document
  541.    to establish the syntax for defining objects, modules, and other
  542.    elements of managed information.
  543.  
  544. 2.11.  Textual Conventions
  545.  
  546.    When designing a MIB module, it is often useful to define new types
  547.    similar to those defined in the SMI, but with more precise semantics,
  548.    or which have special semantics associated with them. These newly
  549.    defined types are termed textual conventions, and may defined in
  550.    separate documents, or within a MIB module.
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557. SNMPv3 Working Group       Expires March 1998                  [Page 10]
  558.  
  559. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  560.  
  561.  
  562. 2.12.  Conformance Statements
  563.  
  564.    It may be useful to define the acceptable lower-bounds of
  565.    implementation, along with the actual level of implementation
  566.    achieved. It is the purpose of Conformance Statements to define the
  567.    notation used for these purposes.
  568.  
  569. 2.13.  Management Information Base Modules
  570.  
  571.    MIB documents describe collections of managed objects which
  572.    instrument some aspect of a managed node.
  573.  
  574. 2.13.1.  SNMP Instrumentation MIBs
  575.  
  576.    An SNMP MIB document may define a collection of managed objects which
  577.    instrument the SNMP protocol itself. In addition, MIB modules may be
  578.    defined within the documents which describe portions of the SNMP
  579.    architecture, such as the documents for Message processing Models,
  580.    Security Models, etc. for the purpose of instrumenting those Models,
  581.    and for the purpose of allowing remote configuration of the Model.
  582.  
  583. 2.14.  SNMP Framework Documents
  584.  
  585.    This architecture is designed to allow an orderly evolution of
  586.    portions of SNMP Frameworks.
  587.  
  588.    Throughout the rest of this document, the term "subsystem" refers to
  589.    an abstract and incomplete specification of a portion of a Framework,
  590.    that is further refined by a model specification.
  591.  
  592.    A "model" describes a specific design of a subsystem, defining
  593.    additional constraints and rules for conformance to the model.  A
  594.    model is sufficiently detailed to make it possible to implement the
  595.    specification.
  596.  
  597.    An "implementation" is an instantiation of a subsystem, conforming to
  598.    one or more specific models.
  599.  
  600.    SNMP version 1 (SNMPv1), is the original Internet-standard Network
  601.    Management Framework, as described in RFCs 1155, 1157, and 1212.
  602.  
  603.    SNMP version 2 (SNMPv2), is the SNMPv2 Framework as derived from the
  604.    SNMPv1 Framework. It is described in RFCs 1902-1907. SNMPv2 has no
  605.    message definition.
  606.  
  607.    The Community-based SNMP version 2 (SNMPv2c), is an experimental SNMP
  608.    Framework which supplements the SNMPv2 Framework, as described in
  609.    RFC1901. It adds the SNMPv2c message format, which is similar to the
  610.  
  611.  
  612.  
  613. SNMPv3 Working Group       Expires March 1998                  [Page 11]
  614.  
  615. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  616.  
  617.  
  618.    SNMPv1 message format.
  619.  
  620.    SNMP version 3 (SNMPv3), is an extensible SNMP Framework which
  621.    supplements the SNMPv2 Framework, by supporting the following:
  622.  
  623.       -  a new SNMP message format,
  624.  
  625.       -  Security for Messages, and
  626.  
  627.       -  Access Control.
  628.  
  629.    Other SNMP Frameworks, i.e., other configurations of implemented
  630.    subsystems, are expected to also be consistent with this
  631.    architecture.
  632.  
  633. 3.  Elements of the Architecture
  634.  
  635.    This section describes the various elements of the architecture and
  636.    how they are named. There are three kinds of naming:
  637.  
  638.       1) the naming of entities,
  639.  
  640.       2) the naming of identities, and
  641.  
  642.       3) the naming of management information.
  643.  
  644.    This architecture also defines some names for other constructs that
  645.    are used in the documentation.
  646.  
  647. 3.1.  The Naming of Entities
  648.  
  649.    The following figure shows detail about an SNMP entity and how
  650.    components within it are named.
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669. SNMPv3 Working Group       Expires March 1998                  [Page 12]
  670.  
  671. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  672.  
  673.  
  674.    +-------------------------------------------------------------------+
  675.    |  SNMP entity                                                      |
  676.    |                                                                   |
  677.    |  +-------------------------------------------------------------+  |
  678.    |  |  SNMP engine (identified by snmpEngineID)                   |  |
  679.    |  |                                                             |  |
  680.    |  |  +------------+ +------------+ +-----------+ +-----------+  |  |
  681.    |  |  |            | |            | |           | |           |  |  |
  682.    |  |  | Dispatcher | | Message    | | Security  | | Access    |  |  |
  683.    |  |  |            | | Processing | | Subsystem | | Control   |  |  |
  684.    |  |  |            | | Subsystem  | |           | | Subsystem |  |  |
  685.    |  |  |            | |            | |           | |           |  |  |
  686.    |  |  +------------+ +------------+ +-----------+ +-----------+  |  |
  687.    |  |                                                             |  |
  688.    |  +-------------------------------------------------------------+  |
  689.    |                                                                   |
  690.    |  +-------------------------------------------------------------+  |
  691.    |  |  Application(s)                                             |  |
  692.    |  |                                                             |  |
  693.    |  |  +-------------+  +--------------+  +--------------+        |  |
  694.    |  |  | Command     |  | Notification |  | Proxy        |        |  |
  695.    |  |  | Generator   |  | Receiver     |  | Forwarder    |        |  |
  696.    |  |  +-------------+  +--------------+  +--------------+        |  |
  697.    |  |                                                             |  |
  698.    |  |  +-------------+  +--------------+  +--------------+        |  |
  699.    |  |  | Command     |  | Notification |  | Other        |        |  |
  700.    |  |  | Responder   |  | Originator   |  |              |        |  |
  701.    |  |  +-------------+  +--------------+  +--------------+        |  |
  702.    |  |                                                             |  |
  703.    |  +-------------------------------------------------------------+  |
  704.    |                                                                   |
  705.    +-------------------------------------------------------------------+
  706.  
  707. 3.1.1.  SNMP entity
  708.  
  709.    An SNMP entity is an implementation of this architecture. Each such
  710.    SNMP entity consists of an SNMP engine and one or more associated
  711.    applications.
  712.  
  713. 3.1.2.  SNMP engine
  714.  
  715.    An SNMP engine provides services for sending and receiving messages,
  716.    authenticating and encrypting messages, and controlling access to
  717.    managed objects. There is a one-to-one association between an SNMP
  718.    engine and the SNMP entity which contains it.
  719.  
  720.    The engine contains:
  721.  
  722.  
  723.  
  724.  
  725. SNMPv3 Working Group       Expires March 1998                  [Page 13]
  726.  
  727. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  728.  
  729.  
  730.       1) a Dispatcher,
  731.  
  732.       2) a Message Processing Subsystem,
  733.  
  734.       3) a Security Subsystem, and
  735.  
  736.       4) an Access Control Subsystem.
  737.  
  738. 3.1.3.  snmpEngineID
  739.  
  740.    Within an administrative domain, an snmpEngineID is the unique and
  741.    unambiguous identifier of an SNMP engine. Since there is a one-to-one
  742.    association between SNMP engines and SNMP entities, it also uniquely
  743.    and unambiguously identifies the SNMP entity.
  744.  
  745. 3.1.4.  Dispatcher
  746.  
  747.    There is only one Dispatcher in an SNMP engine. It allows for
  748.    concurrent support of multiple versions of SNMP messages in the SNMP
  749.    engine. It does so by:
  750.  
  751.       -  sending and receiving SNMP messages to/from the network,
  752.  
  753.       -  determining the version of an SNMP message and interact with
  754.          the corresponding Message Processing Model,
  755.  
  756.       -  providing an abstract interface to SNMP applications for
  757.          delivery of a PDU to an application.
  758.  
  759.       -  providing an abstract interface for SNMP applications that
  760.          allows them to send a PDU to a remote SNMP entity.
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781. SNMPv3 Working Group       Expires March 1998                  [Page 14]
  782.  
  783. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  784.  
  785.  
  786. 3.1.5.  Message Processing Subsystem
  787.  
  788.    The Message Processing Subsystem is responsible for preparing
  789.    messages for sending, and extracting data from received messages.
  790.  
  791.    The Message Processing Subsystem potentially contains multiple
  792.    Message Processing Models as shown in the next figure.
  793.  
  794.    * One or more Message Processing Models may be present.
  795.  
  796.    +------------------------------------------------------------------+
  797.    |                                                                  |
  798.    |  Message Processing Subsystem                                    |
  799.    |                                                                  |
  800.    |  +------------+  +------------+  +------------+  +------------+  |
  801.    |  |          * |  |          * |  |          * |  |          * |  |
  802.    |  | SNMPv3     |  | SNMPv1     |  | SNMPv2c    |  | Other      |  |
  803.    |  | Message    |  | Message    |  | Message    |  | Message    |  |
  804.    |  | Processing |  | Processing |  | Processing |  | Processing |  |
  805.    |  | Model      |  | Model      |  | Model      |  | Model      |  |
  806.    |  |            |  |            |  |            |  |            |  |
  807.    |  +------------+  +------------+  +------------+  +------------+  |
  808.    |                                                                  |
  809.    +------------------------------------------------------------------+
  810.  
  811. 3.1.6.  Message Processing Model
  812.  
  813.    Each Message Processing Model defines the format of a particular
  814.    version of an SNMP message and coordinates the preparation and
  815.    extraction of each such version-specific messages.
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837. SNMPv3 Working Group       Expires March 1998                  [Page 15]
  838.  
  839. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  840.  
  841.  
  842. 3.1.7.  Security Subsystem
  843.  
  844.    The Security Subsystem provides security services such as the
  845.    authentication and privacy of messages and potentially contains
  846.    multiple Security Models as shown in the following figure
  847.  
  848.    * One or more Security Models may be present.
  849.  
  850.    +------------------------------------------------------------------+
  851.    |                                                                  |
  852.    |  Security Subsystem                                              |
  853.    |                                                                  |
  854.    |  +----------------+  +-----------------+  +-------------------+  |
  855.    |  |              * |  |               * |  |                 * |  |
  856.    |  | User-Based     |  | Other           |  | Other             |  |
  857.    |  | Security       |  | Security        |  | Security          |  |
  858.    |  | Model          |  | Model           |  | Model             |  |
  859.    |  |                |  |                 |  |                   |  |
  860.    |  +----------------+  +-----------------+  +-------------------+  |
  861.    |                                                                  |
  862.    +------------------------------------------------------------------+
  863.  
  864. 3.1.8.  Security Model
  865.  
  866.    A Security Model defines the threats against which it protects, the
  867.    goals of its services, and the security protocols used to provide
  868.    security services such as authentication and privacy.
  869.  
  870. 3.1.9.  Security Protocol
  871.  
  872.    A Security Protocol defines the mechanisms, procedures, and MIB data
  873.    used to provide a security service such as authentication or privacy.
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893. SNMPv3 Working Group       Expires March 1998                  [Page 16]
  894.  
  895. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  896.  
  897.  
  898. 3.1.10.  Access Control Subsystem
  899.  
  900.    The Access Control Subsystem provides authorization services by means
  901.    of one or more Access Control Models.
  902.  
  903.    +------------------------------------------------------------------+
  904.    |                                                                  |
  905.    |  Access Control Subsystem                                        |
  906.    |                                                                  |
  907.    |  +---------------+   +-----------------+   +------------------+  |
  908.    |  |             * |   |               * |   |                * |  |
  909.    |  | View-Based    |   | Other           |   | Other            |  |
  910.    |  | Access        |   | Access          |   | Access           |  |
  911.    |  | Control       |   | Control         |   | Control          |  |
  912.    |  | Model         |   | Model           |   | Model            |  |
  913.    |  |               |   |                 |   |                  |  |
  914.    |  +---------------+   +-----------------+   +------------------+  |
  915.    |                                                                  |
  916.    +------------------------------------------------------------------+
  917.  
  918. 3.1.11.  Access Control Model
  919.  
  920.    An Access Control Model defines a particular access decision function
  921.    in order to support decisions regarding access rights.
  922.  
  923. 3.1.12.  Applications
  924.  
  925.    There are several types of applications, including:
  926.  
  927.       -  command generators, which monitor and manipulate management
  928.          data,
  929.  
  930.       -  command responders, which provide access to management data,
  931.  
  932.       -  notification originators, which initiate asynchronous messages,
  933.  
  934.       -  notification receivers, which process asynchronous messages,
  935.          and
  936.  
  937.       -  proxy forwarders, which forward messages between entities.
  938.  
  939.    These applications make use of the services provided by the SNMP
  940.    engine.
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949. SNMPv3 Working Group       Expires March 1998                  [Page 17]
  950.  
  951. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  952.  
  953.  
  954. 3.1.13.  SNMP Manager
  955.  
  956.    An SNMP entity containing one or more command generator and/or
  957.    notification receiver applications (along with their associated SNMP
  958.    engine) has traditionally been called an SNMP manager.
  959.    * One or more models may be present.
  960.  
  961.                        (traditional SNMP manager)
  962.    +-------------------------------------------------------------------+
  963.    | +--------------+  +--------------+  +--------------+  SNMP entity |
  964.    | | NOTIFICATION |  | NOTIFICATION |  |   COMMAND    |              |
  965.    | |  ORIGINATOR  |  |   RECEIVER   |  |  GENERATOR   |              |
  966.    | | applications |  | applications |  | applications |              |
  967.    | +--------------+  +--------------+  +--------------+              |
  968.    |         ^                ^                 ^                      |
  969.    |         |                |                 |                      |
  970.    |         v                v                 v                      |
  971.    |         +-------+--------+-----------------+                      |
  972.    |                 ^                                                 |
  973.    |                 |     +---------------------+  +----------------+ |
  974.    |                 |     | Message Processing  |  | Security       | |
  975.    | Dispatcher      v     | Subsystem           |  | Subsystem      | |
  976.    | +-------------------+ |     +------------+  |  |                | |
  977.    | | PDU Dispatcher    | |  +->| v1MP     * |<--->| +------------+ | |
  978.    | |                   | |  |  +------------+  |  | | Other      | | |
  979.    | |                   | |  |  +------------+  |  | | Security   | | |
  980.    | |                   | |  +->| v2cMP    * |<--->| | Model      | | |
  981.    | | Message           | |  |  +------------+  |  | +------------+ | |
  982.    | | Dispatcher  <--------->+                  |  |                | |
  983.    | |                   | |  |  +------------+  |  | +------------+ | |
  984.    | |                   | |  +->| v3MP     * |<--->| | User-based | | |
  985.    | | Transport         | |  |  +------------+  |  | | Security   | | |
  986.    | | Mapping           | |  |  +------------+  |  | | Model      | | |
  987.    | | (e.g RFC1906)     | |  +->| otherMP  * |<--->| +------------+ | |
  988.    | +-------------------+ |     +------------+  |  |                | |
  989.    |          ^            +---------------------+  +----------------+ |
  990.    |          |                                                        |
  991.    |          v                                                        |
  992.    +-------------------------------------------------------------------+
  993.    +-----+ +-----+       +-------+
  994.    | UDP | | IPX | . . . | other |
  995.    +-----+ +-----+       +-------+
  996.       ^       ^              ^
  997.       |       |              |
  998.       v       v              v
  999.    +------------------------------+
  1000.    |           Network            |
  1001.    +------------------------------+
  1002.  
  1003.  
  1004.  
  1005. SNMPv3 Working Group       Expires March 1998                  [Page 18]
  1006.  
  1007. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1008.  
  1009.  
  1010. 3.1.14.  SNMP Agent
  1011.  
  1012.    An SNMP entity containing one or more command responder and/or
  1013.    notification originator applications (along with their associated
  1014.    SNMP engine) has traditionally been called an SNMP agent.
  1015.    +------------------------------+
  1016.    |           Network            |
  1017.    +------------------------------+
  1018.       ^       ^              ^
  1019.       |       |              |
  1020.       v       v              v
  1021.    +-----+ +-----+       +-------+
  1022.    | UDP | | IPX | . . . | other |
  1023.    +-----+ +-----+       +-------+              (traditional SNMP agent)
  1024.    +-------------------------------------------------------------------+
  1025.    |              ^                                                    |
  1026.    |              |        +---------------------+  +----------------+ |
  1027.    |              |        | Message Processing  |  | Security       | |
  1028.    | Dispatcher   v        | Subsystem           |  | Subsystem      | |
  1029.    | +-------------------+ |     +------------+  |  |                | |
  1030.    | | Transport         | |  +->| v1MP     * |<--->| +------------+ | |
  1031.    | | Mapping           | |  |  +------------+  |  | | Other      | | |
  1032.    | | (e.g. RFC1906)    | |  |  +------------+  |  | | Security   | | |
  1033.    | |                   | |  +->| v2cMP    * |<--->| | Model      | | |
  1034.    | | Message           | |  |  +------------+  |  | +------------+ | |
  1035.    | | Dispatcher  <--------->|  +------------+  |  | +------------+ | |
  1036.    | |                   | |  +->| v3MP     * |<--->| | User-based | | |
  1037.    | |                   | |  |  +------------+  |  | | Security   | | |
  1038.    | | PDU Dispatcher    | |  |  +------------+  |  | | Model      | | |
  1039.    | +-------------------+ |  +->| otherMP  * |<--->| +------------+ | |
  1040.    |              ^        |     +------------+  |  |                | |
  1041.    |              |        +---------------------+  +----------------+ |
  1042.    |              v                                                    |
  1043.    |      +-------+-------------------------+---------------+          |
  1044.    |      ^                                 ^               ^          |
  1045.    |      |                                 |               |          |
  1046.    |      v                                 v               v          |
  1047.    | +-------------+   +---------+   +--------------+  +-------------+ |
  1048.    | |   COMMAND   |   | ACCESS  |   | NOTIFICATION |  |    PROXY  * | |
  1049.    | |  RESPONDER  |<->| CONTROL |<->|  ORIGINATOR  |  |  FORWARDER  | |
  1050.    | | application |   |         |   | applications |  | application | |
  1051.    | +-------------+   +---------+   +--------------+  +-------------+ |
  1052.    |      ^                                 ^                          |
  1053.    |      |                                 |                          |
  1054.    |      v                                 v                          |
  1055.    | +----------------------------------------------+                  |
  1056.    | |             MIB instrumentation              |      SNMP entity |
  1057.    +-------------------------------------------------------------------+
  1058.  
  1059.  
  1060.  
  1061. SNMPv3 Working Group       Expires March 1998                  [Page 19]
  1062.  
  1063. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1064.  
  1065.  
  1066. 3.2.  The Naming of Identities
  1067.  
  1068.                             principal
  1069.                                 ^
  1070.                                 |
  1071.                                 |
  1072.    +----------------------------|-------------+
  1073.    | SNMP engine                v             |
  1074.    |                    +--------------+      |
  1075.    |                    |              |      |
  1076.    |  +-----------------| securityName |---+  |
  1077.    |  | Security Model  |              |   |  |
  1078.    |  |                 +--------------+   |  |
  1079.    |  |                         ^          |  |
  1080.    |  |                         |          |  |
  1081.    |  |                         v          |  |
  1082.    |  |  +------------------------------+  |  |
  1083.    |  |  |                              |  |  |
  1084.    |  |  | Model                        |  |  |
  1085.    |  |  | Dependent                    |  |  |
  1086.    |  |  | Security ID                  |  |  |
  1087.    |  |  |                              |  |  |
  1088.    |  |  +------------------------------+  |  |
  1089.    |  |                         ^          |  |
  1090.    |  |                         |          |  |
  1091.    |  +-------------------------|----------+  |
  1092.    |                            |             |
  1093.    |                            |             |
  1094.    +----------------------------|-------------+
  1095.                                 |
  1096.                                 v
  1097.                                wire
  1098.  
  1099. 3.2.1.  Principal
  1100.  
  1101.    A principal is the "who" on whose behalf services are provided or
  1102.    processing takes place.
  1103.  
  1104.    A principal can be, among other things, an individual acting in a
  1105.    particular role; a set of individuals, with each acting in a
  1106.    particular role; an application or a set of applications; and
  1107.    combinations thereof.
  1108.  
  1109. 3.2.2.  securityName
  1110.  
  1111.    A securityName is a human readable string representing a principal.
  1112.    It has a model-independent
  1113.     format, and can be used outside a particular Security Model.
  1114.  
  1115.  
  1116.  
  1117. SNMPv3 Working Group       Expires March 1998                  [Page 20]
  1118.  
  1119. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1120.  
  1121.  
  1122. 3.2.3.  Model-dependent security ID
  1123.  
  1124.    A model-dependent security ID is the model-specific representation of
  1125.    a securityName within a particular Security Model.
  1126.  
  1127.    Model-dependent security IDs may or may not be human readable, and
  1128.    have a model-dependent syntax. Examples include community names, user
  1129.    names, and parties.
  1130.  
  1131.    The transformation of model-dependent security IDs into securityNames
  1132.    and vice versa is the responsibility of the relevant Security Model.
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173. SNMPv3 Working Group       Expires March 1998                  [Page 21]
  1174.  
  1175. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1176.  
  1177.  
  1178. 3.3.  The Naming of Management Information
  1179.  
  1180.    Management information resides at an SNMP entity where a Command
  1181.    Responder Application has local access to potentially multiple
  1182.    contexts. Such a Command Responder application uses a contextEngineID
  1183.    equal to the snmpEngineID of its associated SNMP engine.
  1184.  
  1185.    +-----------------------------------------------------------------+
  1186.    |  SNMP entity (identified by snmpEngineID, example: abcd)        |
  1187.    |                                                                 |
  1188.    |  +------------------------------------------------------------+ |
  1189.    |  | SNMP engine (identified by snmpEngineID)                   | |
  1190.    |  |                                                            | |
  1191.    |  | +-------------+ +------------+ +-----------+ +-----------+ | |
  1192.    |  | |             | |            | |           | |           | | |
  1193.    |  | | Dispatcher  | | Message    | | Security  | | Access    | | |
  1194.    |  | |             | | Processing | | Subsystem | | Control   | | |
  1195.    |  | |             | | Subsystem  | |           | | Subsystem | | |
  1196.    |  | |             | |            | |           | |           | | |
  1197.    |  | +-------------+ +------------+ +-----------+ +-----------+ | |
  1198.    |  |                                                            | |
  1199.    |  +------------------------------------------------------------+ |
  1200.    |                                                                 |
  1201.    |  +------------------------------------------------------------+ |
  1202.    |  |  Command Responder Application                             | |
  1203.    |  |  (contextEngineID, example: abcd)                          | |
  1204.    |  |                                                            | |
  1205.    |  |  example contextNames:                                     | |
  1206.    |  |                                                            | |
  1207.    |  |  "bridge1"          "bridge2"            "" (default)      | |
  1208.    |  |  ---------          ---------            ------------      | |
  1209.    |  |      |                  |                   |              | |
  1210.    |  +------|------------------|-------------------|--------------+ |
  1211.    |         |                  |                   |                |
  1212.    |  +------|------------------|-------------------|--------------+ |
  1213.    |  |  MIB | instrumentation  |                   |              | |
  1214.    |  |  +---v------------+ +---v------------+ +----v-----------+  | |
  1215.    |  |  | context        | | context        | | context        |  | |
  1216.    |  |  |                | |                | |                |  | |
  1217.    |  |  | +------------+ | | +------------+ | | +------------+ |  | |
  1218.    |  |  | | bridge MIB | | | | bridge MIB | | | | other MIB  | |  | |
  1219.    |  |  | +------------+ | | +------------+ | | +------------+ |  | |
  1220.    |  |  |                | |                | |                |  | |
  1221.    |  |  |                | |                | | +------------+ |  | |
  1222.    |  |  |                | |                | | | some  MIB  | |  | |
  1223.    |  |  |                | |                | | +------------+ |  | |
  1224.    |  |  |                | |                | |                |  | |
  1225.    +-----------------------------------------------------------------+
  1226.  
  1227.  
  1228.  
  1229. SNMPv3 Working Group       Expires March 1998                  [Page 22]
  1230.  
  1231. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1232.  
  1233.  
  1234. 3.3.1.  An SNMP Context
  1235.  
  1236.    An SNMP context, or just "context" for short,  is a collection of
  1237.    management information accessible by an SNMP entity. An item of
  1238.    management information may exist in more than one context. An SNMP
  1239.    engine potentially has access to many contexts.
  1240.  
  1241.    Typically, there are many instances of each managed object type
  1242.    within a management domain. For simplicity, the method for
  1243.    identifying instances specified by the MIB module does not allow each
  1244.    instance to be distinguished amongst the set of all instances within
  1245.    a management domain; rather, it allows each instance to be identified
  1246.    only within some scope or "context", where there are multiple such
  1247.    contexts within the management domain.  Often, a context is a
  1248.    physical device, or perhaps, a logical device, although a context can
  1249.    also encompass multiple devices, or a subset of a single device, or
  1250.    even a subset of multiple devices, but a context is always defined as
  1251.    a subset of a single SNMP entity.  Thus, in order to identify an
  1252.    individual item of management information within the management
  1253.    domain, its contextName and contextEngineID must be identified in
  1254.    addition to its object type and its instance.
  1255.  
  1256.    For example, the managed object type ifDescr [RFC1573], is defined as
  1257.    the description of a network interface.  To identify the description
  1258.    of device-X's first network interface, four pieces of information are
  1259.    needed: the snmpEngineID of the SNMP entity which provides access to
  1260.    the management information at device-X, the contextName (device-X),
  1261.    the managed object type (ifDescr), and the instance ("1").
  1262.  
  1263.    Each context has (at least) one unique identification within the
  1264.    management domain. The same item of management information can exist
  1265.    in multiple contexts.  An item of management information may have
  1266.    multiple unique identifications.  This occurs when an item of
  1267.    management information exists in multiple contexts, and this also
  1268.    occurs when a context has multiple unique identifications.
  1269.  
  1270.    The combination of a contextEngineID and a contextName unambiguously
  1271.    identifies a context within an administrative domain; note that there
  1272.    may be multiple unique combinations of contextEngineID and
  1273.    contextName that unambiguously identify the same context.
  1274.  
  1275. 3.3.2.  contextEngineID
  1276.  
  1277.    Within an administrative domain, a contextEngineID uniquely
  1278.    identifies an SNMP entity that may realize an instance of a context
  1279.    with a particular contextName.
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285. SNMPv3 Working Group       Expires March 1998                  [Page 23]
  1286.  
  1287. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1288.  
  1289.  
  1290. 3.3.3.  contextName
  1291.  
  1292.    A contextName is used to name a context. Each contextName MUST be
  1293.    unique within an SNMP entity.
  1294.  
  1295. 3.3.4.  scopedPDU
  1296.  
  1297.    A scopedPDU is a block of data containing a contextEngineID, a
  1298.    contextName, and a PDU.
  1299.  
  1300.    The PDU is an SNMP Protocol Data Unit containing information named in
  1301.    the context which is unambiguously identified within an
  1302.    administrative domain by the combination of the contextEngineID and
  1303.    the contextName. See, for example, RFC1905 for more information about
  1304.    SNMP PDUs.
  1305.  
  1306. 3.4.  Other Constructs
  1307.  
  1308. 3.4.1.  maxSizeResponseScopedPDU
  1309.  
  1310.    The maxSizeResponseScopedPDU is the maximum size of a scopedPDU to be
  1311.    included in a response message.  Note that the size of a scopedPDU
  1312.    does not include the size of the SNMP message header.
  1313.  
  1314. 3.4.2.  Local Configuration Datastore
  1315.  
  1316.    The subsystems, models, and applications within an SNMP entity may
  1317.    need to retain their own sets of configuration information.
  1318.  
  1319.    Portions of the configuration information may be accessible as
  1320.    managed objects.
  1321.  
  1322.    The collection of these sets of information is referred to as an
  1323.    entity's Local Configuration Datastore (LCD).
  1324.  
  1325. 3.4.3.  securityLevel
  1326.  
  1327.    This architecture recognizes three levels of security:
  1328.  
  1329.       -  without authentication and without privacy (noAuthNoPriv)
  1330.  
  1331.       -  with authentication but without privacy (authNoPriv)
  1332.  
  1333.       -  with authentication and with privacy (authPriv)
  1334.  
  1335.    These three values are ordered such that noAuthNoPriv is less than
  1336.    authNoPriv and authNoPriv is less than authPriv.
  1337.  
  1338.  
  1339.  
  1340.  
  1341. SNMPv3 Working Group       Expires March 1998                  [Page 24]
  1342.  
  1343. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1344.  
  1345.  
  1346.    Every message has an associated securityLevel. All Subsystems
  1347.    (Message Processing, Security, Access Control) and applications are
  1348.    required to either supply a value of securityLevel or to abide by the
  1349.    supplied value of securityLevel while processing the message and its
  1350.    contents.
  1351.  
  1352. 4.  Abstract Service Interfaces.
  1353.  
  1354.    Abstract service interfaces have been defined to describe the
  1355.    conceptual interfaces between the various subsystems within an SNMP
  1356.    entity.
  1357.  
  1358.    These abstract service interfaces are defined by a set of primitives
  1359.    that define the services provided and the abstract data elements that
  1360.    are to be passed when the services are invoked.  This section lists
  1361.    the primitives that have been defined for the various subsystems.
  1362.  
  1363. 4.1.  Common Primitives
  1364.  
  1365.    These primitive(s) are provided by multiple Subsystems.
  1366.  
  1367. 4.1.1.  Release State Reference Information
  1368.  
  1369.    All Subsystems which pass stateReference information also provide a
  1370.    primitive to release the memory that holds the referenced state
  1371.    information:
  1372.  
  1373.    stateRelease(
  1374.      IN   stateReference       -- handle of reference to be released
  1375.           )
  1376.  
  1377. 4.2.  Dispatcher Primitives
  1378.  
  1379.    The Dispatcher typically provides services to the SNMP applications
  1380.    via its PDU Dispatcher.  This section describes the primitives
  1381.    provided by the PDU Dispatcher.
  1382.  
  1383. 4.2.1.  Generate Outgoing Request or Notification
  1384.  
  1385.    The PDU Dispatcher provides the following primitive for an
  1386.    application to send an SNMP Request or Notification to another SNMP
  1387.    entity:
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397. SNMPv3 Working Group       Expires March 1998                  [Page 25]
  1398.  
  1399. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1400.  
  1401.  
  1402.    statusInformation =              -- sendPduHandle if success
  1403.                                     -- errorIndication if failure
  1404.      sendPdu(
  1405.      IN   transportDomain           -- transport domain to be used
  1406.      IN   transportAddress          -- transport address to be used
  1407.      IN   messageProcessingModel    -- typically, SNMP version
  1408.      IN   securityModel             -- Security Model to use
  1409.      IN   securityName              -- on behalf of this principal
  1410.      IN   securityLevel             -- Level of Security requested
  1411.      IN   contextEngineID           -- data from/at this entity
  1412.      IN   contextName               -- data from/in this context
  1413.      IN   pduVersion                -- the version of the PDU
  1414.      IN   PDU                       -- SNMP Protocol Data Unit
  1415.      IN   expectResponse            -- TRUE or FALSE
  1416.           )
  1417.  
  1418. 4.2.2.  Process Incoming Request or Notification PDU
  1419.  
  1420.    The PDU Dispatcher provides the following primitive to pass an
  1421.    incoming SNMP PDU to an application:
  1422.  
  1423.    processPdu(                      -- process Request/Notification PDU
  1424.      IN   messageProcessingModel    -- typically, SNMP version
  1425.      IN   securityModel             -- Security Model in use
  1426.      IN   securityName              -- on behalf of this principal
  1427.      IN   securityLevel             -- Level of Security
  1428.      IN   contextEngineID           -- data from/at this SNMP entity
  1429.      IN   contextName               -- data from/in this context
  1430.      IN   pduVersion                -- the version of the PDU
  1431.      IN   PDU                       -- SNMP Protocol Data Unit
  1432.      IN   maxSizeResponseScopedPDU  -- maximum size of the Response PDU
  1433.      IN   stateReference            -- reference to state information
  1434.           )                         -- needed when sending a response
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453. SNMPv3 Working Group       Expires March 1998                  [Page 26]
  1454.  
  1455. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1456.  
  1457.  
  1458. 4.2.3.  Generate Outgoing Response
  1459.  
  1460.    The PDU Dispatcher provides the following primitive for an
  1461.    application to return an SNMP Response PDU to the PDU Dispatcher:
  1462.  
  1463.    returnResponsePdu(
  1464.      IN   messageProcessingModel    -- typically, SNMP version
  1465.      IN   securityModel             -- Security Model in use
  1466.      IN   securityName              -- on behalf of this principal
  1467.      IN   securityLevel             -- same as on incoming request
  1468.      IN   contextEngineID           -- data from/at this SNMP entity
  1469.      IN   contextName               -- data from/in this context
  1470.      IN   pduVersion                -- the version of the PDU
  1471.      IN   PDU                       -- SNMP Protocol Data Unit
  1472.      IN   maxSizeResponseScopedPDU  -- maximum size of the Response PDU
  1473.      IN   stateReference            -- reference to state information
  1474.                                     -- as presented with the request
  1475.      IN   statusInformation         -- success or errorIndication
  1476.           )                         -- error counter OID/value if error
  1477.  
  1478. 4.2.4.  Process Incoming Response PDU
  1479.  
  1480.    The PDU Dispatcher provides the following primitive to pass an
  1481.    incoming SNMP Response PDU to an application:
  1482.  
  1483.    processResponsePdu(              -- process Response PDU
  1484.      IN   messageProcessingModel    -- typically, SNMP version
  1485.      IN   securityModel             -- Security Model in use
  1486.      IN   securityName              -- on behalf of this principal
  1487.      IN   securityLevel             -- Level of Security
  1488.      IN   contextEngineID           -- data from/at this SNMP entity
  1489.      IN   contextName               -- data from/in this context
  1490.      IN   pduVersion                -- the version of the PDU
  1491.      IN   PDU                       -- SNMP Protocol Data Unit
  1492.      IN   statusInformation         -- success or errorIndication
  1493.      IN   sendPduHandle             -- handle from sendPdu
  1494.           )
  1495.  
  1496. 4.2.5.  Registering Responsibility for Handling SNMP PDUs.
  1497.  
  1498.    Applications can register/unregister responsibility for a specific
  1499.    contextEngineID, for specific pduTypes, with the PDU Dispatcher
  1500.    according to these primitives:
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509. SNMPv3 Working Group       Expires March 1998                  [Page 27]
  1510.  
  1511. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1512.  
  1513.  
  1514.    statusInformation =            -- success or errorIndication
  1515.      registerContextEngineID(
  1516.      IN   contextEngineID         -- take responsibility for this one
  1517.      IN   pduType                 -- the pduType(s) to be registered
  1518.           )
  1519.  
  1520.    unregisterContextEngineID(
  1521.      IN   contextEngineID         -- give up responsibility for this one
  1522.      IN   pduType                 -- the pduType(s) to be unregistered
  1523.           )
  1524.  
  1525.    Note that realizations of the registerContextEngineID and
  1526.    unregisterContextEngineID abstract service interfaces may provide
  1527.    implementation-specific ways for applications to register/deregister
  1528.    responsiblity for all possible values of the contextEngineID or
  1529.    pduType parameters.
  1530.  
  1531. 4.3.  Message Processing Subsystem Primitives
  1532.  
  1533.    The Dispatcher interacts with a Message Processing Model to process a
  1534.    specific version of an SNMP Message. This section describes the
  1535.    primitives provided by the Message Processing Subsystem.
  1536.  
  1537. 4.3.1.  Prepare Outgoing SNMP Request or Notification Message
  1538.  
  1539.    The Message Processing Subsystem provides this service primitive for
  1540.    preparing an outgoing SNMP Request or Notification Message:
  1541.  
  1542.    statusInformation =              -- success or errorIndication
  1543.      prepareOutgoingMessage(
  1544.      IN   transportDomain           -- transport domain to be used
  1545.      IN   transportAddress          -- transport address to be used
  1546.      IN   messageProcessingModel    -- typically, SNMP version
  1547.      IN   securityModel             -- Security Model to use
  1548.      IN   securityName              -- on behalf of this principal
  1549.      IN   securityLevel             -- Level of Security requested
  1550.      IN   contextEngineID           -- data from/at this entity
  1551.      IN   contextName               -- data from/in this context
  1552.      IN   pduVersion                -- the version of the PDU
  1553.      IN   PDU                       -- SNMP Protocol Data Unit
  1554.      IN   expectResponse            -- TRUE or FALSE
  1555.      IN   sendPduHandle             -- the handle for matching
  1556.                                     -- incoming responses
  1557.      OUT  destTransportDomain       -- destination transport domain
  1558.      OUT  destTransportAddress      -- destination transport address
  1559.      OUT  outgoingMessage           -- the message to send
  1560.      OUT  outgoingMessageLength     -- its length
  1561.           )
  1562.  
  1563.  
  1564.  
  1565. SNMPv3 Working Group       Expires March 1998                  [Page 28]
  1566.  
  1567. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1568.  
  1569.  
  1570. 4.3.2.  Prepare an Outgoing SNMP Response Message
  1571.  
  1572.    The Message Processing Subsystem provides this service primitive for
  1573.    preparing an outgoing SNMP Response Message:
  1574.  
  1575.    result =                         -- SUCCESS or FAILURE
  1576.      prepareResponseMessage(
  1577.      IN   messageProcessingModel    -- typically, SNMP version
  1578.      IN   securityModel             -- same as on incoming request
  1579.      IN   securityName              -- same as on incoming request
  1580.      IN   securityLevel             -- same as on incoming request
  1581.      IN   contextEngineID           -- data from/at this SNMP entity
  1582.      IN   contextName               -- data from/in this context
  1583.      IN   pduVersion                -- the version of the PDU
  1584.      IN   PDU                       -- SNMP Protocol Data Unit
  1585.      IN   maxSizeResponseScopedPDU  -- maximum size of the Response PDU
  1586.      IN   stateReference            -- reference to state information
  1587.                                     -- as presented with the request
  1588.      IN   statusInformation         -- success or errorIndication
  1589.                                     -- error counter OID/value if error
  1590.      OUT  destTransportDomain       -- destination transport domain
  1591.      OUT  destTransportAddress      -- destination transport address
  1592.      OUT  outgoingMessage           -- the message to send
  1593.      OUT  outgoingMessageLength     -- its length
  1594.           )
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621. SNMPv3 Working Group       Expires March 1998                  [Page 29]
  1622.  
  1623. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1624.  
  1625.  
  1626. 4.3.3.  Prepare Data Elements from an Incoming SNMP Message
  1627.  
  1628.    The Message Processing Subsystem provides this service primitive for
  1629.    preparing the abstract data elements from an incoming SNMP message:
  1630.  
  1631.    result =                         -- SUCCESS or errorIndication
  1632.      prepareDataElements(
  1633.      IN   transportDomain           -- origin transport domain
  1634.      IN   transportAddress          -- origin transport address
  1635.      IN   wholeMsg                  -- as received from the network
  1636.      IN   wholeMsgLength            -- as received from the network
  1637.      OUT  messageProcessingModel    -- typically, SNMP version
  1638.      OUT  securityModel             -- Security Model to use
  1639.      OUT  securityName              -- on behalf of this principal
  1640.      OUT  securityLevel             -- Level of Security requested
  1641.      OUT  contextEngineID           -- data from/at this entity
  1642.      OUT  contextName               -- data from/in this context
  1643.      OUT  pduVersion                -- the version of the PDU
  1644.      OUT  PDU                       -- SNMP Protocol Data Unit
  1645.      OUT  pduType                   -- SNMP PDU type
  1646.      OUT  sendPduHandle             -- handle for matched request
  1647.      OUT  maxSizeResponseScopedPDU  -- maximum size of the Response PDU
  1648.      OUT  statusInformation         -- success or errorIndication
  1649.                                     -- error counter OID/value if error
  1650.      OUT  stateReference            -- reference to state information
  1651.                                     -- to be used for possible Response
  1652.           )
  1653.  
  1654. 4.4.  Access Control Subsystem Primitives
  1655.  
  1656.    Applications are the typical clients of the service(s) of the Access
  1657.    Control Subsystem.
  1658.  
  1659.    The following primitive is provided by the Access Control Subsystem
  1660.    to check if access is allowed:
  1661.  
  1662.    statusInformation =              -- success or errorIndication
  1663.      isAccessAllowed(
  1664.      IN   securityModel             -- Security Model in use
  1665.      IN   securityName              -- principal who wants to access
  1666.      IN   securityLevel             -- Level of Security
  1667.      IN   viewType                  -- read, write, or notify view
  1668.      IN   contextName               -- context containing variableName
  1669.      IN   variableName              -- OID for the managed object
  1670.           )
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677. SNMPv3 Working Group       Expires March 1998                  [Page 30]
  1678.  
  1679. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1680.  
  1681.  
  1682. 4.5.  Security Subsystem Primitives
  1683.  
  1684.    The Message Processing Subsystem is the typical client of the
  1685.    services of the Security Subsystem.
  1686.  
  1687. 4.5.1.  Generate a Request or Notification Message
  1688.  
  1689.    The Security Subsystem provides the following primitive to generate a
  1690.    Request or Notification message:
  1691.  
  1692.    statusInformation =
  1693.      generateRequestMsg(
  1694.      IN   messageProcessingModel    -- typically, SNMP version
  1695.      IN   globalData                -- message header, admin data
  1696.      IN   maxMessageSize            -- of the sending SNMP entity
  1697.      IN   securityModel             -- for the outgoing message
  1698.      IN   securityEngineID          -- authoritative SNMP entity
  1699.      IN   securityName              -- on behalf of this principal
  1700.      IN   securityLevel             -- Level of Security requested
  1701.      IN   scopedPDU                 -- message (plaintext) payload
  1702.      OUT  securityParameters        -- filled in by Security Module
  1703.      OUT  wholeMsg                  -- complete generated message
  1704.      OUT  wholeMsgLength            -- length of the generated message
  1705.           )
  1706.  
  1707. 4.5.2.  Process Incoming Message
  1708.  
  1709.    The Security Subsystem provides the following primitive to process an
  1710.    incoming message:
  1711.  
  1712.    statusInformation =              -- errorIndication or success
  1713.                                     -- error counter OID/value if error
  1714.      processIncomingMsg(
  1715.      IN   messageProcessingModel    -- typically, SNMP version
  1716.      IN   maxMessageSize            -- of the sending SNMP entity
  1717.      IN   securityParameters        -- for the received message
  1718.      IN   securityModel             -- for the received message
  1719.      IN   securityLevel             -- Level of Security
  1720.      IN   wholeMsg                  -- as received on the wire
  1721.      IN   wholeMsgLength            -- length as received on the wire
  1722.      OUT  securityEngineID          -- identification of the principal
  1723.      OUT  securityName              -- identification of the principal
  1724.      OUT  scopedPDU,                -- message (plaintext) payload
  1725.      OUT  maxSizeResponseScopedPDU  -- maximum size of the Response PDU
  1726.      OUT  securityStateReference    -- reference to security state
  1727.           )                         -- information, needed for response
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733. SNMPv3 Working Group       Expires March 1998                  [Page 31]
  1734.  
  1735. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1736.  
  1737.  
  1738. 4.5.3.  Generate a Response Message
  1739.  
  1740.    The Security Subsystem provides the following primitive to generate a
  1741.    Response message:
  1742.  
  1743.    statusInformation =
  1744.      generateResponseMsg(
  1745.      IN   messageProcessingModel    -- typically, SNMP version
  1746.      IN   globalData                -- message header, admin data
  1747.      IN   maxMessageSize            -- of the sending SNMP entity
  1748.      IN   securityModel             -- for the outgoing message
  1749.      IN   securityEngineID          -- authoritative SNMP entity
  1750.      IN   securityName              -- on behalf of this principal
  1751.      IN   securityLevel             -- for the outgoing message
  1752.      IN   scopedPDU                 -- message (plaintext) payload
  1753.      IN   securityStateReference    -- reference to security state
  1754.                                     -- information from original request
  1755.      OUT  securityParameters        -- filled in by Security Module
  1756.      OUT  wholeMsg                  -- complete generated message
  1757.      OUT  wholeMsgLength            -- length of the generated message
  1758.           )
  1759.  
  1760. 4.6.  Common Primitives
  1761.  
  1762.    These primitive(s) are provided by multiple Subsystems.
  1763.  
  1764. 4.6.1.  Release State Reference Information
  1765.  
  1766.    All Subsystems which pass stateReference information also provide a
  1767.    primitive to release the memory that holds the referenced state
  1768.    information:
  1769.  
  1770.    stateRelease(
  1771.      IN   stateReference       -- handle of reference to be released
  1772.           )
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789. SNMPv3 Working Group       Expires March 1998                  [Page 32]
  1790.  
  1791. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1792.  
  1793.  
  1794. 4.7.  Scenario Diagrams
  1795.  
  1796. 4.7.1.  Command Generator or Notification Originator
  1797.  
  1798.    This diagram shows how a Command Generator or Notification Originator
  1799.    application requests that a PDU be sent, and how the response is
  1800.    returned (asynchronously) to that application.
  1801.  
  1802.    Command           Dispatcher               Message           Security
  1803.    Generator            |                     Processing           Model
  1804.    |                    |                     Model                    |
  1805.    |      sendPdu       |                        |                     |
  1806.    |------------------->|                        |                     |
  1807.    |                    | prepareOutgoingMessage |                     |
  1808.    :                    |----------------------->|                     |
  1809.    :                    |                        | generateRequestMsg  |
  1810.    :                    |                        |-------------------->|
  1811.    :                    |                        |                     |
  1812.    :                    |                        |<--------------------|
  1813.    :                    |                        |                     |
  1814.    :                    |<-----------------------|                     |
  1815.    :                    |                        |                     |
  1816.    :                    |------------------+     |                     |
  1817.    :                    | Send SNMP        |     |                     |
  1818.    :                    | Request Message  |     |                     |
  1819.    :                    | to Network       |     |                     |
  1820.    :                    |                  v     |                     |
  1821.    :                    :                  :     :                     :
  1822.    :                    :                  :     :                     :
  1823.    :                    :                  :     :                     :
  1824.    :                    |                  |     |                     |
  1825.    :                    | Receive SNMP     |     |                     |
  1826.    :                    | Response Message |     |                     |
  1827.    :                    | from Network     |     |                     |
  1828.    :                    |<-----------------+     |                     |
  1829.    :                    |                        |                     |
  1830.    :                    |   prepareDataElements  |                     |
  1831.    :                    |----------------------->|                     |
  1832.    :                    |                        | processIncomingMsg  |
  1833.    :                    |                        |-------------------->|
  1834.    :                    |                        |                     |
  1835.    :                    |                        |<--------------------|
  1836.    :                    |                        |                     |
  1837.    :                    |<-----------------------|                     |
  1838.    | processResponsePdu |                        |                     |
  1839.    |<-------------------|                        |                     |
  1840.    |                    |                        |                     |
  1841.  
  1842.  
  1843.  
  1844.  
  1845. SNMPv3 Working Group       Expires March 1998                  [Page 33]
  1846.  
  1847. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1848.  
  1849.  
  1850. 4.7.2.  Scenario Diagram for a Command Responder Application
  1851.  
  1852.    This diagram shows how a Command Responder or Notification Receiver
  1853.    application registers for handling a pduType, how a PDU is dispatched
  1854.    to the application after a SNMP message is received, and how the
  1855.    Response is (asynchronously) send back to the network.
  1856.  
  1857.    Command               Dispatcher            Message          Security
  1858.    Responder                 |                 Processing          Model
  1859.    |                         |                 Model                   |
  1860.    |                         |                    |                    |
  1861.    | registerContextEngineID |                    |                    |
  1862.    |------------------------>|                    |                    |
  1863.    |<------------------------|              |     |                    |
  1864.    |                         | Receive SNMP |     |                    |
  1865.    :                         | Message      |     |                    |
  1866.    :                         | from Network |     |                    |
  1867.    :                         |<-------------+     |                    |
  1868.    :                         |                    |                    |
  1869.    :                         |prepareDataElements |                    |
  1870.    :                         |------------------->|                    |
  1871.    :                         |                    | processIncomingMsg |
  1872.    :                         |                    |------------------->|
  1873.    :                         |                    |                    |
  1874.    :                         |                    |<-------------------|
  1875.    :                         |                    |                    |
  1876.    :                         |<-------------------|                    |
  1877.    |     processPdu          |                    |                    |
  1878.    |<------------------------|                    |                    |
  1879.    |                         |                    |                    |
  1880.    :                         :                    :                    :
  1881.    :                         :                    :                    :
  1882.    |    returnResponsePdu    |                    |                    |
  1883.    |------------------------>|                    |                    |
  1884.    :                         | prepareResponseMsg |                    |
  1885.    :                         |------------------->|                    |
  1886.    :                         |                    |generateResponseMsg |
  1887.    :                         |                    |------------------->|
  1888.    :                         |                    |                    |
  1889.    :                         |                    |<-------------------|
  1890.    :                         |                    |                    |
  1891.    :                         |<-------------------|                    |
  1892.    :                         |                    |                    |
  1893.    :                         |--------------+     |                    |
  1894.    :                         | Send SNMP    |     |                    |
  1895.    :                         | Message      |     |                    |
  1896.    :                         | to Network   |     |                    |
  1897.    :                         |              v     |                    |
  1898.  
  1899.  
  1900.  
  1901. SNMPv3 Working Group       Expires March 1998                  [Page 34]
  1902.  
  1903. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1904.  
  1905.  
  1906. 5.  Managed Object Definitions for SNMP Management Frameworks
  1907.  
  1908.    SNMP-FRAMEWORK-MIB DEFINITIONS ::= BEGIN
  1909.  
  1910.    IMPORTS
  1911.        MODULE-IDENTITY, OBJECT-TYPE,
  1912.        OBJECT-IDENTITY,
  1913.        snmpModules                           FROM SNMPv2-SMI
  1914.        TEXTUAL-CONVENTION                    FROM SNMPv2-TC
  1915.        MODULE-COMPLIANCE, OBJECT-GROUP       FROM SNMPv2-CONF;
  1916.  
  1917.    snmpFrameworkMIB MODULE-IDENTITY
  1918.        LAST-UPDATED "9709300000Z"            -- 30 September 1997
  1919.        ORGANIZATION "SNMPv3 Working Group"
  1920.        CONTACT-INFO "WG-email:   snmpv3@tis.com
  1921.                      Subscribe:  majordomo@tis.com
  1922.                                  In message body:  subscribe snmpv3
  1923.  
  1924.                      Chair:      Russ Mundy
  1925.                                  Trusted Information Systems
  1926.                      postal:     3060 Washington Rd
  1927.                                  Glenwood MD 21738
  1928.                                  USA
  1929.                      email:      mundy@tis.com
  1930.                      phone:      +1 301-854-6889
  1931.  
  1932.                      Co-editor   Dave Harrington
  1933.                                  Cabletron Systems, Inc.
  1934.                      postal:     Post Office Box 5005
  1935.                                  Mail Stop: Durham
  1936.                                  35 Industrial Way
  1937.                                  Rochester, NH 03867-5005
  1938.                                  USA
  1939.                      email:      dbh@cabletron.com
  1940.                      phone:      +1 603-337-7357
  1941.  
  1942.                      Co-editor   Randy Presuhn
  1943.                                  BMC Software, Inc.
  1944.                      postal:     1190 Saratoga Avenue
  1945.                                  Suite 130
  1946.                                  San Jose, CA 95129
  1947.                                  USA
  1948.                      email:      rpresuhn@bmc.com
  1949.                      phone:      +1 408-556-0720
  1950.  
  1951.                      Co-editor:  Bert Wijnen
  1952.                                  IBM T.J. Watson Research
  1953.                      postal:     Schagen 33
  1954.  
  1955.  
  1956.  
  1957. SNMPv3 Working Group       Expires March 1998                  [Page 35]
  1958.  
  1959. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  1960.  
  1961.  
  1962.                                  3461 GL Linschoten
  1963.                                  Netherlands
  1964.                      email:      wijnen@vnet.ibm.com
  1965.                      phone:      +31 348-432-794
  1966.                     "
  1967.        DESCRIPTION  "The SNMP Management Architecture MIB"
  1968.        ::= { snmpModules 7 }  -- DBH: check if this number is indeed OK
  1969.  
  1970.    -- Textual Conventions used in the SNMP Management Architecture ***
  1971.  
  1972.    SnmpEngineID ::= TEXTUAL-CONVENTION
  1973.        STATUS       current
  1974.        DESCRIPTION "An SNMP engine's administratively-unique identifier.
  1975.  
  1976.                     The value for this object may not be all zeros or
  1977.                     all 'ff'H or the empty (zero length) string.
  1978.  
  1979.                     The initial value for this object may be configured
  1980.                     via an operator console entry or via an algorithmic
  1981.                     function.  In the latter case, the following
  1982.                     example algorithm is recommended.
  1983.  
  1984.                     In cases where there are multiple engines on the
  1985.                     same system, the use of this algorithm is NOT
  1986.                     appropriate, as it would result in all of those
  1987.                     engines ending up with the same ID value.
  1988.  
  1989.                     1) The very first bit is used to indicate how the
  1990.                        rest of the data is composed.
  1991.  
  1992.                        0 - as defined by enterprise using former methods
  1993.                            that existed before SNMPv3. See item 2 below.
  1994.  
  1995.                        1 - as defined by this architecture, see item 3
  1996.                            below.
  1997.  
  1998.                        Note that this allows existing uses of the
  1999.                        engineID (also known as AgentID [RFC1910]) to
  2000.                        co-exist with any new uses.
  2001.  
  2002.                     2) The snmpEngineID has a length of 12 octets.
  2003.  
  2004.                        The first four octets are set to the binary
  2005.                        equivalent of the agent's SNMP management
  2006.                        private enterprise number as assigned by the
  2007.                        Internet Assigned Numbers Authority (IANA).
  2008.                        For example, if Acme Networks has been assigned
  2009.                        { enterprises 696 }, the first four octets would
  2010.  
  2011.  
  2012.  
  2013. SNMPv3 Working Group       Expires March 1998                  [Page 36]
  2014.  
  2015. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2016.  
  2017.  
  2018.                        be assigned '000002b8'H.
  2019.  
  2020.                        The remaining eight octets are determined via
  2021.                        one or more enterprise-specific methods. Such
  2022.                        methods must be designed so as to maximize the
  2023.                        possibility that the value of this object will
  2024.                        be unique in the agent's administrative domain.
  2025.                        For example, it may be the IP address of the SNMP
  2026.                        entity, or the MAC address of one of the
  2027.                        interfaces, with each address suitably padded
  2028.                        with random octets.  If multiple methods are
  2029.                        defined, then it is recommended that the first
  2030.                        octet indicate the method being used and the
  2031.                        remaining octets be a function of the method.
  2032.  
  2033.                     3) The length of the octet strings varies.
  2034.  
  2035.                        The first four octets are set to the binary
  2036.                        equivalent of the agent's SNMP management
  2037.                        private enterprise number as assigned by the
  2038.                        Internet Assigned Numbers Authority (IANA).
  2039.                        For example, if Acme Networks has been assigned
  2040.                        { enterprises 696 }, the first four octets would
  2041.                        be assigned '000002b8'H.
  2042.  
  2043.                        The very first bit is set to 1. For example, the
  2044.                        above value for Acme Networks now changes to be
  2045.                        '800002b8'H.
  2046.  
  2047.                        The fifth octet indicates how the rest (6th and
  2048.                        following octets) are formatted. The values for
  2049.                        the fifth octet are:
  2050.  
  2051.                          0     - reserved, unused.
  2052.  
  2053.                          1     - IPv4 address (4 octets)
  2054.                                  lowest non-special IP address
  2055.  
  2056.                          2     - IPv6 address (16 octets)
  2057.                                  lowest non-special IP address
  2058.  
  2059.                          3     - MAC address (6 octets)
  2060.                                  lowest IEEE MAC address, canonical
  2061.                                  order
  2062.  
  2063.                          4     - Text, administratively assigned
  2064.                                  Maximum remaining length 27
  2065.  
  2066.  
  2067.  
  2068.  
  2069. SNMPv3 Working Group       Expires March 1998                  [Page 37]
  2070.  
  2071. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2072.  
  2073.  
  2074.                          5     - Octets, administratively assigned
  2075.                                  Maximum remaining length 27
  2076.  
  2077.                          6-127 - reserved, unused
  2078.  
  2079.                        127-255 - as defined by the enterprise
  2080.                                  Maximum remaining length 27
  2081.                    "
  2082.        SYNTAX       OCTET STRING (SIZE(1..32))
  2083.  
  2084.    SnmpSecurityModel ::= TEXTUAL-CONVENTION
  2085.        STATUS       current
  2086.        DESCRIPTION "An identifier that uniquely identifies a
  2087.                     securityModel of the Security Subsystem within the
  2088.                     SNMP Management Architecture.
  2089.  
  2090.                     The values for securityModel are allocated as
  2091.                     follows:
  2092.  
  2093.                     - The zero value is reserved.
  2094.                     - Values between 1 and 255, inclusive, are reserved
  2095.                       for standards-track Security Models and are
  2096.                       managed by the Internet Assigned Numbers Authority
  2097.                       (IANA).
  2098.                     - Values greater than 255 are allocated to
  2099.                       enterprise-specific Security Models.  An
  2100.                       enterprise-specific securityModel value is defined
  2101.                       to be:
  2102.  
  2103.                       enterpriseID * 256 + security model within
  2104.                       enterprise
  2105.  
  2106.                       For example, the fourth Security Model defined by
  2107.                       the enterprise whose enterpriseID is 1 would be
  2108.                       260.
  2109.  
  2110.                     The eight bits allow a maximum of 255 (256-1
  2111.                     reserved) standards based Security Models.
  2112.                     Similarly, they allow a maximum of 255 Security
  2113.                     Models per enterprise.
  2114.  
  2115.                     It is believed that the assignment of new
  2116.                     securityModel values will be rare in practice
  2117.                     because the larger the number of simultaneously
  2118.                     utilized Security Models, the larger the
  2119.                     chance that interoperability will suffer.
  2120.                     Consequently, it is believed that such a range
  2121.                     will be sufficient.  In the unlikely event that
  2122.  
  2123.  
  2124.  
  2125. SNMPv3 Working Group       Expires March 1998                  [Page 38]
  2126.  
  2127. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2128.  
  2129.  
  2130.                     the standards committee finds this number to be
  2131.                     insufficient over time, an enterprise number
  2132.                     can be allocated to obtain an additional 255
  2133.                     possible values.
  2134.  
  2135.                     Note that the most significant bit must be zero;
  2136.                     hence, there are 23 bits allocated for various
  2137.                     organizations to design and define non-standard
  2138.                     securityModels.  This limits the ability to
  2139.                     define new proprietary implementations of Security
  2140.                     Models to the first 8,388,608 enterprises.
  2141.  
  2142.                     It is worthwhile to note that, in its encoded
  2143.                     form, the securityModel value will normally
  2144.                     require only a single byte since, in practice,
  2145.                     the leftmost bits will be zero for most messages
  2146.                     and sign extension is suppressed by the encoding
  2147.                     rules.
  2148.  
  2149.                     As of this writing, there are several values
  2150.                     of securityModel defined for use with SNMP or
  2151.                     reserved for use with supporting MIB objects.
  2152.                     They are as follows:
  2153.  
  2154.                         0  reserved for 'any'
  2155.                         1  reserved for SNMPv1
  2156.                         2  reserved for SNMPv2c
  2157.                         3  User-Based Security Model (USM)
  2158.                    "
  2159.        SYNTAX       INTEGER(0..2147483647)
  2160.  
  2161.    SnmpMessageProcessingModel ::= TEXTUAL-CONVENTION
  2162.        STATUS       current
  2163.        DESCRIPTION "An identifier that uniquely identifies a Message
  2164.                     Processing Model of the Message Processing
  2165.                     Subsystem within a SNMP Management Architecture.
  2166.  
  2167.                     The values for messageProcessingModel are
  2168.                     allocated as follows:
  2169.  
  2170.                     - Values between 0 and 255, inclusive, are
  2171.                       reserved for standards-track Message Processing
  2172.                       Models and are managed by the Internet Assigned
  2173.                       Numbers Authority (IANA).
  2174.                     - Values greater than 255 are allocated to
  2175.                       enterprise-specific Message Processing Models.
  2176.                       An enterprise messageProcessingModel value is
  2177.                       defined to be:
  2178.  
  2179.  
  2180.  
  2181. SNMPv3 Working Group       Expires March 1998                  [Page 39]
  2182.  
  2183. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2184.  
  2185.  
  2186.                       enterpriseID * 256 +
  2187.                            messageProcessingModel within enterprise
  2188.  
  2189.                       For example, the fourth Message Processing Model
  2190.                       defined by the enterprise whose enterpriseID
  2191.                       is 1 would be 260.
  2192.  
  2193.                     The eight bits allow a maximum of 256 standards
  2194.                     based Message Processing Models.  Similarly, they
  2195.                     allow a maximum 256 Message Processing Models
  2196.                     per enterprise.
  2197.  
  2198.                     It is believed that the assignment of new
  2199.                     messageProcessingModel values will be rare
  2200.                     in practice because the larger the number of
  2201.                     simultaneously utilized Message Processing Models,
  2202.                     the larger the chance that interoperability
  2203.                     will suffer. It is believed that such a range
  2204.                     will be sufficient.  In the unlikely event that
  2205.                     the standards committee finds this number to be
  2206.                     insufficient over time, an enterprise number
  2207.                     can be allocated to obtain an additional 256
  2208.                     possible values.
  2209.  
  2210.                     Note that the most significant bit must be zero;
  2211.                     hence, there are 23 bits allocated for various
  2212.                     organizations to design and define non-standard
  2213.                     messageProcessingModels.  This limits the ability
  2214.                     to define new proprietary implementations of
  2215.                     Message Processing Models to the first 8,388,608
  2216.                     enterprises.
  2217.  
  2218.                     It is worthwhile to note that, in its encoded
  2219.                     form, the securityModel value will normally
  2220.                     require only a single byte since, in practice,
  2221.                     the leftmost bits will be zero for most messages
  2222.                     and sign extension is suppressed by the encoding
  2223.                     rules.
  2224.  
  2225.                     As of this writing, there are several values of
  2226.                     messageProcessingModel defined for use with SNMP.
  2227.                     They are as follows:
  2228.  
  2229.                         0  reserved for SNMPv1
  2230.                         1  reserved for SNMPv2c
  2231.                         2  reserved for SNMPv2u and SNMPv2*
  2232.                         3  reserved for SNMPv3
  2233.                    "
  2234.  
  2235.  
  2236.  
  2237. SNMPv3 Working Group       Expires March 1998                  [Page 40]
  2238.  
  2239. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2240.  
  2241.  
  2242.        SYNTAX       INTEGER(0..2147483647)
  2243.  
  2244.    SnmpSecurityLevel ::= TEXTUAL-CONVENTION
  2245.        STATUS       current
  2246.        DESCRIPTION "A Level of Security at which SNMP messages can be
  2247.                     sent or with which operations are being processed;
  2248.                     in particular, one of:
  2249.  
  2250.                       noAuthNoPriv - without authentication and
  2251.                                      without privacy,
  2252.                       authNoPriv   - with authentication but
  2253.                                      without privacy,
  2254.                       authPriv     - with authentication and
  2255.                                      with privacy.
  2256.  
  2257.                     These three values are ordered such that
  2258.                     noAuthNoPriv is less than authNoPriv and
  2259.                     authNoPriv is less than authPriv.
  2260.                    "
  2261.        SYNTAX       INTEGER { noAuthNoPriv(1),
  2262.                               authNoPriv(2),
  2263.                               authPriv(3)
  2264.                             }
  2265.  
  2266.    SnmpAdminString ::= TEXTUAL-CONVENTION
  2267.        DISPLAY-HINT "255a"
  2268.        STATUS       current
  2269.        DESCRIPTION "An octet string containing administrative
  2270.                     information, preferably in human-readable form.
  2271.  
  2272.                     To facilitate internationalization, this
  2273.                     information is represented using the ISO/IEC
  2274.                     IS 10646-1 character set, encoded as an octet
  2275.                     string using the UTF-8 transformation format
  2276.                     described in [RFC2044].
  2277.  
  2278.                     Since additional code points are added by
  2279.                     amendments to the 10646 standard from time
  2280.                     to time, implementations must be prepared to
  2281.                     encounter any code point from 0x00000000 to
  2282.                     0x7fffffff.
  2283.  
  2284.                     The use of control codes should be avoided.
  2285.  
  2286.                     When it is necessary to represent a newline,
  2287.                     the control code sequence CR LF should be used.
  2288.  
  2289.                     The use of leading or trailing white space should
  2290.  
  2291.  
  2292.  
  2293. SNMPv3 Working Group       Expires March 1998                  [Page 41]
  2294.  
  2295. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2296.  
  2297.  
  2298.                     be avoided.
  2299.  
  2300.                     For code points not directly supported by user
  2301.                     interface hardware or software, an alternative
  2302.                     means of entry and display, such as hexadecimal,
  2303.                     may be provided.
  2304.  
  2305.                     For information encoded in 7-bit US-ASCII,
  2306.                     the UTF-8 encoding is identical to the
  2307.                     US-ASCII encoding.
  2308.  
  2309.                     Note that when this TC is used for an object that
  2310.                     is used or envisioned to be used as an index, then
  2311.                     a SIZE restriction must be specified so that the
  2312.                     number sub-identifiers for any object instance
  2313.                     do not exceed the limit of 128, as defined by
  2314.                     [RFC1905].
  2315.                    "
  2316.        SYNTAX       OCTET STRING (SIZE (0..255))
  2317.  
  2318.  
  2319.    -- Administrative assignments ***************************************
  2320.  
  2321.    snmpFrameworkAdmin
  2322.        OBJECT IDENTIFIER ::= { snmpFrameworkMIB 1 }
  2323.    snmpFrameworkMIBObjects
  2324.        OBJECT IDENTIFIER ::= { snmpFrameworkMIB 2 }
  2325.    snmpFrameworkMIBConformance
  2326.        OBJECT IDENTIFIER ::= { snmpFrameworkMIB 3 }
  2327.  
  2328.    -- the snmpEngine Group ********************************************
  2329.  
  2330.    snmpEngine OBJECT IDENTIFIER ::= { snmpFrameworkMIBObjects 1 }
  2331.  
  2332.    snmpEngineID     OBJECT-TYPE
  2333.        SYNTAX       SnmpEngineID
  2334.        MAX-ACCESS   read-only
  2335.        STATUS       current
  2336.        DESCRIPTION "An SNMP engine's administratively-unique identifier.
  2337.                    "
  2338.        ::= { snmpEngine 1 }
  2339.  
  2340.    snmpEngineBoots  OBJECT-TYPE
  2341.        SYNTAX       INTEGER (1..2147483647)
  2342.        MAX-ACCESS   read-only
  2343.        STATUS       current
  2344.        DESCRIPTION "The number of times that the SNMP engine has
  2345.                     (re-)initialized itself since its initial
  2346.  
  2347.  
  2348.  
  2349. SNMPv3 Working Group       Expires March 1998                  [Page 42]
  2350.  
  2351. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2352.  
  2353.  
  2354.                     configuration.
  2355.                    "
  2356.        ::= { snmpEngine 2 }
  2357.  
  2358.    snmpEngineTime   OBJECT-TYPE
  2359.        SYNTAX       INTEGER (0..2147483647)
  2360.        MAX-ACCESS   read-only
  2361.        STATUS       current
  2362.        DESCRIPTION "The number of seconds since the SNMP engine last
  2363.                     incremented the snmpEngineBoots object.
  2364.                    "
  2365.        ::= { snmpEngine 3 }
  2366.  
  2367.    snmpEngineMaxMessageSize OBJECT-TYPE
  2368.        SYNTAX       INTEGER (484..2147483647)
  2369.        MAX-ACCESS   read-only
  2370.        STATUS       current
  2371.        DESCRIPTION "The maximum length in octets of an SNMP message
  2372.                     which this SNMP engine can send or receive and
  2373.                     process, determined as the minimum of the maximum
  2374.                     message size values supported among all of the
  2375.                     transports available to and supported by the engine.
  2376.                    "
  2377.        ::= { snmpEngine 4 }
  2378.  
  2379.  
  2380.    -- Registration Points for Authentication and Privacy Protocols **
  2381.  
  2382.    snmpAuthProtocols OBJECT-IDENTITY
  2383.        STATUS        current
  2384.        DESCRIPTION  "Registration point for standards-track
  2385.                      authentication protocols used in SNMP Management
  2386.                      Frameworks.
  2387.                     "
  2388.        ::= { snmpFrameworkAdmin 1 }
  2389.  
  2390.    snmpPrivProtocols OBJECT-IDENTITY
  2391.        STATUS        current
  2392.        DESCRIPTION  "Registration point for standards-track privacy
  2393.                      protocols used in SNMP Management Frameworks.
  2394.                     "
  2395.        ::= { snmpFrameworkAdmin 2 }
  2396.  
  2397.    -- Conformance information ******************************************
  2398.  
  2399.    snmpFrameworkMIBCompliances
  2400.                   OBJECT IDENTIFIER ::= {snmpFrameworkMIBConformance 1}
  2401.    snmpFrameworkMIBGroups
  2402.  
  2403.  
  2404.  
  2405. SNMPv3 Working Group       Expires March 1998                  [Page 43]
  2406.  
  2407. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2408.  
  2409.  
  2410.                   OBJECT IDENTIFIER ::= {snmpFrameworkMIBConformance 2}
  2411.  
  2412.    -- compliance statements
  2413.  
  2414.    snmpFrameworkMIBCompliance MODULE-COMPLIANCE
  2415.        STATUS       current
  2416.        DESCRIPTION "The compliance statement for SNMP engines which
  2417.                     implement the SNMP Management Framework MIB.
  2418.                    "
  2419.        MODULE    -- this module
  2420.            MANDATORY-GROUPS { snmpEngineGroup }
  2421.  
  2422.        ::= { snmpFrameworkMIBCompliances 1 }
  2423.  
  2424.    -- units of conformance
  2425.  
  2426.    snmpEngineGroup OBJECT-GROUP
  2427.        OBJECTS {
  2428.                  snmpEngineID,
  2429.                  snmpEngineBoots,
  2430.                  snmpEngineTime,
  2431.                  snmpEngineMaxMessageSize
  2432.                }
  2433.        STATUS       current
  2434.        DESCRIPTION "A collection of objects for identifying and
  2435.                     determining the configuration and current timeliness
  2436.                     values of an SNMP engine.
  2437.                    "
  2438.        ::= { snmpFrameworkMIBGroups 1 }
  2439.  
  2440.    END
  2441.  
  2442.  
  2443. 6.  Security Considerations
  2444.  
  2445.    This document describes how an implementation can include a Security
  2446.    Model to protect management messages and an Access Control Model to
  2447.    control access to management information.
  2448.  
  2449.    The level of security provided is determined by the specific Security
  2450.    Model implementation(s) and the specific Access Control Model
  2451.    implementation(s) used.
  2452.  
  2453.    Applications have access to data which is not secured.  Applications
  2454.    should take reasonable steps to protect the data from disclosure.
  2455.  
  2456.    It is the responsibility of the purchaser of an implementation to
  2457.    ensure that:
  2458.  
  2459.  
  2460.  
  2461. SNMPv3 Working Group       Expires March 1998                  [Page 44]
  2462.  
  2463. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2464.  
  2465.  
  2466.       1) an implementation complies with the rules defined by this
  2467.          architecture,
  2468.  
  2469.       2) the Security and Access Control Models utilized satisfy the
  2470.          security and access control needs of the organization,
  2471.  
  2472.       3) the implementations of the Models and Applications comply with
  2473.          the model and application specifications,
  2474.  
  2475.       4) and the implementation protects configuration secrets from
  2476.          inadvertent disclosure.
  2477.  
  2478.  
  2479. 7.  Editor's Addresses
  2480.  
  2481.                       Co-editor:  Bert Wijnen
  2482.                                   IBM T.J. Watson Research
  2483.                       postal:     Schagen 33
  2484.                                   3461 GL Linschoten
  2485.                                   Netherlands
  2486.                       email:      wijnen@vnet.ibm.com
  2487.                       phone:      +31 348-432-794
  2488.  
  2489.                       Co-editor   Dave Harrington
  2490.                                   Cabletron Systems, Inc
  2491.                       postal:     Post Office Box 5005
  2492.                                   Mail Stop: Durham
  2493.                                   35 Industrial Way
  2494.                                   Rochester, NH 03867-5005
  2495.                                   USA
  2496.                       email:      dbh@cabletron.com
  2497.                       phone:      +1 603-337-7357
  2498.  
  2499.                       Co-editor   Randy Presuhn
  2500.                                   BMC Software, Inc.
  2501.                       postal:     1190 Saratoga Avenue
  2502.                                   Suite 130
  2503.                                   San Jose, CA 95129
  2504.                                   USA
  2505.                       email:      rpresuhn@bmc.com
  2506.                       phone:      +1 408-556-0720
  2507.  
  2508.  
  2509. 8.  Acknowledgements
  2510.  
  2511.    This document is the result of the efforts of the SNMPv3 Working
  2512.    Group.  Some special thanks are in order to the following SNMPv3 WG
  2513.    members:
  2514.  
  2515.  
  2516.  
  2517. SNMPv3 Working Group       Expires March 1998                  [Page 45]
  2518.  
  2519. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2520.  
  2521.  
  2522.        Dave Battle (SNMP Research, Inc.)
  2523.        Uri Blumenthal (IBM T.J. Watson Research Center)
  2524.        Jeff Case (SNMP Research, Inc.)
  2525.        John Curran (BBN)
  2526.        T. Max Devlin (Hi-TECH Connections)
  2527.        John Flick (Hewlett Packard)
  2528.        David Harrington (Cabletron Systems Inc.)
  2529.        N.C. Hien (IBM T.J. Watson Research Center)
  2530.        Dave Levi (SNMP Research, Inc.)
  2531.        Louis A Mamakos (UUNET Technologies Inc.)
  2532.        Paul Meyer (Secure Computing Corporation)
  2533.        Keith McCloghrie (Cisco Systems)
  2534.        Russ Mundy (Trusted Information Systems, Inc.)
  2535.        Bob Natale (ACE*COMM Corporation)
  2536.        Mike O'Dell (UUNET Technologies Inc.)
  2537.        Dave Perkins (DeskTalk)
  2538.        Peter Polkinghorne (Brunel University)
  2539.        Randy Presuhn (BMC Software, Inc.)
  2540.        David Reid (SNMP Research, Inc.)
  2541.        Shawn Routhier (Epilogue)
  2542.        Juergen Schoenwaelder (TU Braunschweig)
  2543.        Bob Stewart (Cisco Systems)
  2544.        Bert Wijnen (IBM T.J. Watson Research Center)
  2545.  
  2546.    The document is based on recommendations of the IETF Security and
  2547.    Administrative Framework Evolution for SNMP Advisory Team.  Members
  2548.    of that Advisory Team were:
  2549.  
  2550.        David Harrington (Cabletron Systems Inc.)
  2551.        Jeff Johnson (Cisco Systems)
  2552.        David Levi (SNMP Research Inc.)
  2553.        John Linn (Openvision)
  2554.        Russ Mundy (Trusted Information Systems) chair
  2555.        Shawn Routhier (Epilogue)
  2556.        Glenn Waters (Nortel)
  2557.        Bert Wijnen (IBM T. J. Watson Research Center)
  2558.  
  2559.    As recommended by the Advisory Team and the SNMPv3 Working Group
  2560.    Charter, the design incorporates as much as practical from previous
  2561.    RFCs and drafts. As a result, special thanks are due to the authors
  2562.    of previous designs known as SNMPv2u and SNMPv2*:
  2563.  
  2564.        Jeff Case (SNMP Research, Inc.)
  2565.        David Harrington (Cabletron Systems Inc.)
  2566.        David Levi (SNMP Research, Inc.)
  2567.        Keith McCloghrie (Cisco Systems)
  2568.        Brian O'Keefe (Hewlett Packard)
  2569.        Marshall T. Rose (Dover Beach Consulting)
  2570.  
  2571.  
  2572.  
  2573. SNMPv3 Working Group       Expires March 1998                  [Page 46]
  2574.  
  2575. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2576.  
  2577.  
  2578.        Jon Saperia (BGS Systems Inc.)
  2579.        Steve Waldbusser (International Network Services)
  2580.        Glenn W. Waters (Bell-Northern Research Ltd.)
  2581.  
  2582.  
  2583. 9.  References
  2584.  
  2585.    [RFC1155] Rose, M., and K. McCloghrie, "Structure and Identification
  2586.       of Management Information for TCP/IP-based internets", STD 16, RFC
  2587.       1155, May 1990.
  2588.  
  2589.    [RFC1157] Case, J., M. Fedor, M. Schoffstall, and J. Davin, "The
  2590.       Simple Network Management Protocol", STD 15, RFC 1157, University
  2591.       of Tennessee at Knoxville, Performance Systems s International,
  2592.       Performance International, and the MIT Laboratory for Computer
  2593.       Science, May 1990.
  2594.  
  2595.    [RFC1212] Rose, M., and K. McCloghrie, "Concise MIB Definitions", STD
  2596.       16, RFC 1212, March 1991.
  2597.  
  2598.    [RFC1901] The SNMPv2 Working Group, Case, J., McCloghrie, K., Rose,
  2599.       M., and S., Waldbusser, "Introduction to Community-based SNMPv2",
  2600.       RFC 1901, January 1996.
  2601.  
  2602.    [RFC1902] The SNMPv2 Working Group, Case, J., McCloghrie, K., Rose,
  2603.       M., and S., Waldbusser, "Structure of Management Information for
  2604.       Version  2 of the Simple Network Management Protocol (SNMPv2)",
  2605.       RFC 1902, January 1996.
  2606.  
  2607.    [RFC1903] The SNMPv2 Working Group, Case, J., McCloghrie, K., Rose,
  2608.       M., and S. Waldbusser, "Textual Conventions for Version 2 of the
  2609.       Simple Network Management Protocol (SNMPv2)", RFC 1903, January
  2610.       1996.
  2611.  
  2612.    [RFC1904] The SNMPv2 Working Group, Case, J., McCloghrie, K., Rose,
  2613.       M., and S., Waldbusser, "Conformance Statements for Version 2 of
  2614.       the Simple Network Management Protocol (SNMPv2)", RFC 1904,
  2615.       January 1996.
  2616.  
  2617.    [RFC1905] The SNMPv2 Working Group, Case, J., McCloghrie, K., Rose,
  2618.       M., and S., Waldbusser, "Protocol Operations for Version 2 of the
  2619.       Simple Network Management Protocol (SNMPv2)", RFC 1905, January
  2620.       1996.
  2621.  
  2622.    [RFC1906] The SNMPv2 Working Group, Case, J., McCloghrie, K., Rose,
  2623.       M., and S. Waldbusser, "Transport Mappings for Version 2 of the
  2624.       Simple Network Management Protocol (SNMPv2)", RFC 1906, January
  2625.       1996.
  2626.  
  2627.  
  2628.  
  2629. SNMPv3 Working Group       Expires March 1998                  [Page 47]
  2630.  
  2631. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2632.  
  2633.  
  2634.    [RFC1907] The SNMPv2 Working Group, Case, J., McCloghrie, K., Rose,
  2635.       M., and S. Waldbusser, "Management Information Base for Version 2
  2636.       of the Simple Network Management Protocol (SNMPv2)", RFC 1907
  2637.       January 1996.
  2638.  
  2639.    [RFC1908] The SNMPv2 Working Group, Case, J., McCloghrie, K., Rose,
  2640.       M., and S. Waldbusser, "Coexistence between Version 1 and Version
  2641.       2 of the SNMP-standard Network Management Framework", RFC 1908,
  2642.       January 1996.
  2643.  
  2644.    [RFC1909] McCloghrie, K., Editor, "An Administrative Infrastructure
  2645.       for SNMPv2", RFC1909, February 1996.
  2646.  
  2647.    [RFC1910] Waters, G., Editor, "User-based Security Model for SNMPv2",
  2648.       RFC1910, February 1996.
  2649.  
  2650.    [RFC2044] Yergeau, F., "UTF-8, a transformation format of Unicode and
  2651.       ISO 10646", RFC 2044, October 1996.
  2652.  
  2653.    [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
  2654.       Requirement Levels", BCP 14, RFC 2119, March 1997.
  2655.  
  2656.    [SNMP-MPD] The SNMPv3 Working Group, Case, J., Harrington, D.,
  2657.       Wijnen, B., "Message Processing and Dispatching for the Simple
  2658.       Network Management Protocol (SNMP)", draft-ietf-snmpv3-mpc-03.txt,
  2659.       August 1997.
  2660.  
  2661.    [SNMP-USM] The SNMPv3 Working Group, Blumenthal, U., Wijnen, B., "The
  2662.       User-Based Security Model for Version 3 of the Simple Network
  2663.       Management Protocol (SNMPv3)", draft-ietf-snmpv3-usm-01.txt,
  2664.       August 1997.
  2665.  
  2666.    [SNMP-ACM] The SNMPv3 Working Group, Wijnen, B., Presuhn, R.,
  2667.       McCloghrie, K., "View-based Access Control Model for the Simple
  2668.       Network Management Protocol (SNMP)", draft-ietf-snmpv3-acm-02.txt,
  2669.       August 1997.
  2670.  
  2671.    [SNMP-APPL] The SNMPv3 Working Group, Levi, D. B., Meyer, P.,
  2672.       Stewart, B., "SNMPv3 Applications",
  2673.       <draft-ietf-snmpv3-appl-01.txt>, August 1997
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685. SNMPv3 Working Group       Expires March 1998                  [Page 48]
  2686.  
  2687. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2688.  
  2689.  
  2690. APPENDIX A
  2691.  
  2692.  
  2693. A.  Guidelines for Model Designers
  2694.  
  2695.    This appendix describes guidelines for designers of models which are
  2696.    expected to fit into the architecture defined in this document.
  2697.  
  2698.    SNMPv1 and SNMPv2c are two SNMP frameworks which use communities to
  2699.    provide trivial authentication and access control. SNMPv1 and SNMPv2c
  2700.    Frameworks can coexist with Frameworks designed according to this
  2701.    architecture, and modified versions of SNMPv1 and SNMPv2c Frameworks
  2702.    could be designed to meet the requirements of this architecture, but
  2703.    this document does not provide guidelines for that coexistence.
  2704.  
  2705.    Within any subsystem model, there should be no reference to any
  2706.    specific model of another subsystem, or to data defined by a specific
  2707.    model of another subsystem.
  2708.  
  2709.    Transfer of data between the subsystems is deliberately described as
  2710.    a fixed set of abstract data elements and primitive functions which
  2711.    can be overloaded to satisfy the needs of multiple model definitions.
  2712.  
  2713.    Documents which define models to be used within this architecture
  2714.    SHOULD use the standard primitives between subsystems, possibly
  2715.    defining specific mechanisms for converting the abstract data
  2716.    elements into model-usable formats. This constraint exists to allow
  2717.    subsystem and model documents to be written recognizing common
  2718.    borders of the subsystem and model. Vendors are not constrained to
  2719.    recognize these borders in their implementations.
  2720.  
  2721.    The architecture defines certain standard services to be provided
  2722.    between subsystems, and the architecture defines abstract service
  2723.    interfaces to request these services.
  2724.  
  2725.    Each model definition for a subsystem SHOULD support the standard
  2726.    service interfaces, but whether, or how, or how well, it performs the
  2727.    service is dependent on the model definition.
  2728.  
  2729. A.1.  Security Model Design Requirements
  2730.  
  2731. A.1.1.  Threats
  2732.  
  2733.    A document describing a Security Model MUST describe how the model
  2734.    protects against the threats described under "Security Requirements
  2735.    of this Architecture", section 1.4.
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741. SNMPv3 Working Group       Expires March 1998                  [Page 49]
  2742.  
  2743. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2744.  
  2745.  
  2746. A.1.2.  Security Processing
  2747.  
  2748.    Received messages MUST be validated by a Model of the Security
  2749.    Subsystem.  Validation includes authentication and privacy processing
  2750.    if needed, but it is explicitly allowed to send messages which do not
  2751.    require authentication or privacy.
  2752.  
  2753.    A received message contains a specified securityLevel to be used
  2754.    during processing.  All messages requiring privacy MUST also require
  2755.    authentication.
  2756.  
  2757.    A Security Model specifies rules by which authentication and privacy
  2758.    are to be done.  A model may define mechanisms to provide additional
  2759.    security features, but the model definition is constrained to using
  2760.    (possibly a subset of) the abstract data elements defined in this
  2761.    document for transferring data between subsystems.
  2762.  
  2763.    Each Security Model may allow multiple security protocols to be used
  2764.    concurrently within an implementation of the model. Each Security
  2765.    Model defines how to determine which protocol to use, given the
  2766.    securityLevel and the security parameters relevant to the message.
  2767.    Each Security Model, with its associated protocol(s) defines how the
  2768.    sending/receiving entities are identified, and how secrets are
  2769.    configured.
  2770.  
  2771.    Authentication and Privacy protocols supported by Security Models are
  2772.    uniquely identified using Object Identifiers. IETF standard protocols
  2773.    for authentication or privacy should have an identifier defined
  2774.    within the snmpAuthProtocols or the snmpPrivProtocols subtrees.
  2775.    Enterprise specific protocol identifiers should be defined within the
  2776.    enterprise subtree.
  2777.  
  2778.    For privacy, the Security Model defines what portion of the message
  2779.    is encrypted.
  2780.  
  2781.    The persistent data used for security should be SNMP-manageable, but
  2782.    the Security Model defines whether an instantiation of the MIB is a
  2783.    conformance requirement.
  2784.  
  2785.    Security Models are replaceable within the Security Subsystem.
  2786.    Multiple Security Model implementations may exist concurrently within
  2787.    an SNMP engine.  The number of Security Models defined by the SNMP
  2788.    community should remain small to promote interoperability.
  2789.  
  2790. A.1.3.  Validate the security-stamp in a received message
  2791.  
  2792.    A Message Processing Model requests that a Security Model:
  2793.      - verifies that the message has not been altered,
  2794.  
  2795.  
  2796.  
  2797. SNMPv3 Working Group       Expires March 1998                  [Page 50]
  2798.  
  2799. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2800.  
  2801.  
  2802.      - authenticates the identification of the principal for whom the
  2803.        message was generated.
  2804.      - decrypts the message if it was encrypted.
  2805.  
  2806.    Additional requirements may be defined by the model, and additional
  2807.    services may be provided by the model, but the model is constrained
  2808.    to use the following primitives for transferring data between
  2809.    subsystems. Implementations are not so constrained.
  2810.  
  2811.    A Message Processing Model uses the processMsg primitive as described
  2812.    in section 4.5.
  2813.  
  2814. A.1.4.  Security MIBs
  2815.  
  2816.    Each Security Model defines the MIB module(s) required for security
  2817.    processing, including any MIB module(s) required for the security
  2818.    protocol(s) supported.  The MIB module(s) SHOULD be defined
  2819.    concurrently with the procedures which use the MIB module(s).  The
  2820.    MIB module(s) are subject to normal access control rules.
  2821.  
  2822.    The mapping between the model-dependent security ID and the
  2823.    securityName MUST be able to be determined using SNMP, if the model-
  2824.    dependent MIB is instantiated and if access control policy allows
  2825.    access.
  2826.  
  2827. A.1.5.  Cached Security Data
  2828.  
  2829.    For each message received, the Security Model caches the state
  2830.    information such that a Response message can be generated using the
  2831.    same security information, even if the Local Configuration Datastore
  2832.    is altered between the time of the incoming request and the outgoing
  2833.    response.
  2834.  
  2835.    A Message Processing Model has the responsibility for explicitly
  2836.    releasing the cached data if such data is no longer needed. To enable
  2837.    this, an abstract securityStateReference data element is passed from
  2838.    the Security Model to the Message Processing Model.
  2839.  
  2840.    The cached security data may be implicitly released via the
  2841.    generation of a response, or explicitly released by using the
  2842.    stateRelease primitive, as described in section 4.1.
  2843.  
  2844. A.2.  Message Processing Model Design Requirements
  2845.  
  2846.    An SNMP engine contains a Message Processing Subsystem which may
  2847.    contain multiple Message Processing Models.
  2848.  
  2849.    The Message Processing Model MUST always (conceptually) pass the
  2850.  
  2851.  
  2852.  
  2853. SNMPv3 Working Group       Expires March 1998                  [Page 51]
  2854.  
  2855. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2856.  
  2857.  
  2858.    complete PDU, i.e., it never forwards less than the complete list of
  2859.    varBinds.
  2860.  
  2861. A.2.1.  Receiving an SNMP Message from the Network
  2862.  
  2863.    Upon receipt of a message from the network, the Dispatcher in the
  2864.    SNMP engine determines the version of the SNMP message and interacts
  2865.    with the corresponding Message Processing Model to determine the
  2866.    abstract data elements.
  2867.  
  2868.    A Message Processing Model specifies the SNMP Message format it
  2869.    supports and describes how to determine the values of the abstract
  2870.    data elements (like msgID, msgMaxSize, msgFlags,
  2871.    msgSecurityParameters, securityModel, securityLevel etc). A Message
  2872.    Processing Model interacts with a Security Model to provide security
  2873.    processing for the message using the processMsg primitive, as
  2874.    described in section 4.5.
  2875.  
  2876. A.2.2.  Sending an SNMP Message to the Network
  2877.  
  2878.    The Dispatcher in the SNMP engine interacts with a Message Processing
  2879.    Model to prepare an outgoing message. For that it uses the following
  2880.    primitives:
  2881.  
  2882.       -  for requests and notifications: prepareOutgoingMessage, as
  2883.          described in section 4.4
  2884.  
  2885.       -  for response messages: prepareResponseMessage, as described in
  2886.          section 4.4
  2887.  
  2888.    A Message Processing Model, when preparing an Outgoing SNMP Message,
  2889.    interacts with a Security Model to secure the message. For that it
  2890.    uses the following primitives:
  2891.  
  2892.       -  for requests and notifications: generateRequestMsg, as
  2893.          described in section 4.5.
  2894.  
  2895.       -  for response messages: generateResponseMsg as described in
  2896.          section 4.5.
  2897.  
  2898.       Once the SNMP message is prepared by a Message Processing Model,
  2899.       the Dispatcher sends the message to the desired address using the
  2900.       appropriate transport.
  2901.  
  2902. A.3.  Application Design Requirements
  2903.  
  2904.    Within an application, there may be an explicit binding to a specific
  2905.    SNMP message version, i.e., a specific Message Processing Model, and
  2906.  
  2907.  
  2908.  
  2909. SNMPv3 Working Group       Expires March 1998                  [Page 52]
  2910.  
  2911. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2912.  
  2913.  
  2914.    to a specific Access Control Model, but there should be no reference
  2915.    to any data defined by a specific Message Processing Model or Access
  2916.    Control Model.
  2917.  
  2918.    Within an application, there should be no reference to any specific
  2919.    Security Model, or any data defined by a specific Security Model.
  2920.  
  2921.    An application determines whether explicit or implicit access control
  2922.    should be applied to the operation, and, if access control is needed,
  2923.    which Access Control Model should be used.
  2924.  
  2925.    An application has the responsibility to define any MIB module(s)
  2926.    used to provide application-specific services.
  2927.  
  2928.    Applications interact with the SNMP engine to initiate messages,
  2929.    receive responses, receive asynchronous messages, and send responses.
  2930.  
  2931.  
  2932. A.3.1.  Applications that Initiate Messages
  2933.  
  2934.    Applications may request that the SNMP engine send messages
  2935.    containing SNMP commands or notifications using the sendPdu primitive
  2936.    as described in section 4.2.
  2937.  
  2938.    If it is desired that a message be sent to multiple targets, it is
  2939.    the responsibility of the application to provide the iteration.
  2940.  
  2941.    The SNMP engine assumes necessary access control has been applied to
  2942.    the PDU, and provides no access control services.
  2943.  
  2944.    The SNMP engine looks at the "expectResponse" parameter, and if a
  2945.    response is expected, then the appropriate information is cached such
  2946.    that a later response can be associated to this message, and can then
  2947.    be returned to the application. A sendPduHandle is returned to the
  2948.    application so it can later correspond the response with this message
  2949.    as well.
  2950.  
  2951. A.3.2.  Applications that Receive Responses
  2952.  
  2953.    The SNMP engine matches the incoming response messages to outstanding
  2954.    messages sent by this SNMP engine, and forwards the response to the
  2955.    associated application using the processResponsePdu primitive, as
  2956.    described in section 4.2.
  2957.  
  2958. A.3.3.  Applications that Receive Asynchronous Messages
  2959.  
  2960.    When an SNMP engine receives a message that is not the response to a
  2961.    request from this SNMP engine, it must determine to which application
  2962.  
  2963.  
  2964.  
  2965. SNMPv3 Working Group       Expires March 1998                  [Page 53]
  2966.  
  2967. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  2968.  
  2969.  
  2970.    the message should be given.
  2971.  
  2972.    An Application that wishes to receive asynchronous messages registers
  2973.    itself with the engine using the primitive registerContextEngineID as
  2974.    described in section 4.2.
  2975.  
  2976.    An Application that wishes to stop receiving asynchronous messages
  2977.    should unregister itself with the SNMP engine using the primitive
  2978.    unregisterContextEngineID as described in section 4.2.
  2979.  
  2980.    Only one registration per combination of PDU type and contextEngineID
  2981.    is permitted at the same time. Duplicate registrations are ignored.
  2982.    An errorIndication will be returned to the application that attempts
  2983.    to duplicate a registration.
  2984.  
  2985.    All asynchronously received messages containing a registered
  2986.    combination of PDU type and contextEngineID are sent to the
  2987.    application which registered to support that combination.
  2988.  
  2989.    The engine forwards the PDU to the registered application, using the
  2990.    processPdu primitive, as described in section 4.2.
  2991.  
  2992. A.3.4.  Applications that Send Responses
  2993.  
  2994.    Request operations require responses.  An application sends a
  2995.    response via the returnResponsePdu primitive, as described in section
  2996.    4.2.
  2997.  
  2998.    The contextEngineID, contextName, securityModel, securityName,
  2999.    securityLevel, and stateReference parameters are from the initial
  3000.    processPdu primitive. The PDU and statusInformation are the results
  3001.    of processing.
  3002.  
  3003. A.4.  Access Control Model Design Requirements
  3004.  
  3005.    An Access Control Model determines whether the specified securityName
  3006.    is allowed to perform the requested operation on a specified managed
  3007.    object. The Access Control Model specifies the rules by which access
  3008.    control is determined.
  3009.  
  3010.    The persistent data used for access control should be manageable
  3011.    using SNMP, but the Access Control Model defines whether an
  3012.    instantiation of the MIB is a conformance requirement.
  3013.  
  3014.    The Access Control Model must provide the primitive isAccessAllowed.
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021. SNMPv3 Working Group       Expires March 1998                  [Page 54]
  3022.  
  3023. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3024.  
  3025.  
  3026. B.  Issues
  3027.  
  3028.    The change log will be deleted for last call; the issues list will be
  3029.    deleted when it is time to publish as an RFC.
  3030.  
  3031. B.1.  Showstoppers
  3032.  
  3033. B.2.  Open Issues
  3034.  
  3035.    -  we need a mechanism for a manager to be able to discover what
  3036.       securityModels are supported by a particular implementation
  3037.  
  3038. B.3.  Resolved Issues
  3039.     . contextEngineID in reportPDU = snmpEngineID of report generator
  3040.     . returnResponsePdu - are all parameters needed? overrides allowed?
  3041.        all parameters kept for future flexibility
  3042.        overrides not supported by SNMPv3
  3043.     . use of IN/OUT indicators in primitives accepted
  3044.     . NT/Unix-like access control - can be defined as future model
  3045.     . user-friendly names? yes, but with limits
  3046.     . SnmpAdminString as index? yes, but restrict sizes
  3047.     . need both MMS and maxSizeResponseScopedPDU? yes.
  3048.     . synchronous vs. asynchronous primitives? synchronous preferred
  3049.     . should we change MIB naming? no, it is acceptable
  3050.     . is it ok that USM is bound to SNMPv3? while undesirable, it is
  3051.       acceptable. A cleaner model may be defined in the future.
  3052.     . should securityModel "any" be supported? for ACM use, not SNMPv3
  3053.     . what defines SNMPv3? a document will be published after Munich
  3054.     . Is an application-level handle needed for request/response matching?
  3055.       yes. create sendPduHandle
  3056.     . Is wild card contextEngineID/pduType registration needed? No. This is
  3057.       an internal interface, and wild carding can be supported by an
  3058.       implementation, but is not required in the standard.
  3059.     . Should indices be integers or SnmpAdminStrings? SnmpAdminStrings
  3060.       is the consensus.
  3061.     . Should protocols be identified as OIDs or Integers? OIDs
  3062.     . terminology:
  3063.        securityLevel rather than LoS
  3064.        msgXXXX to identify message fields in SNMPv3
  3065.     . OID or Integer for auth/priv protocol identifiers
  3066.       Consensus: use OID
  3067.     . Is Glossary needed to describe primitive parameters, or is the
  3068.       expanded template adequate for this purpose?
  3069.       Consensus: Terms are basically all defined in section 3.
  3070.     . state_reference releases
  3071.       Consensus: documents checked; we think it is OK now
  3072.     . new SnmpEngineID format rules to be discussed yet.
  3073.       Consensus: Limit size to be 1..32
  3074.  
  3075.  
  3076.  
  3077. SNMPv3 Working Group       Expires March 1998                  [Page 55]
  3078.  
  3079. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3080.  
  3081.  
  3082.     . needs changes to meet STDGUIDE guidelines
  3083.       We think we're meeting them now
  3084.     . we punted snmpEngineMaxMessageSize at 2nd interim because that
  3085.       info travels in each SNMPv3 message. However, we may want to
  3086.       re-introduce it so that SNMPv1/v2c managers can learn the value!!
  3087.       Consensus: Nobody picked up on this, so it seems not needed.
  3088.     . Do we need a mechanism to discover securityModels supported
  3089.       Can be decided after Munich
  3090.     . add a "Decision History" section (as an appendix?)
  3091.       Can be decided after Munich
  3092.  
  3093. B.3.1.  Issues discussed at second Interim Meeting:
  3094.     . A "readable" introduction supplement may be done after Munich.
  3095.     . Applications are responsible for retries, but implementations may
  3096.         differ.
  3097.     . TCs should not be defined just to describe primitive parameters.
  3098.       If they cannot be described adequately in text, they can be defined
  3099.       in a Glossary. Avoid describing implementation details.
  3100.     . Is SnmpAdminString appropriate for all strings, such as
  3101.       securityIdentifier and context and group? These had different
  3102.       sizes and semantics.  size and semantics may be defined in
  3103.       syntax and description of OBJECT
  3104.     . AdminString has size (0..255); revisit for UTF-8 discussions
  3105.     . securityModel #s - 00 for IETF standards; from v2* documents
  3106.     . protocol IDs - integer or OID? voted 13-0 for OID.
  3107.     . uniqueness of securityName
  3108.     . mapping between principal and securityName is outside scope of WG.
  3109.     . principals may have more than one securityName in an entity
  3110.     . mappings may exist between many types of MDID and a single
  3111.       securityName
  3112.     . mappings may exist between different    (model, Name) and the same
  3113.       securityName by varying the model or the Name.
  3114.     . the securityName and a MDID may be identical. This can be defined
  3115.       by the Security Model.
  3116.       (user,"public") may map to securityName "public"
  3117.     . [securityName, securityModel] yields zero or one MDName, with
  3118.       exceptions for backwards compatibility. The exception is defined
  3119.       by the model, and the problems are the province of the model to
  3120.       resolve.
  3121.  
  3122. B.4.  Change Log
  3123.  
  3124.    Current version
  3125.  
  3126.       -  Changed MIB objects from Integer32 to INTEGER to match USM
  3127.          fields.
  3128.  
  3129.       -  changed "network management" to simply "management"
  3130.  
  3131.  
  3132.  
  3133. SNMPv3 Working Group       Expires March 1998                  [Page 56]
  3134.  
  3135. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3136.  
  3137.  
  3138.       -  added caveat to EngineID selection algorithm
  3139.  
  3140.       -  Added language in register/deregister ASI to permit
  3141.          implementation-specific wildcarding, as agreed in Munich.
  3142.  
  3143.       -  re-worded description of maxSizeResponseScopedPDU
  3144.  
  3145.       -  added RFC 2119 words and referece
  3146.  
  3147.       -  added reference for UTF-8
  3148.  
  3149.       -  removed "none" reserved value from SnmpSecurityModel textual
  3150.          convention, changed "any" value from 255 to zero.
  3151.  
  3152.       -  modifications to SnmpAdminString agreed to in Munich meeting
  3153.  
  3154.       -  updated editor list
  3155.  
  3156.       -  converted to nroff, with some minor layout changes
  3157.       [version 4.14]
  3158.        . formatting
  3159.        . pagination
  3160.       [version 4.13]
  3161.        . new acknowledgements
  3162.        . updated references
  3163.        . updated issues list
  3164.        . ordered security, editors, acknowledgements, references sections
  3165.        . checked line lengths
  3166.       [version 4.12]
  3167.        . cleanup
  3168.        . added expectResponse to processIncomingMsg to address Levi-raised
  3169.          concern
  3170.        . acknowledgements
  3171.        . MIB checked by SMICng
  3172.        . post to snmpv3 mailing list
  3173.       [version 4.11]
  3174.        . Change Primitives between MP and SEC to try and address the issue
  3175.          of architectural binding to message format.
  3176.        . Added securityName and securityLevel to the returnResponsePdu
  3177.          primitive so that architecturally it could be different for a
  3178.          request and a response.
  3179.        . Rename processMsg primitive to processIncomingMsg
  3180.  
  3181.       [version 4.10]
  3182.        . spell check
  3183.  
  3184.       [version 4.9]
  3185.        . editorial changes
  3186.  
  3187.  
  3188.  
  3189. SNMPv3 Working Group       Expires March 1998                  [Page 57]
  3190.  
  3191. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3192.  
  3193.  
  3194.        . fix SnmpEngineID TC
  3195.        . add a note to SnmpAdminString
  3196.        . rename title of section 1.1
  3197.        . expand description of Dispatcher a bit
  3198.  
  3199.       [version 4.8]
  3200.        . Added parameter pduVersion on primitives:
  3201.                sendPdu
  3202.                processPdu
  3203.                returnResponsePdu
  3204.                processResponsePdu
  3205.                prepareDataElements
  3206.                prepareOutgoingMessage
  3207.                prepareResponseMessage
  3208.        . Added parameter messageProcessingModel on the primitive:
  3209.                processPdu
  3210.                processResponsePdu
  3211.                returnResponsePdu
  3212.        . Removed messageProcessingModel parameter from primitives:
  3213.                registerContextEngineID
  3214.                unregisterContextEngineID
  3215.        . Renamed SNMP Version Multiplexer to Dispatcher
  3216.        . Renamed Version Multiplexer to Message Multiplexer
  3217.        . Renamed Application Multiplexer to PDU Dispatcher
  3218.        . Rearranged some parameters in various Primitives so the sequence
  3219.          of parameters is now more consistent.
  3220.  
  3221.       [version 4.7]
  3222.        . editorial cleanup
  3223.        . changed asterisk text
  3224.        . modified snmpv3 framework description to eliminate dependencies
  3225.        . reorder 4.2.x to reflect transaction order
  3226.        . changed SnmpEngineID size to 1..32
  3227.  
  3228.       [version 4.6]
  3229.        . Changes to use synchronous primitives where possible
  3230.        . Changes to describe SNMP Version Multiplexer
  3231.        . Remove (empty) glossary
  3232.        . Redraw documentation figure
  3233.        . Redraw Operational Overview Figure
  3234.        . Remove old section 4 (Architectural Elements of Procedure)
  3235.          These moved to the MP document into the SNMP Version Multiplexer
  3236.          section.
  3237.        . Move Overview of all primitives from Appendix to Section 4.
  3238.        . Simplify Appendix A to just described Model Designer Guidelines
  3239.          and refer back to section 4 for specific primitives
  3240.        . Remove Appendix B (An Evolutionary Architecture - Design Goals)
  3241.        . added design decision regarding security
  3242.  
  3243.  
  3244.  
  3245. SNMPv3 Working Group       Expires March 1998                  [Page 58]
  3246.  
  3247. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3248.  
  3249.  
  3250.        . Included latest Snmp SecurityModel TC (as it was actually posted
  3251.          to the SNMPv3 mailing list).
  3252.  
  3253.       [version 4.5]
  3254.        . start with <draft-ietf-snmpv3-next-gen-arch-03.txt>
  3255.        . change vendor to implementor
  3256.        . change LoS to securityLevel
  3257.        . remove mention of enterprise
  3258.        . change Internet Management Framework to SNMP Management Framework
  3259.        . modify usage of "frameworks" to improve internal consistency.
  3260.        . change Message Processing Abstract Service Interface to
  3261.          Application Multiplexor
  3262.        . change description of SNMP engine
  3263.        . moved "one-to-one association" for entity and engine to discussion
  3264.          of engine.
  3265.        . changed distributing to dispatching
  3266.        . added asterisks to indicate v3* items are also not required.
  3267.        . changed "community access control" to "other access control"
  3268.        . added TC for SnmpMessageProcessingModel
  3269.        . modified Security Considerations
  3270.        . modified acknowledgements
  3271.  
  3272.       [version 4.4]
  3273.        . Fixed one error in the MIB (found with SMICng)
  3274.        . Reformatted text for SnmpAdminString, no change in text.
  3275.        . Changed text for SnmpEngineID..  this is still under discussion.
  3276.          But this new text seems to be getting close to what we want.
  3277.        . Added an issue w.r.t. snmpEngineMaxMessageSize
  3278.        . adapt Primitive names and parameters to very latest (July 11) names
  3279.        . removed blank lines before the .p page controls.
  3280.        . publish as <draft-ietf-snmpv3-next-gen-arch-03.txt>
  3281.  
  3282.       [version 4.3]
  3283.        . some minor editing adjustments
  3284.       [version 4.2]
  3285.        . modify abstract so there is no requirement for one entity
  3286.           to contain both a command generator and a notification receiver.
  3287.        . modify Introduction list of entities which are meant to be
  3288.          supported
  3289.        . reorganized sections 1 through 4 for more consistency in contents.
  3290.        . described section contents in Introduction:Target Audience
  3291.        . move documentation descriptions to section 2
  3292.        . rewrite section 4 to be more like a real elements of procedure.
  3293.        . modified SnmpSecurityModel and SnmpEngineID definitions
  3294.        . replaced MIB with Bert's replacement
  3295.        . added Randy's TC for SnmpAdminString
  3296.        . modified the example algorithm text for SnmpEngineID
  3297.        . rewrote security considerations for brevity.
  3298.  
  3299.  
  3300.  
  3301. SNMPv3 Working Group       Expires March 1998                  [Page 59]
  3302.  
  3303. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3304.  
  3305.  
  3306.        . modified "context" description
  3307.        . moved "Threats" to Goals/Requirements
  3308.        . eliminated snmpEngineMaxMessageSize object
  3309.        . posted to snmpv3 (by DBH)
  3310.       [version 4.1]
  3311.        . Adopt "abstract" to new terminology
  3312.        . Addressed all comments I (BW) made to DBH in an earlier email
  3313.        . Changed Introduction section to new terminology
  3314.        . changed wording for "implementation" to indicate it may contain
  3315.          multiple models.
  3316.        . Section 2. Started some wording on Goals and Design decisions
  3317.        . Added the overview picture of a traditional agent and a
  3318.          traditional manager. This is in section 2.
  3319.        . Changed overview figure in section 3. to address the comments
  3320.          by Dave Levi. It now lists the type of applications
  3321.        . At various places ensure that text (easily) fits within 72
  3322.          columns as required by RFC-editors Guidelines document.
  3323.        . Section 2.3 (new section) has the documents set overview.
  3324.          I verified the claims about standards. Not sure I worded the
  3325.          SNMPv2 std correctly,. We'll hear it if we did it wrong.
  3326.        . Section 2.4 (new section) gives overview of SNMP entities based
  3327.          on modified Dave Levi figure. I (Bert) wonder however if it would
  3328.          not be better to move it to after section 3.1.13
  3329.        . Section 3. Added more figures... please let us know if you find
  3330.          then useful and/or helpful. We could also move these back to
  3331.          section 2 if such makes more sense.
  3332.        . Added a picture in section 3.2.
  3333.          It also shows some of access control, so not sure it really fits
  3334.          here, although it does map principal to model-dependent security
  3335.          ID to securityName
  3336.        . Replace "<" with "is lower than" in section 3.4.3 which seems
  3337.          better in a text document.
  3338.        . Renamed section 4.1 to "SNMP engine processing" instead of
  3339.          "The Message Processing Subsystem" because the transport
  3340.          mappings, mpc multiplexor and such is done in ARCH document so
  3341.          it is done "in general in the engine" and it passes a specific
  3342.          message to a Message Processing Subsystem.
  3343.        . "bulletized" some stuff in section 4.2 and 4.3.
  3344.          Dave, this is just how I (Bert) like it better. Feel free to
  3345.          undo it if you strongly disagree
  3346.        . Section 4.3 changed "initiate a transaction" to "originate a
  3347.          notification".
  3348.        . Inserted title line for section 4.4 (I think it was missing)
  3349.          I have named it "Information Model" in accordance with the change
  3350.          I made (after Russ's comments) in the document figure to lump SMI,
  3351.          TC and Conformance together.
  3352.        . Inserted a title for section 4.5 named "Operational Model" to
  3353.          get in sync with the the lumping together of ProtoOps and Transport
  3354.  
  3355.  
  3356.  
  3357. SNMPv3 Working Group       Expires March 1998                  [Page 60]
  3358.  
  3359. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3360.  
  3361.  
  3362.          Mappings in document overview
  3363.        . Renumber section 4.4.4 to 4,5,1 and added 4.5.2 to follow the
  3364.          document overview figure. If we really want to follow it, then
  3365.          maybe we should also reorder some of these sections. Like
  3366.          Access Control seems specifically misplaced. So I decided to move
  3367.          it before applications as section 4.3, so the 4.x above should
  3368.          all be read as 4.x+1
  3369.        . Removed size from SnmpEngineID TC... why did you limit it to
  3370.          (0..2048). Did we not decide to leave it open?
  3371.        . Should we not remove snmpEngineMaxMessageSize from the MIB.
  3372.          That was agreed at 2nd interim. It travels in every message and so
  3373.          seems to be useless. However, I think it could indeed still help
  3374.          SNMPv1 or SNMPv2c managers.
  3375.        . I kept your definitions of registration-points for auth and priv
  3376.          protocols, but my recollection is that they would be completely
  3377.          removed from ARCH and that it would all be done in SEC document.
  3378.        . Modified Security Considerations. Was still talking about LPM.
  3379.        . Appendix. I am still wondering if we need to use capitals for
  3380.          things like "Security Model" "Subsystem" and such. This is only
  3381.          an appendix... but we better be consistent, no? Anyway
  3382.          I changed it so it is consistent (at least I tried).
  3383.        . Appendix, renamed imf to snmpFramework
  3384.        . Appendix, changed state_reference and state_release to
  3385.          stateReference and stateRelease to be consistent with other names
  3386.          for abstract data and primitives.
  3387.        . A.2 changed MessageEngine to SNMP engine
  3388.        . Fixed ASI primitives to be in sync with SEC document.
  3389.          I also thought that our ARCH document-outline wanted to at least
  3390.          have the primitives listed within the main body of the text, no?
  3391.        . Adapted send_pdu to sendPdu primitive as reconciled by Randy
  3392.          In fact I made sure all primitives are in-line with current
  3393.          agreement on names and parameters.
  3394.        . Rename title of A.2.4 and A.2.5 so it fits on 1 line in contents
  3395.        . I did not look at appendix B. That is your (DBH) specialty is it
  3396.          not ?  ;-).
  3397.        . Quick simple spell check done with "spell" on AIX
  3398.       [version 4.0]
  3399.        . move section 7 - Model Requirements to an appendix
  3400.        . move Section 3 - Design Goals to an appendix
  3401.        . modified Section 5 - Naming
  3402.        . remove "possibly multiple"
  3403.        . moved Section 5 to Section 3
  3404.        . change orangelets to applications
  3405.        . modify description of applications
  3406.        . change scopedPDU-MMS and PDU-MMS to maxSizeResponseScopedPDU
  3407.        . change Scoped-PDU and ScopedPDU to scopedPDU (no dash, lower case S)
  3408.        . change imfxxx to snmpFrameworkxxx
  3409.        . change security-entity to principal
  3410.  
  3411.  
  3412.  
  3413. SNMPv3 Working Group       Expires March 1998                  [Page 61]
  3414.  
  3415. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3416.  
  3417.  
  3418.        . change securityIdentity to securityName
  3419.        . change MIID to securityName
  3420.        . eliminate all reference to groupName or group
  3421.        . LoS ordering noAuthNoPriv < authNoPriv < authPriv
  3422.        . Los TC  naming - noAuthNoPriv(1), authNoPriv(2), authPriv(3)
  3423.        . remove TCs not used in MIBs - securityIdentity TC etc
  3424.        . changed Message Processing and Control to Message Processing
  3425.        . changed future tense to present tense
  3426.        . eliminate messageEngine
  3427.        . added/updated primitives
  3428.        . addressed issues raised on the mailing list
  3429.  
  3430.       [version 3.1]
  3431.        . change securityIdentity to MIID
  3432.        . write text to explain the differences between security-identities,
  3433.          model-dependent identifiers, and model-independent identifiers.
  3434.        . write text to explain distinction within the LCD of the security
  3435.          data, the access control data, and the orangelet data.
  3436.        . identify issues
  3437.        . publish as <draft-ietf-snmpv3-next-gen-arch-02.txt>
  3438.  
  3439.       [version 3.0]
  3440.        . add section on threats for message security
  3441.        . add section on threats for access control
  3442.        . change application to orangelet
  3443.        . remove references to F-Ts
  3444.        . change securityIdentity to security-identity
  3445.        . change securityCookie to securityIdentity
  3446.        . the format of securityIdentity is defined by the model
  3447.        . add securityModel to passed parameters as needed
  3448.        . eliminate group from passed parameters
  3449.        . remove unused IMPORTS
  3450.        . add glossary section with initial set of words to define
  3451.        . differentiate the messageEngine from the contextEngine
  3452.        . eliminate the term SNMPng
  3453.        . rewrote 1.1. A Note on Terminology
  3454.        . eliminated assumptions about SNMP processing always being
  3455.           message related
  3456.        . rewrote 4.x to reflect new thinking
  3457.        . rewrote 5.x to reflect new thinking
  3458.        . rewrote 6.x (the MIB) to reflect new thinking
  3459.        . added MIB objects at this level (previously only TCs)
  3460.        . rewrote 7.x
  3461.        . sent to v3edit list
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469. SNMPv3 Working Group       Expires March 1998                  [Page 62]
  3470.  
  3471.                             Table of Contents
  3472.  
  3473.  
  3474.  
  3475.  
  3476. 1. Introduction ...................................................    2
  3477.  
  3478. 1.1. Overview .....................................................    2
  3479.  
  3480. 1.2. SNMP .........................................................    2
  3481.  
  3482. 1.3. Goals of this Architecture ...................................    3
  3483.  
  3484. 1.4. Security Requirements of this Architecture ...................    4
  3485.  
  3486. 1.5. Design Decisions .............................................    5
  3487.  
  3488. 2. Documentation Overview .........................................    6
  3489.  
  3490. 2.1. Document Roadmap .............................................    8
  3491.  
  3492. 2.2. Applicability Statement ......................................    8
  3493.  
  3494. 2.3. Coexistence and Transition ...................................    8
  3495.  
  3496. 2.4. Transport Mappings ...........................................    8
  3497.  
  3498. 2.5. Message Processing ...........................................    9
  3499.  
  3500. 2.6. Security .....................................................    9
  3501.  
  3502. 2.7. Access Control ...............................................    9
  3503.  
  3504. 2.8. Protocol Operations ..........................................   10
  3505.  
  3506. 2.9. Applications .................................................   10
  3507.  
  3508. 2.10. Structure of Management Information .........................   10
  3509.  
  3510. 2.11. Textual Conventions .........................................   10
  3511.  
  3512. 2.12. Conformance Statements ......................................   11
  3513.  
  3514. 2.13. Management Information Base Modules .........................   11
  3515.  
  3516.  
  3517.  
  3518.  
  3519. SNMPv3 Working Group       Expires March 1998                   [Page 1]
  3520.  
  3521. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3522.  
  3523.  
  3524. 2.13.1. SNMP Instrumentation MIBs .................................   11
  3525.  
  3526. 2.14. SNMP Framework Documents ....................................   11
  3527.  
  3528. 3. Elements of the Architecture ...................................   12
  3529.  
  3530. 3.1. The Naming of Entities .......................................   12
  3531.  
  3532. 3.1.1. SNMP entity ................................................   13
  3533.  
  3534. 3.1.2. SNMP engine ................................................   13
  3535.  
  3536. 3.1.3. snmpEngineID ...............................................   14
  3537.  
  3538. 3.1.4. Dispatcher .................................................   14
  3539.  
  3540. 3.1.5. Message Processing Subsystem ...............................   15
  3541.  
  3542. 3.1.6. Message Processing Model ...................................   15
  3543.  
  3544. 3.1.7. Security Subsystem .........................................   16
  3545.  
  3546. 3.1.8. Security Model .............................................   16
  3547.  
  3548. 3.1.9. Security Protocol ..........................................   16
  3549.  
  3550. 3.1.10. Access Control Subsystem ..................................   17
  3551.  
  3552. 3.1.11. Access Control Model ......................................   17
  3553.  
  3554. 3.1.12. Applications ..............................................   17
  3555.  
  3556. 3.1.13. SNMP Manager ..............................................   18
  3557.  
  3558. 3.1.14. SNMP Agent ................................................   19
  3559.  
  3560. 3.2. The Naming of Identities .....................................   20
  3561.  
  3562. 3.2.1. Principal ..................................................   20
  3563.  
  3564. 3.2.2. securityName ...............................................   20
  3565.  
  3566. 3.2.3. Model-dependent security ID ................................   21
  3567.  
  3568. 3.3. The Naming of Management Information .........................   22
  3569.  
  3570. 3.3.1. An SNMP Context ............................................   23
  3571.  
  3572.  
  3573.  
  3574.  
  3575. SNMPv3 Working Group       Expires March 1998                   [Page 2]
  3576.  
  3577. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3578.  
  3579.  
  3580. 3.3.2. contextEngineID ............................................   23
  3581.  
  3582. 3.3.3. contextName ................................................   24
  3583.  
  3584. 3.3.4. scopedPDU ..................................................   24
  3585.  
  3586. 3.4. Other Constructs .............................................   24
  3587.  
  3588. 3.4.1. maxSizeResponseScopedPDU ...................................   24
  3589.  
  3590. 3.4.2. Local Configuration Datastore ..............................   24
  3591.  
  3592. 3.4.3. securityLevel ..............................................   24
  3593.  
  3594. 4. Abstract Service Interfaces.  ..................................   25
  3595.  
  3596. 4.1. Common Primitives ............................................   25
  3597.  
  3598. 4.1.1. Release State Reference Information ........................   25
  3599.  
  3600. 4.2. Dispatcher Primitives ........................................   25
  3601.  
  3602. 4.2.1. Generate Outgoing Request or Notification ..................   25
  3603.  
  3604. 4.2.2. Process Incoming Request or Notification PDU ...............   26
  3605.  
  3606. 4.2.3. Generate Outgoing Response .................................   27
  3607.  
  3608. 4.2.4. Process Incoming Response PDU ..............................   27
  3609.  
  3610. 4.2.5. Registering Responsibility for Handling SNMP PDUs.  ........   27
  3611.  
  3612. 4.3. Message Processing Subsystem Primitives ......................   28
  3613.  
  3614. 4.3.1. Prepare Outgoing SNMP Request or Notification Message ......   28
  3615.  
  3616. 4.3.2. Prepare an Outgoing SNMP Response Message ..................   29
  3617.  
  3618. 4.3.3. Prepare Data Elements from an Incoming SNMP Message ........   30
  3619.  
  3620. 4.4. Access Control Subsystem Primitives ..........................   30
  3621.  
  3622. 4.5. Security Subsystem Primitives ................................   31
  3623.  
  3624. 4.5.1. Generate a Request or Notification Message .................   31
  3625.  
  3626. 4.5.2. Process Incoming Message ...................................   31
  3627.  
  3628.  
  3629.  
  3630.  
  3631. SNMPv3 Working Group       Expires March 1998                   [Page 3]
  3632.  
  3633. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3634.  
  3635.  
  3636. 4.5.3. Generate a Response Message ................................   32
  3637.  
  3638. 4.6. Common Primitives ............................................   32
  3639.  
  3640. 4.6.1. Release State Reference Information ........................   32
  3641.  
  3642. 4.7. Scenario Diagrams ............................................   33
  3643.  
  3644. 4.7.1. Command Generator or Notification Originator ...............   33
  3645.  
  3646. 4.7.2. Scenario Diagram for a Command Responder Application .......   34
  3647.  
  3648. 5. Managed Object Definitions for SNMP Management Frameworks ......   35
  3649.  
  3650. 6. Security Considerations ........................................   44
  3651.  
  3652. 7. Editor's Addresses .............................................   45
  3653.  
  3654. 8. Acknowledgements ...............................................   45
  3655.  
  3656. 9. References .....................................................   47
  3657.  
  3658. A. Guidelines for Model Designers .................................   49
  3659.  
  3660. A.1. Security Model Design Requirements ...........................   49
  3661.  
  3662. A.1.1. Threats ....................................................   49
  3663.  
  3664. A.1.2. Security Processing ........................................   50
  3665.  
  3666. A.1.3. Validate the security-stamp in a received message ..........   50
  3667.  
  3668. A.1.4. Security MIBs ..............................................   51
  3669.  
  3670. A.1.5. Cached Security Data .......................................   51
  3671.  
  3672. A.2. Message Processing Model Design Requirements .................   51
  3673.  
  3674. A.2.1. Receiving an SNMP Message from the Network .................   52
  3675.  
  3676. A.2.2. Sending an SNMP Message to the Network .....................   52
  3677.  
  3678. A.3. Application Design Requirements ..............................   52
  3679.  
  3680. A.3.1. Applications that Initiate Messages ........................   53
  3681.  
  3682. A.3.2. Applications that Receive Responses ........................   53
  3683.  
  3684.  
  3685.  
  3686.  
  3687. SNMPv3 Working Group       Expires March 1998                   [Page 4]
  3688.  
  3689. Internet Draft      Architecture for SNMP Frameworks   30 September 1997
  3690.  
  3691.  
  3692. A.3.3. Applications that Receive Asynchronous Messages ............   53
  3693.  
  3694. A.3.4. Applications that Send Responses ...........................   54
  3695.  
  3696. A.4. Access Control Model Design Requirements .....................   54
  3697.  
  3698. B. Issues .........................................................   55
  3699.  
  3700. B.1. Showstoppers .................................................   55
  3701.  
  3702. B.2. Open Issues ..................................................   55
  3703.  
  3704. B.3. Resolved Issues ..............................................   55
  3705.  
  3706. B.3.1. Issues discussed at second Interim Meeting: ................   56
  3707.  
  3708. B.4. Change Log ...................................................   56
  3709.  
  3710.  
  3711.  
  3712.  
  3713.  
  3714.  
  3715.  
  3716.  
  3717.  
  3718.  
  3719.  
  3720.  
  3721.  
  3722.  
  3723.  
  3724.  
  3725.  
  3726.  
  3727.  
  3728.  
  3729.  
  3730.  
  3731.  
  3732.  
  3733.  
  3734.  
  3735.  
  3736.  
  3737.  
  3738.  
  3739.  
  3740.  
  3741.  
  3742.  
  3743. SNMPv3 Working Group       Expires March 1998                   [Page 5]
  3744.