Blame mibs/SNMP-USM-DH-OBJECTS-MIB.txt

Packit fcad23
SNMP-USM-DH-OBJECTS-MIB DEFINITIONS ::= BEGIN
Packit fcad23
Packit fcad23
IMPORTS
Packit fcad23
    MODULE-IDENTITY, OBJECT-TYPE,
Packit fcad23
    -- OBJECT-IDENTITY,
Packit fcad23
    experimental, Integer32
Packit fcad23
        FROM SNMPv2-SMI
Packit fcad23
    TEXTUAL-CONVENTION
Packit fcad23
        FROM SNMPv2-TC
Packit fcad23
    MODULE-COMPLIANCE, OBJECT-GROUP
Packit fcad23
        FROM SNMPv2-CONF
Packit fcad23
    usmUserEntry
Packit fcad23
        FROM SNMP-USER-BASED-SM-MIB
Packit fcad23
    SnmpAdminString
Packit fcad23
        FROM SNMP-FRAMEWORK-MIB;
Packit fcad23
Packit fcad23
snmpUsmDHObjectsMIB MODULE-IDENTITY
Packit fcad23
    LAST-UPDATED "200003060000Z"  -- 6 March 2000, Midnight
Packit fcad23
    ORGANIZATION "Excite@Home"
Packit fcad23
    CONTACT-INFO "Author: Mike StJohns
Packit fcad23
                  Postal: Excite@Home
Packit fcad23
                          450 Broadway
Packit fcad23
                          Redwood City, CA 94063
Packit fcad23
                  Email:  stjohns@corp.home.net
Packit fcad23
                  Phone:  +1-650-556-5368"
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The management information definitions for providing forward
Packit fcad23
    secrecy for key changes for the usmUserTable, and for providing a
Packit fcad23
    method for 'kickstarting' access to the agent via a Diffie-Helman
Packit fcad23
    key agreement."
Packit fcad23
Packit fcad23
    REVISION     "200003060000Z"
Packit fcad23
    DESCRIPTION
Packit fcad23
       "Initial version published as RFC 2786."
Packit fcad23
    ::= { experimental 101 }  -- IANA DHKEY-CHANGE 101
Packit fcad23
Packit fcad23
-- Administrative assignments
Packit fcad23
Packit fcad23
usmDHKeyObjects OBJECT IDENTIFIER ::= { snmpUsmDHObjectsMIB 1 }
Packit fcad23
usmDHKeyConformance OBJECT IDENTIFIER ::= { snmpUsmDHObjectsMIB 2 }
Packit fcad23
Packit fcad23
-- Textual conventions
Packit fcad23
Packit fcad23
DHKeyChange ::=         TEXTUAL-CONVENTION
Packit fcad23
    STATUS              current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "Upon initialization, or upon creation of a row containing an
Packit fcad23
    object of this type, and after any successful SET of this value, a
Packit fcad23
    GET of this value returns 'y' where y = g^xa MOD p, and where g is
Packit fcad23
    the base from usmDHParameters, p is the prime from
Packit fcad23
    usmDHParameters, and xa is a new random integer selected by the
Packit fcad23
    agent in the interval 2^(l-1) <= xa < 2^l < p-1.  'l' is the
Packit fcad23
    optional privateValueLength from usmDHParameters in bits.  If 'l'
Packit fcad23
    is omitted, then xa (and xr below) is selected in the interval 0
Packit fcad23
    <= xa < p-1.  y is expressed as an OCTET STRING 'PV' of length 'k'
Packit fcad23
    which satisfies
Packit fcad23
Packit fcad23
              k
Packit fcad23
        y =  SUM   2^(8(k-i)) PV'i
Packit fcad23
             i=1
Packit fcad23
Packit fcad23
        where PV1,...,PVk are the octets of PV from first to last, and
Packit fcad23
        where PV1 <> 0.
Packit fcad23
Packit fcad23
    A successful SET consists of the value 'y' expressed as an OCTET
Packit fcad23
    STRING as above concatenated with the value 'z'(expressed as an
Packit fcad23
    OCTET STRING in the same manner as y) where z = g^xr MOD p, where
Packit fcad23
    g, p and l are as above, and where xr is a new random integer
Packit fcad23
    selected by the manager in the interval 2^(l-1) <= xr < 2^l <
Packit fcad23
    p-1. A SET to an object of this type will fail with the error
