Blame mibs/ietf/SNMP-USM-DH-OBJECTS-MIB

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