Packit fcad23
    wrongValue if the current 'y' does not match the 'y' portion of
Packit fcad23
    the value of the varbind for the object. (E.g. GET yout, SET
Packit fcad23
    concat(yin, z), yout <> yin).
Packit fcad23
Packit fcad23
    Note that the private values xa and xr are never transmitted from
Packit fcad23
    manager to device or vice versa, only the values y and z.
Packit fcad23
    Obviously, these values must be retained until a successful SET on
Packit fcad23
    the associated object.
Packit fcad23
Packit fcad23
    The shared secret 'sk' is calculated at the agent as sk = z^xa MOD
Packit fcad23
    p, and at the manager as sk = y^xr MOD p.
Packit fcad23
Packit fcad23
    Each object definition of this type MUST describe how to map from
Packit fcad23
    the shared secret 'sk' to the operational key value used by the
Packit fcad23
    protocols and operations related to the object.  In general, if n
Packit fcad23
    bits of key are required, the author suggests using the n
Packit fcad23
    right-most bits of the shared secret as the operational key value."
Packit fcad23
    REFERENCE
Packit fcad23
        "-- Diffie-Hellman Key-Agreement Standard, PKCS #3;
Packit fcad23
            RSA Laboratories, November 1993"
Packit fcad23
    SYNTAX              OCTET STRING
Packit fcad23
Packit fcad23
-- Diffie Hellman public values
Packit fcad23
Packit fcad23
usmDHPublicObjects      OBJECT IDENTIFIER ::= { usmDHKeyObjects 1 }
Packit fcad23
Packit fcad23
usmDHParameters OBJECT-TYPE
Packit fcad23
    SYNTAX  OCTET STRING
Packit fcad23
    MAX-ACCESS read-write
Packit fcad23
    STATUS  current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The public Diffie-Hellman parameters for doing a Diffie-Hellman
Packit fcad23
    key agreement for this device.  This is encoded as an ASN.1
Packit fcad23
    DHParameter per PKCS #3, section 9.  E.g.
Packit fcad23
Packit fcad23
        DHParameter ::= SEQUENCE {
Packit fcad23
           prime   INTEGER,   -- p
Packit fcad23
           base    INTEGER,   -- g
Packit fcad23
           privateValueLength  INTEGER OPTIONAL }
Packit fcad23
Packit fcad23
    Implementors are encouraged to use either the values from
Packit fcad23
    Oakley Group 1  or the values of from Oakley Group 2 as specified
Packit fcad23
    in RFC-2409, The Internet Key Exchange, Section 6.1, 6.2 as the
Packit fcad23
    default for this object.  Other values may be used, but the
Packit fcad23
    security properties of those values MUST be well understood and
Packit fcad23
    MUST meet the requirements of PKCS #3 for the selection of
Packit fcad23
    Diffie-Hellman primes.
Packit fcad23
Packit fcad23
        In addition, any time usmDHParameters changes, all values of
Packit fcad23
    type DHKeyChange will change and new random numbers MUST be
Packit fcad23
    generated by the agent for each DHKeyChange object."
Packit fcad23
    REFERENCE
Packit fcad23
        "-- Diffie-Hellman Key-Agreement Standard, PKCS #3,
Packit fcad23
            RSA Laboratories, November 1993
Packit fcad23
         -- The Internet Key Exchange, RFC 2409, November 1998,
Packit fcad23
            Sec 6.1, 6.2"
Packit fcad23
    ::= { usmDHPublicObjects 1 }
Packit fcad23
Packit fcad23
usmDHUserKeyTable OBJECT-TYPE
Packit fcad23
    SYNTAX  SEQUENCE OF UsmDHUserKeyEntry
Packit fcad23
    MAX-ACCESS not-accessible
Packit fcad23
    STATUS  current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "This table augments and extends the usmUserTable and provides
Packit fcad23
    4 objects which exactly mirror the objects in that table with the
Packit fcad23
    textual convention of 'KeyChange'.  This extension allows key
Packit fcad23
    changes to be done in a manner where the knowledge of the current
Packit fcad23
    secret plus knowledge of the key change data exchanges (e.g. via
Packit fcad23
    wiretapping)  will not reveal the new key."
Packit fcad23
    ::= { usmDHPublicObjects 2 }
Packit fcad23
Packit fcad23
usmDHUserKeyEntry OBJECT-TYPE
Packit fcad23
    SYNTAX  UsmDHUserKeyEntry
Packit fcad23
    MAX-ACCESS not-accessible
Packit fcad23
    STATUS  current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "A row of DHKeyChange objects which augment or replace the
Packit fcad23
    functionality of the KeyChange objects in the base table row."
Packit fcad23
    AUGMENTS { usmUserEntry }
Packit fcad23
    ::= {usmDHUserKeyTable 1 }
Packit fcad23
Packit fcad23
UsmDHUserKeyEntry ::= SEQUENCE {
Packit fcad23
        usmDHUserAuthKeyChange          DHKeyChange,
Packit fcad23
    usmDHUserOwnAuthKeyChange   DHKeyChange,
Packit fcad23
        usmDHUserPrivKeyChange          DHKeyChange,
Packit fcad23
        usmDHUserOwnPrivKeyChange       DHKeyChange
Packit fcad23
        }
Packit fcad23
Packit fcad23
usmDHUserAuthKeyChange OBJECT-TYPE
Packit fcad23
    SYNTAX  DHKeyChange
Packit fcad23
    MAX-ACCESS read-create
Packit fcad23
    STATUS  current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The object used to change any given user's Authentication Key
Packit fcad23
    using a Diffie-Hellman key exchange.
Packit fcad23
Packit fcad23
    The right-most n bits of the shared secret 'sk', where 'n' is the
Packit fcad23
    number of bits required for the protocol defined by
Packit fcad23
    usmUserAuthProtocol, are installed as the operational
Packit fcad23
    authentication key for this row after a successful SET."
Packit fcad23
    ::= { usmDHUserKeyEntry 1 }
Packit fcad23
Packit fcad23
usmDHUserOwnAuthKeyChange OBJECT-TYPE
Packit fcad23
    SYNTAX  DHKeyChange
Packit fcad23
    MAX-ACCESS read-create
Packit fcad23
    STATUS  current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The object used to change the agents own Authentication Key
Packit fcad23
    using a Diffie-Hellman key exchange.
Packit fcad23
Packit fcad23
    The right-most n bits of the shared secret 'sk', where 'n' is the
Packit fcad23
    number of bits required for the protocol defined by
Packit fcad23
    usmUserAuthProtocol, are installed as the operational
Packit fcad23
    authentication key for this row after a successful SET."
Packit fcad23
    ::= { usmDHUserKeyEntry 2 }
Packit fcad23
Packit fcad23
usmDHUserPrivKeyChange OBJECT-TYPE
Packit fcad23
    SYNTAX  DHKeyChange
Packit fcad23
    MAX-ACCESS read-create
Packit fcad23
    STATUS  current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The object used to change any given user's Privacy Key using
Packit fcad23
    a Diffie-Hellman key exchange.
Packit fcad23
Packit fcad23
    The right-most n bits of the shared secret 'sk', where 'n' is the
Packit fcad23
    number of bits required for the protocol defined by
Packit fcad23
    usmUserPrivProtocol, are installed as the operational privacy key
Packit fcad23
    for this row after a successful SET."
Packit fcad23
    ::= { usmDHUserKeyEntry 3 }
Packit fcad23
Packit fcad23
usmDHUserOwnPrivKeyChange OBJECT-TYPE
Packit fcad23
    SYNTAX  DHKeyChange
Packit fcad23
    MAX-ACCESS read-create
Packit fcad23
    STATUS  current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The object used to change the agent's own Privacy Key using a
Packit fcad23
    Diffie-Hellman key exchange.
Packit fcad23
Packit fcad23
    The right-most n bits of the shared secret 'sk', where 'n' is the
Packit fcad23
    number of bits required for the protocol defined by
Packit fcad23
    usmUserPrivProtocol, are installed as the operational privacy key
Packit fcad23
    for this row after a successful SET."
Packit fcad23
    ::= { usmDHUserKeyEntry 4 }
Packit fcad23
Packit fcad23
usmDHKickstartGroup OBJECT IDENTIFIER ::= { usmDHKeyObjects 2 }
Packit fcad23
Packit fcad23
usmDHKickstartTable OBJECT-TYPE
Packit fcad23
    SYNTAX      SEQUENCE OF UsmDHKickstartEntry
Packit fcad23
    MAX-ACCESS  not-accessible
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "A table of mappings between zero or more Diffie-Helman key
Packit fcad23
    agreement values and entries in the usmUserTable.  Entries in this
Packit fcad23
    table are created by providing the associated device with a
Packit fcad23
    Diffie-Helman public value and a usmUserName/usmUserSecurityName
Packit fcad23
    pair during initialization. How these values are provided is
Packit fcad23
    outside the scope of this MIB, but could be provided manually, or
Packit fcad23
    through a configuration file.  Valid public value/name pairs
Packit fcad23
    result in the creation of a row in this table as well as the
Packit fcad23
    creation of an associated row (with keys derived as indicated) in
Packit fcad23
    the usmUserTable.  The actual access the related usmSecurityName
Packit fcad23
    has is dependent on the entries in the VACM tables.  In general,
Packit fcad23
    an implementor will specify one or more standard security names
Packit fcad23
    and will provide entries in the VACM tables granting various
Packit fcad23
    levels of access to those names.  The actual content of the VACM
Packit fcad23
Packit fcad23
    table is beyond the scope of this MIB.
Packit fcad23
Packit fcad23
    Note: This table is expected to be readable without authentication
Packit fcad23
    using the usmUserSecurityName 'dhKickstart'.  See the conformance
Packit fcad23
    statements for details."
Packit fcad23
    ::= { usmDHKickstartGroup 1 }
Packit fcad23
Packit fcad23
usmDHKickstartEntry OBJECT-TYPE
Packit fcad23
    SYNTAX      UsmDHKickstartEntry
Packit fcad23
    MAX-ACCESS  not-accessible
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "An entry in the usmDHKickstartTable.  The agent SHOULD either
Packit fcad23
    delete this entry or mark it as inactive upon a successful SET of
Packit fcad23
    any of the KeyChange-typed objects in the usmUserEntry or upon a
Packit fcad23
    successful SET of any of the DHKeyChange-typed objects in the
Packit fcad23
    usmDhKeyChangeEntry where the related usmSecurityName (e.g. row of
Packit fcad23
    usmUserTable or row of ushDhKeyChangeTable) equals this entry's
Packit fcad23
    usmDhKickstartSecurityName.  In otherwords, once you've changed
Packit fcad23
    one or more of the keys for a row in usmUserTable with a
Packit fcad23
    particular security name, the row in this table with that same
Packit fcad23
    security name is no longer useful or meaningful."
Packit fcad23
    INDEX   { usmDHKickstartIndex }
Packit fcad23
    ::= {usmDHKickstartTable 1 }
Packit fcad23
Packit fcad23
UsmDHKickstartEntry ::= SEQUENCE  {
Packit fcad23
        usmDHKickstartIndex     Integer32,
Packit fcad23
        usmDHKickstartMyPublic  OCTET STRING,
Packit fcad23
        usmDHKickstartMgrPublic OCTET STRING,
Packit fcad23
        usmDHKickstartSecurityName      SnmpAdminString
Packit fcad23
        }
Packit fcad23
Packit fcad23
usmDHKickstartIndex OBJECT-TYPE
Packit fcad23
    SYNTAX      Integer32  (1..2147483647)
Packit fcad23
    MAX-ACCESS  not-accessible
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "Index value for this row."
Packit fcad23
    ::= { usmDHKickstartEntry 1 }
Packit fcad23
Packit fcad23
usmDHKickstartMyPublic OBJECT-TYPE
Packit fcad23
    SYNTAX      OCTET STRING
Packit fcad23
    MAX-ACCESS  read-only
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The agent's Diffie-Hellman public value for this row.  At
Packit fcad23
Packit fcad23
    initialization, the agent generates a random number and derives
Packit fcad23
    its public value from that number.  This public value is published
Packit fcad23
    here.  This public value 'y' equals g^r MOD p where g is the from
Packit fcad23
    the set of Diffie-Hellman parameters, p is the prime from those
Packit fcad23
    parameters, and r is a random integer selected by the agent in the
Packit fcad23
    interval 2^(l-1) <= r < p-1 < 2^l.  If l is unspecified, then r is
Packit fcad23
    a random integer selected in the interval 0 <= r < p-1
Packit fcad23
Packit fcad23
    The public value is expressed as an OCTET STRING 'PV' of length
Packit fcad23
    'k' which satisfies
Packit fcad23
Packit fcad23
              k
Packit fcad23
        y =  SUM   2^(8(k-i)) PV'i
Packit fcad23
             i = 1
Packit fcad23
Packit fcad23
        where PV1,...,PVk are the octets of PV from first to last, and
Packit fcad23
        where PV1 != 0.
Packit fcad23
Packit fcad23
    The following DH parameters (Oakley group #2, RFC 2409, sec 6.1,
Packit fcad23
    6.2) are used for this object:
Packit fcad23
Packit fcad23
    g = 2
Packit fcad23
    p = FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
Packit fcad23
        29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
Packit fcad23
        EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
Packit fcad23
        E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED
Packit fcad23
        EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381
Packit fcad23
        FFFFFFFF FFFFFFFF
Packit fcad23
    l=1024
Packit fcad23
    "
Packit fcad23
    REFERENCE
Packit fcad23
        "-- Diffie-Hellman Key-Agreement Standard, PKCS#3v1.4;
Packit fcad23
            RSA Laboratories, November 1993
Packit fcad23
         -- The Internet Key Exchange, RFC2409;
Packit fcad23
            Harkins, D., Carrel, D.; November 1998"
Packit fcad23
    ::= { usmDHKickstartEntry 2 }
Packit fcad23
Packit fcad23
usmDHKickstartMgrPublic OBJECT-TYPE
Packit fcad23
    SYNTAX      OCTET STRING
Packit fcad23
    MAX-ACCESS  read-only
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The manager's Diffie-Hellman public value for this row.  Note
Packit fcad23
    that this value is not set via the SNMP agent, but may be set via
Packit fcad23
    some out of band method, such as the device's configuration file.
Packit fcad23
Packit fcad23
    The manager calculates this value in the same manner and using the
Packit fcad23
    same parameter set as the agent does.  E.g. it selects a random
Packit fcad23
    number 'r', calculates y = g^r mod p and provides 'y' as the
Packit fcad23
    public number expressed as an OCTET STRING.  See
Packit fcad23
    usmDHKickstartMyPublic for details.
Packit fcad23
Packit fcad23
    When this object is set with a valid value during initialization,
Packit fcad23
    a row is created in the usmUserTable with the following values:
Packit fcad23
Packit fcad23
    usmUserEngineID             localEngineID
Packit fcad23
    usmUserName                 [value of usmDHKickstartSecurityName]
Packit fcad23
    usmUserSecurityName         [value of usmDHKickstartSecurityName]
Packit fcad23
    usmUserCloneFrom            ZeroDotZero
Packit fcad23
    usmUserAuthProtocol         usmHMACMD5AuthProtocol
Packit fcad23
    usmUserAuthKeyChange        -- derived from set value
Packit fcad23
    usmUserOwnAuthKeyChange     -- derived from set value
Packit fcad23
    usmUserPrivProtocol         usmDESPrivProtocol
Packit fcad23
    usmUserPrivKeyChange        -- derived from set value
Packit fcad23
    usmUserOwnPrivKeyChange     -- derived from set value
Packit fcad23
    usmUserPublic               ''
Packit fcad23
    usmUserStorageType          permanent
Packit fcad23
    usmUserStatus               active
Packit fcad23
Packit fcad23
    A shared secret 'sk' is calculated at the agent as sk =
Packit fcad23
    mgrPublic^r mod p where r is the agents random number and p is the
Packit fcad23
    DH prime from the common parameters.  The underlying privacy key
Packit fcad23
    for this row is derived from sk by applying the key derivation
Packit fcad23
    function PBKDF2 defined in PKCS#5v2.0 with a salt of 0xd1310ba6,
Packit fcad23
    and iterationCount of 500, a keyLength of 16 (for
Packit fcad23
    usmDESPrivProtocol), and a prf (pseudo random function) of
Packit fcad23
    'id-hmacWithSHA1'.  The underlying authentication key for this row
Packit fcad23
    is derived from sk by applying the key derivation function PBKDF2
Packit fcad23
    with a salt of 0x98dfb5ac , an interation count of 500, a
Packit fcad23
    keyLength of 16 (for usmHMAC5AuthProtocol), and a prf of
Packit fcad23
    'id-hmacWithSHA1'.  Note: The salts are the first two words in the
Packit fcad23
    ks0 [key schedule 0] of the BLOWFISH cipher from 'Applied
Packit fcad23
    Cryptography' by Bruce Schnier - they could be any relatively
Packit fcad23
    random string of bits.
Packit fcad23
Packit fcad23
    The manager can use its knowledge of its own random number and the
Packit fcad23
    agent's public value to kickstart its access to the agent in a
Packit fcad23
    secure manner.  Note that the security of this approach is
Packit fcad23
    directly related to the strength of the authorization security of
Packit fcad23
    the out of band provisioning of the managers public value
Packit fcad23
    (e.g. the configuration file), but is not dependent at all on the
Packit fcad23
    strength of the confidentiality of the out of band provisioning
Packit fcad23
    data."
Packit fcad23
    REFERENCE
Packit fcad23
        "-- Password-Based Cryptography Standard, PKCS#5v2.0;
Packit fcad23
            RSA Laboratories, March 1999
Packit fcad23
         -- Applied Cryptography, 2nd Ed.; B. Schneier,
Packit fcad23
            Counterpane Systems; John Wiley & Sons, 1996"
Packit fcad23
    ::= { usmDHKickstartEntry 3 }
Packit fcad23
Packit fcad23
usmDHKickstartSecurityName OBJECT-TYPE
Packit fcad23
    SYNTAX      SnmpAdminString
Packit fcad23
    MAX-ACCESS  read-only
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The usmUserName and usmUserSecurityName in the usmUserTable
Packit fcad23
    associated with this row.  This is provided in the same manner and
Packit fcad23
    at the same time as the usmDHKickstartMgrPublic value -
Packit fcad23
    e.g. possibly manually, or via the device's configuration file."
Packit fcad23
    ::= { usmDHKickstartEntry 4 }
Packit fcad23
Packit fcad23
-- Conformance Information
Packit fcad23
Packit fcad23
usmDHKeyMIBCompliances  OBJECT IDENTIFIER ::= { usmDHKeyConformance 1 }
Packit fcad23
usmDHKeyMIBGroups       OBJECT IDENTIFIER ::= { usmDHKeyConformance 2 }
Packit fcad23
Packit fcad23
-- Compliance statements
Packit fcad23
Packit fcad23
usmDHKeyMIBCompliance   MODULE-COMPLIANCE
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The compliance statement for this module."
Packit fcad23
    MODULE
Packit fcad23
        GROUP usmDHKeyMIBBasicGroup
Packit fcad23
        DESCRIPTION
Packit fcad23
        "This group MAY be implemented by any agent which
Packit fcad23
        implements the usmUserTable and which wishes to provide the
Packit fcad23
        ability to change user and agent authentication and privacy
Packit fcad23
        keys via Diffie-Hellman key exchanges."
Packit fcad23
Packit fcad23
        GROUP usmDHKeyParamGroup
Packit fcad23
        DESCRIPTION
Packit fcad23
            "This group MUST be implemented by any agent which
Packit fcad23
        implements a MIB containing the DHKeyChange Textual
Packit fcad23
        Convention defined in this module."
Packit fcad23
Packit fcad23
        GROUP usmDHKeyKickstartGroup
Packit fcad23
        DESCRIPTION
Packit fcad23
            "This group MAY be implemented by any agent which
Packit fcad23
        implements the usmUserTable and which wishes the ability to
Packit fcad23
        populate the USM table based on out-of-band provided DH
Packit fcad23
        ignition values.
Packit fcad23
Packit fcad23
             Any agent implementing this group is expected to provide
Packit fcad23
        preinstalled entries in the vacm tables as follows:
Packit fcad23
Packit fcad23
             In the usmUserTable: This entry allows access to the
Packit fcad23
        system and dhKickstart groups
Packit fcad23
Packit fcad23
        usmUserEngineID         localEngineID
Packit fcad23
        usmUserName             'dhKickstart'
Packit fcad23
        usmUserSecurityName     'dhKickstart'
Packit fcad23
        usmUserCloneFrom        ZeroDotZero
Packit fcad23
        usmUserAuthProtocol     none
Packit fcad23
        usmUserAuthKeyChange    ''
Packit fcad23
        usmUserOwnAuthKeyChange ''
Packit fcad23
        usmUserPrivProtocol     none
Packit fcad23
        usmUserPrivKeyChange    ''
Packit fcad23
        usmUserOwnPrivKeyChange ''
Packit fcad23
        usmUserPublic           ''
Packit fcad23
        usmUserStorageType      permanent
Packit fcad23
        usmUserStatus           active
Packit fcad23
Packit fcad23
            In the vacmSecurityToGroupTable: This maps the initial
Packit fcad23
        user into the accessible objects.
Packit fcad23
Packit fcad23
        vacmSecurityModel               3 (USM)
Packit fcad23
        vacmSecurityName                'dhKickstart'
Packit fcad23
        vacmGroupName                   'dhKickstart'
Packit fcad23
        vacmSecurityToGroupStorageType  permanent
Packit fcad23
        vacmSecurityToGroupStatus       active
Packit fcad23
Packit fcad23
            In the vacmAccessTable: Group name to view name translation.
Packit fcad23
Packit fcad23
        vacmGroupName                   'dhKickstart'
Packit fcad23
    vacmAccessContextPrefix             ''
Packit fcad23
        vacmAccessSecurityModel         3 (USM)
Packit fcad23
        vacmAccessSecurityLevel         noAuthNoPriv
Packit fcad23
        vacmAccessContextMatch          exact
Packit fcad23
        vacmAccessReadViewName          'dhKickRestricted'
Packit fcad23
        vacmAccessWriteViewName         ''
Packit fcad23
        vacmAccessNotifyViewName        'dhKickRestricted'
Packit fcad23
        vacmAccessStorageType           permanent
Packit fcad23
        vacmAccessStatus                active
Packit fcad23
Packit fcad23
            In the vacmViewTreeFamilyTable: Two entries to allow the
Packit fcad23
        initial entry to access the system and kickstart groups.
Packit fcad23
Packit fcad23
        vacmViewTreeFamilyViewName      'dhKickRestricted'
Packit fcad23
        vacmViewTreeFamilySubtree       1.3.6.1.2.1.1  (system)
Packit fcad23
        vacmViewTreeFamilyMask          ''
Packit fcad23
Packit fcad23
        vacmViewTreeFamilyType          1
Packit fcad23
        vacmViewTreeFamilyStorageType   permanent
Packit fcad23
        vacmViewTreeFamilyStatus        active
Packit fcad23
Packit fcad23
        vacmViewTreeFamilyViewName      'dhKickRestricted'
Packit fcad23
        vacmViewTreeFamilySubtree         (usmDHKickstartTable OID)
Packit fcad23
        vacmViewTreeFamilyMask          ''
Packit fcad23
        vacmViewTreeFamilyType          1
Packit fcad23
        vacmViewTreeFamilyStorageType   permanent
Packit fcad23
        vacmViewTreeFamilyStatus        active
Packit fcad23
        "
Packit fcad23
Packit fcad23
        OBJECT usmDHParameters
Packit fcad23
        MIN-ACCESS      read-only
Packit fcad23
        DESCRIPTION
Packit fcad23
            "It is compliant to implement this object as read-only for
Packit fcad23
        any device."
Packit fcad23
    ::= { usmDHKeyMIBCompliances 1 }
Packit fcad23
Packit fcad23
-- Units of Compliance
Packit fcad23
Packit fcad23
usmDHKeyMIBBasicGroup OBJECT-GROUP
Packit fcad23
    OBJECTS     {
Packit fcad23
                  usmDHUserAuthKeyChange,
Packit fcad23
                  usmDHUserOwnAuthKeyChange,
Packit fcad23
                  usmDHUserPrivKeyChange,
Packit fcad23
                  usmDHUserOwnPrivKeyChange
Packit fcad23
                }
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION
Packit fcad23
        ""
Packit fcad23
    ::= { usmDHKeyMIBGroups 1 }
Packit fcad23
Packit fcad23
usmDHKeyParamGroup OBJECT-GROUP
Packit fcad23
    OBJECTS     {
Packit fcad23
                  usmDHParameters
Packit fcad23
                }
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The mandatory object for all MIBs which use the DHKeyChange
Packit fcad23
    textual convention."
Packit fcad23
    ::= { usmDHKeyMIBGroups 2 }
Packit fcad23
Packit fcad23
usmDHKeyKickstartGroup OBJECT-GROUP
Packit fcad23
    OBJECTS     {
Packit fcad23
                  usmDHKickstartMyPublic,
Packit fcad23
                  usmDHKickstartMgrPublic,
Packit fcad23
                  usmDHKickstartSecurityName
Packit fcad23
                }
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION
Packit fcad23
        "The objects used for kickstarting one or more SNMPv3 USM
Packit fcad23
    associations via a configuration file or other out of band,
Packit fcad23
    non-confidential access."
Packit fcad23
    ::= { usmDHKeyMIBGroups 3 }
Packit fcad23
Packit fcad23
END