From owner-ipcdn@terayon.com  Thu Apr  1 19:21:34 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA06404
	for <ipcdn-archive@odin.ietf.org>; Thu, 1 Apr 1999 19:21:33 -0500 (EST)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id QAA20371;
	Thu, 1 Apr 1999 16:14:41 -0800 (PST)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 2 Apr 1999 00:09:14 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id QAA12617
	for ipcdn-outgoing; Thu, 1 Apr 1999 16:12:01 -0800 (PST)
Message-Id: <199904020014.QAA03391@lock.eos.home.net>
X-Mailer: exmh version 2.0delta 6/3/97
To: ipcdn@terayon.com
Subject: Strawman for initialization of snmpv3 agents in cable modems.
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 01 Apr 1999 16:14:41 -0800
From: "Mike St. Johns" <stjohns@corp.home.net>
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com


I've attached a rough draft of a set of MIB objects and procedures to permit 
an operator take control of a DOCSIS modem in a relatively secure manner via 
SNMPv3.  The basic mechanism is a Diffie-Hellman key exchange.  The manager 
provides its public value to the modem via the configuration file.  The 
manager reads the public value of the modem via snmpv3 using a standard 
default usmUser which has access only to these values (and the standard 
'system' group).

Via the DH exchange, the manager and the cable modem can agree on a common 
shared secret which is used to popluate the key values for another standard 
usmUser who has access to the usmUserTable to create and delete additional 
users.  The manager can then populate that table as necessary.

Comments? 

Thanks - Mike

docsDevKickstartMyPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
	"The agent's Diffie-Hellman public value.  At initialization,
    the agent generates a random number and derives its public value
    from that number.  This public value is published here[ and may be
    included in the DHCP request].  This public value 'y'  equals g^r
    MOD p where g is the from the set of Diffie-Hellman parameters, p
    is the prime from those parameters, and r is a random integer
    selected by the agent in the interval 2^(l-1) <= r < p-1. 

    The public value is expressed as an OCTET STRING 'PV' of length
    'k' which satisfies

              k
        y =  SUM   2^(8(k-i)) PV'i
             i = 1

	where PV1,...,PVk are the octets of PV from first to last, and
        where PV1 != 0.


    The following DH parameters (Oakley group #2, RFC 2409, sec 6.1,
    6.2) are used for this object:
    
    g = 2
    p = FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
        29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
        EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
        E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED
	EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381
        FFFFFFFF FFFFFFFF
    l = 
    "
    ::= { docsDevV3KickstartGroup 1 }

docsDevKickstartMgrPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
	"The manager's Diffie-Hellman public value.  Note that this
    value is may not be set via the SNMP network agent, but may be set
    via the Cable Modem configuration file or via a DHCP response.

    The manager calculates this value in the same manner and using the
    same parameter set as the agent does.  E.g. it selects a random
    number, calculates y = g^r mod p and sends 'y' as the public
    number expressed as an OCTET STRING.  See docsDevKickstartMyPublic
    for details.

    When this object is set with a valid value during initialization,
    a row is created in the usmUserTable with the following values:

    usmUserEngineID		localEngineID
    usmUserName			"docsisProv"
    usmUserSecurityName		"docsisProv"
    usmUserCloneFrom		ZeroDotZero
    usmUserAuthProtocol		usmHMACMD5AuthProtocol
    usmUserAuthKeyChange	""
    usmUserOwnAuthKeyChange	""
    usmUserPrivProtocol		usmDESPrivProtocol
    usmUserPrivKeyChange	""
    usmUserOwnPrivKeyChange	""
    usmUserPublic		""
    usmUserStorageType		permanent
    usmUserStatus		active

    A shared secret 'sk' is calculated at the agent as sk =
    mgrPublic^r mod p where r is the agents random number and p is the
    DH prime from the common parameters.  The underlying privacy key
    for this row is derived from sk by....  The underlying
    authentication key for this row is derived from sk by.....

    The manager can use its knowledge of its own random number and the
    public value published by the agent to kickstart its access to the
    agent in a secure manner.  Note that the security of this approach
    is directly related to the strength of the authorization security
    of the out of band provisioning of the managers public value
    (e.g. the configuration file)."
    ::= { docsDevV3KickstartGroup 2 }


    
The following entries are included in a DOCSIS SNMPv3 compliant modem.

This entry allows access to the system and docsDevV3Kickstart groups

usmUserEngineID		localEngineID
usmUserName		"docsisInit"
usmUserSecurityName	"docsisInit"
usmUserCloneFrom	ZeroDotZero
usmUserAuthProtocol	none
usmUserAuthKeyChange	""
usmUserOwnAuthKeyChange	""
usmUserPrivProtocol	none
usmUserPrivKeyChange	""
usmUserOwnPrivKeyChange	""
usmUserPublic		""
usmUserStorageType	permanent
usmUserStatus		active


This is the entry created when the modem is correctly provisioned via
the config file manager public value entry as above.  Note that this
username  gives at LEAST full access to the usmUser table for the
creation of additional entities.

usmUserEngineID		localEngineID
usmUserName		"docsisProv"
usmUserSecurityName	"docsisProv"
usmUserCloneFrom	ZeroDotZero
usmUserAuthProtocol	usmHMACMD5AuthProtocol
usmUserAuthKeyChange	""
usmUserOwnAuthKeyChange	""
usmUserPrivProtocol	usmDESPrivProtocol
usmUserPrivKeyChange	""
usmUserOwnPrivKeyChange	""
usmUserPublic		""
usmUserStorageType	permanent
usmUserStatus		active

    
This maps the initial user into the accessible objects

vacmSecurityModel		3 (USM)
vacmSecurityName		"docsisInit"
vacmGroupName			"docsisInit"
vacmSecurityToGroupStorageType	permanent
vacmSecurityToGroupStatus	active



Group name to view name translation.

vacmGroupName			"docsisInit"
vacmAccessContextPrefix		""
vacmAccessSecurityModel		3 (USM)
vacmAccessSecurityLevel		noAuthNoPriv
vacmAccessContextMatch		exact
vacmAccessReadViewName		"docsisInitRestricted"
vacmAccessWriteViewName		""
vacmAccessNotifyViewName	"docsisInitRestricted"
vacmAccessStorageType		permanent
vacmAccessStatus		active


Two entries to allow the initial entry to access the system and
kickstart groups.

vacmViewTreeFamilyViewName	"docsisInitRestricted"
vacmViewTreeFamilySubtree	1.3.6.1.2.1.1  (system)
vacmViewTreeFamilyMask		""
vacmViewTreeFamilyType		1
vacmViewTreeFamilyStorageType	permanent
vacmViewTreeFamilyStatus	active

vacmViewTreeFamilyViewName	"docsisInitRestricted"
vacmViewTreeFamilySubtree	  (docsDevV3KickstartGroup)
vacmViewTreeFamilyMask		""
vacmViewTreeFamilyType		1
vacmViewTreeFamilyStorageType	permanent
vacmViewTreeFamilyStatus	active










From owner-ipcdn@terayon.com  Mon Apr  5 11:22:06 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08028
	for <ipcdn-archive@odin.ietf.org>; Mon, 5 Apr 1999 11:22:05 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id IAA08369;
	Mon, 5 Apr 1999 08:05:58 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 5 Apr 1999 15:00:18 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id IAA06031
	for ipcdn-outgoing; Mon, 5 Apr 1999 08:02:29 -0700 (PDT)
Message-ID: <4FA371B64BDAD2119CF40008C7D9ADB31F95AA@indyexch5.indy.tce.com>
From: Yost William <YostW@tce.com>
To: "'ipcdn@terayon.com'" <ipcdn@terayon.com>
Subject: RE: Strawman for initialization of snmpv3 agents in cable modems.
Date: Mon, 5 Apr 1999 10:05:06 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com

I suggest that docsDevKickstartMgrPublic be settable by SNMP only via SNMP
MIB objects in the config file.  You do not have to define a new config file
object type that way.  The agent can tell whether an SNMP command comes from
the config file or not.

Also, the modem should operate in SNMP V2 mode after processing the config
file if docsDevKickstartMgrPublic was not set by the config file.  Otherwise
it should operate in SNMP V3 mode.

-------------------- William H. Yost, Thomson Consumer Electronics (317)
587-4816 $yostw$@tce.com --------------------------
(Remove $ signs from Email address to reply)


-----Original Message-----
From: Mike St. Johns [mailto:stjohns@corp.home.net]
Sent: Thursday, April 01, 1999 7:15 PM
To: ipcdn@terayon.com
Subject: Strawman for initialization of snmpv3 agents in cable modems.



I've attached a rough draft of a set of MIB objects and procedures to permit

an operator take control of a DOCSIS modem in a relatively secure manner via

SNMPv3.  The basic mechanism is a Diffie-Hellman key exchange.  The manager 
provides its public value to the modem via the configuration file.  The 
manager reads the public value of the modem via snmpv3 using a standard 
default usmUser which has access only to these values (and the standard 
'system' group).

Via the DH exchange, the manager and the cable modem can agree on a common 
shared secret which is used to popluate the key values for another standard 
usmUser who has access to the usmUserTable to create and delete additional 
users.  The manager can then populate that table as necessary.

Comments? 

Thanks - Mike

docsDevKickstartMyPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
	"The agent's Diffie-Hellman public value.  At initialization,
    the agent generates a random number and derives its public value
    from that number.  This public value is published here[ and may be
    included in the DHCP request].  This public value 'y'  equals g^r
    MOD p where g is the from the set of Diffie-Hellman parameters, p
    is the prime from those parameters, and r is a random integer
    selected by the agent in the interval 2^(l-1) <= r < p-1. 

    The public value is expressed as an OCTET STRING 'PV' of length
    'k' which satisfies

              k
        y =  SUM   2^(8(k-i)) PV'i
             i = 1

	where PV1,...,PVk are the octets of PV from first to last, and
        where PV1 != 0.


    The following DH parameters (Oakley group #2, RFC 2409, sec 6.1,
    6.2) are used for this object:
    
    g = 2
    p = FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
        29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
        EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
        E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED
	EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381
        FFFFFFFF FFFFFFFF
    l = 
    "
    ::= { docsDevV3KickstartGroup 1 }

docsDevKickstartMgrPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
	"The manager's Diffie-Hellman public value.  Note that this
    value is may not be set via the SNMP network agent, but may be set
    via the Cable Modem configuration file or via a DHCP response.

    The manager calculates this value in the same manner and using the
    same parameter set as the agent does.  E.g. it selects a random
    number, calculates y = g^r mod p and sends 'y' as the public
    number expressed as an OCTET STRING.  See docsDevKickstartMyPublic
    for details.

    When this object is set with a valid value during initialization,
    a row is created in the usmUserTable with the following values:

    usmUserEngineID		localEngineID
    usmUserName			"docsisProv"
    usmUserSecurityName		"docsisProv"
    usmUserCloneFrom		ZeroDotZero
    usmUserAuthProtocol		usmHMACMD5AuthProtocol
    usmUserAuthKeyChange	""
    usmUserOwnAuthKeyChange	""
    usmUserPrivProtocol		usmDESPrivProtocol
    usmUserPrivKeyChange	""
    usmUserOwnPrivKeyChange	""
    usmUserPublic		""
    usmUserStorageType		permanent
    usmUserStatus		active

    A shared secret 'sk' is calculated at the agent as sk =
    mgrPublic^r mod p where r is the agents random number and p is the
    DH prime from the common parameters.  The underlying privacy key
    for this row is derived from sk by....  The underlying
    authentication key for this row is derived from sk by.....

    The manager can use its knowledge of its own random number and the
    public value published by the agent to kickstart its access to the
    agent in a secure manner.  Note that the security of this approach
    is directly related to the strength of the authorization security
    of the out of band provisioning of the managers public value
    (e.g. the configuration file)."
    ::= { docsDevV3KickstartGroup 2 }


    
The following entries are included in a DOCSIS SNMPv3 compliant modem.

This entry allows access to the system and docsDevV3Kickstart groups

usmUserEngineID		localEngineID
usmUserName		"docsisInit"
usmUserSecurityName	"docsisInit"
usmUserCloneFrom	ZeroDotZero
usmUserAuthProtocol	none
usmUserAuthKeyChange	""
usmUserOwnAuthKeyChange	""
usmUserPrivProtocol	none
usmUserPrivKeyChange	""
usmUserOwnPrivKeyChange	""
usmUserPublic		""
usmUserStorageType	permanent
usmUserStatus		active


This is the entry created when the modem is correctly provisioned via
the config file manager public value entry as above.  Note that this
username  gives at LEAST full access to the usmUser table for the
creation of additional entities.

usmUserEngineID		localEngineID
usmUserName		"docsisProv"
usmUserSecurityName	"docsisProv"
usmUserCloneFrom	ZeroDotZero
usmUserAuthProtocol	usmHMACMD5AuthProtocol
usmUserAuthKeyChange	""
usmUserOwnAuthKeyChange	""
usmUserPrivProtocol	usmDESPrivProtocol
usmUserPrivKeyChange	""
usmUserOwnPrivKeyChange	""
usmUserPublic		""
usmUserStorageType	permanent
usmUserStatus		active

    
This maps the initial user into the accessible objects

vacmSecurityModel		3 (USM)
vacmSecurityName		"docsisInit"
vacmGroupName			"docsisInit"
vacmSecurityToGroupStorageType	permanent
vacmSecurityToGroupStatus	active



Group name to view name translation.

vacmGroupName			"docsisInit"
vacmAccessContextPrefix		""
vacmAccessSecurityModel		3 (USM)
vacmAccessSecurityLevel		noAuthNoPriv
vacmAccessContextMatch		exact
vacmAccessReadViewName		"docsisInitRestricted"
vacmAccessWriteViewName		""
vacmAccessNotifyViewName	"docsisInitRestricted"
vacmAccessStorageType		permanent
vacmAccessStatus		active


Two entries to allow the initial entry to access the system and
kickstart groups.

vacmViewTreeFamilyViewName	"docsisInitRestricted"
vacmViewTreeFamilySubtree	1.3.6.1.2.1.1  (system)
vacmViewTreeFamilyMask		""
vacmViewTreeFamilyType		1
vacmViewTreeFamilyStorageType	permanent
vacmViewTreeFamilyStatus	active

vacmViewTreeFamilyViewName	"docsisInitRestricted"
vacmViewTreeFamilySubtree	  (docsDevV3KickstartGroup)
vacmViewTreeFamilyMask		""
vacmViewTreeFamilyType		1
vacmViewTreeFamilyStorageType	permanent
vacmViewTreeFamilyStatus	active









From owner-ipcdn@terayon.com  Mon Apr  5 11:25:06 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08099
	for <ipcdn-archive@odin.ietf.org>; Mon, 5 Apr 1999 11:25:05 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id IAA08619;
	Mon, 5 Apr 1999 08:19:04 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 5 Apr 1999 15:13:24 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id IAA06408
	for ipcdn-outgoing; Mon, 5 Apr 1999 08:17:07 -0700 (PDT)
X-Lotus-FromDomain: 3COM@3COM-MWGATE
From: "Jack Fijolek" <Jack_Fijolek@mw.3com.com>
To: ipcdn@terayon.com
Message-ID: <8625674A.0054D4BA.00@mwgate02.mw.3com.com>
Date: Mon, 5 Apr 1999 10:26:05 -0500
Subject: RE: Strawman for initialization of snmpv3 agents in cable modems.
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com




Will currently certified modems have to be upgraded and then recertified to
participate in your proposal? SNMPv1 was/is the DOCSIS 1.0 certification
requirement. Doesn't that imply that CMs and CMTSs should really be v1,v2,v3
multilingual and sense the managers version to interoperate correctly?
Jack Fijolek
3Com Cable Access
847-262-2201





Yost William <YostW@tce.com> on 04/05/99 10:05:06 AM

Please respond to ipcdn@terayon.com

To:   "'ipcdn @terayon.com'" <ipcdn@terayon.com>
cc:    (Jack Fijolek/MW/US/3Com)
Subject:  RE: Strawman for initialization of snmpv3 agents in cable modems.




I suggest that docsDevKickstartMgrPublic be settable by SNMP only via SNMP
MIB objects in the config file.  You do not have to define a new config file
object type that way.  The agent can tell whether an SNMP command comes from
the config file or not.

Also, the modem should operate in SNMP V2 mode after processing the config
file if docsDevKickstartMgrPublic was not set by the config file.  Otherwise
it should operate in SNMP V3 mode.

-------------------- William H. Yost, Thomson Consumer Electronics (317)
587-4816 $yostw$@tce.com --------------------------
(Remove $ signs from Email address to reply)


-----Original Message-----
From: Mike St. Johns [mailto:stjohns@corp.home.net]
Sent: Thursday, April 01, 1999 7:15 PM
To: ipcdn@terayon.com
Subject: Strawman for initialization of snmpv3 agents in cable modems.



I've attached a rough draft of a set of MIB objects and procedures to permit

an operator take control of a DOCSIS modem in a relatively secure manner via

SNMPv3.  The basic mechanism is a Diffie-Hellman key exchange.  The manager
provides its public value to the modem via the configuration file.  The
manager reads the public value of the modem via snmpv3 using a standard
default usmUser which has access only to these values (and the standard
'system' group).

Via the DH exchange, the manager and the cable modem can agree on a common
shared secret which is used to popluate the key values for another standard
usmUser who has access to the usmUserTable to create and delete additional
users.  The manager can then populate that table as necessary.

Comments?

Thanks - Mike

docsDevKickstartMyPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
     "The agent's Diffie-Hellman public value.  At initialization,
    the agent generates a random number and derives its public value
    from that number.  This public value is published here[ and may be
    included in the DHCP request].  This public value 'y'  equals g^r
    MOD p where g is the from the set of Diffie-Hellman parameters, p
    is the prime from those parameters, and r is a random integer
    selected by the agent in the interval 2^(l-1) <= r < p-1.

    The public value is expressed as an OCTET STRING 'PV' of length
    'k' which satisfies

              k
        y =  SUM   2^(8(k-i)) PV'i
             i = 1

     where PV1,...,PVk are the octets of PV from first to last, and
        where PV1 != 0.


    The following DH parameters (Oakley group #2, RFC 2409, sec 6.1,
    6.2) are used for this object:

    g = 2
    p = FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
        29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
        EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
        E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED
     EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381
        FFFFFFFF FFFFFFFF
    l =
    "
    ::= { docsDevV3KickstartGroup 1 }

docsDevKickstartMgrPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
     "The manager's Diffie-Hellman public value.  Note that this
    value is may not be set via the SNMP network agent, but may be set
    via the Cable Modem configuration file or via a DHCP response.

    The manager calculates this value in the same manner and using the
    same parameter set as the agent does.  E.g. it selects a random
    number, calculates y = g^r mod p and sends 'y' as the public
    number expressed as an OCTET STRING.  See docsDevKickstartMyPublic
    for details.

    When this object is set with a valid value during initialization,
    a row is created in the usmUserTable with the following values:

    usmUserEngineID      localEngineID
    usmUserName               "docsisProv"
    usmUserSecurityName       "docsisProv"
    usmUserCloneFrom          ZeroDotZero
    usmUserAuthProtocol       usmHMACMD5AuthProtocol
    usmUserAuthKeyChange ""
    usmUserOwnAuthKeyChange   ""
    usmUserPrivProtocol       usmDESPrivProtocol
    usmUserPrivKeyChange ""
    usmUserOwnPrivKeyChange   ""
    usmUserPublic        ""
    usmUserStorageType        permanent
    usmUserStatus        active

    A shared secret 'sk' is calculated at the agent as sk =
    mgrPublic^r mod p where r is the agents random number and p is the
    DH prime from the common parameters.  The underlying privacy key
    for this row is derived from sk by....  The underlying
    authentication key for this row is derived from sk by.....

    The manager can use its knowledge of its own random number and the
    public value published by the agent to kickstart its access to the
    agent in a secure manner.  Note that the security of this approach
    is directly related to the strength of the authorization security
    of the out of band provisioning of the managers public value
    (e.g. the configuration file)."
    ::= { docsDevV3KickstartGroup 2 }



The following entries are included in a DOCSIS SNMPv3 compliant modem.

This entry allows access to the system and docsDevV3Kickstart groups

usmUserEngineID          localEngineID
usmUserName         "docsisInit"
usmUserSecurityName "docsisInit"
usmUserCloneFrom    ZeroDotZero
usmUserAuthProtocol none
usmUserAuthKeyChange     ""
usmUserOwnAuthKeyChange  ""
usmUserPrivProtocol none
usmUserPrivKeyChange     ""
usmUserOwnPrivKeyChange  ""
usmUserPublic       ""
usmUserStorageType  permanent
usmUserStatus       active


This is the entry created when the modem is correctly provisioned via
the config file manager public value entry as above.  Note that this
username  gives at LEAST full access to the usmUser table for the
creation of additional entities.

usmUserEngineID          localEngineID
usmUserName         "docsisProv"
usmUserSecurityName "docsisProv"
usmUserCloneFrom    ZeroDotZero
usmUserAuthProtocol usmHMACMD5AuthProtocol
usmUserAuthKeyChange     ""
usmUserOwnAuthKeyChange  ""
usmUserPrivProtocol usmDESPrivProtocol
usmUserPrivKeyChange     ""
usmUserOwnPrivKeyChange  ""
usmUserPublic       ""
usmUserStorageType  permanent
usmUserStatus       active


This maps the initial user into the accessible objects

vacmSecurityModel        3 (USM)
vacmSecurityName         "docsisInit"
vacmGroupName            "docsisInit"
vacmSecurityToGroupStorageType     permanent
vacmSecurityToGroupStatus     active



Group name to view name translation.

vacmGroupName            "docsisInit"
vacmAccessContextPrefix       ""
vacmAccessSecurityModel       3 (USM)
vacmAccessSecurityLevel       noAuthNoPriv
vacmAccessContextMatch        exact
vacmAccessReadViewName        "docsisInitRestricted"
vacmAccessWriteViewName       ""
vacmAccessNotifyViewName "docsisInitRestricted"
vacmAccessStorageType         permanent
vacmAccessStatus         active


Two entries to allow the initial entry to access the system and
kickstart groups.

vacmViewTreeFamilyViewName    "docsisInitRestricted"
vacmViewTreeFamilySubtree     1.3.6.1.2.1.1  (system)
vacmViewTreeFamilyMask        ""
vacmViewTreeFamilyType        1
vacmViewTreeFamilyStorageType permanent
vacmViewTreeFamilyStatus active

vacmViewTreeFamilyViewName    "docsisInitRestricted"
vacmViewTreeFamilySubtree       (docsDevV3KickstartGroup)
vacmViewTreeFamilyMask        ""
vacmViewTreeFamilyType        1
vacmViewTreeFamilyStorageType permanent
vacmViewTreeFamilyStatus active
















From owner-ipcdn@terayon.com  Mon Apr  5 12:02:35 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA09192
	for <ipcdn-archive@odin.ietf.org>; Mon, 5 Apr 1999 12:02:34 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id IAA09045;
	Mon, 5 Apr 1999 08:59:41 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 5 Apr 1999 15:54:01 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id IAA07426
	for ipcdn-outgoing; Mon, 5 Apr 1999 08:57:32 -0700 (PDT)
Message-ID: <4FA371B64BDAD2119CF40008C7D9ADB31F95B0@indyexch5.indy.tce.com>
From: Yost William <YostW@tce.com>
To: "'ipcdn@terayon.com'" <ipcdn@terayon.com>
Subject: RE: Strawman for initialization of snmpv3 agents in cable modems.
Date: Mon, 5 Apr 1999 11:00:05 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com

This is how we are implementing V1/V2V3 compatibility.  This method uses a
proprietary method for getting the first Privacy and/or Authentication key
into the modem, but the other aspects as far as handling all 3 types of
packets should be applicable generally.

SNMP V1/V2/V3 compatibility 

The modem operates in two modes: SNMP V1/V2 compatibility mode, and SNMP V3
mode.
    
SNMP V1/V2 compatibility mode:

This mode is in effect from power up until the first entry in the SNMP V3
User Table has been made.  In this mode the docsDevNmAccessTable controls
SNMP access and determines where traps are sent.  Either SNMP V1, V2, or V3
packets are processed.  When a V3 packet is received, it must be of
noauthentication, no privacy security level.  The user name from the V3
packet is used as a community string and the packet is processed just like
SNMP V2 packets are processed.
 
SNMP V3 mode:

This mode is entered at the completion of processing an SNMP packet when at
least one user has been made in the SNMP V3 User Table. The modem will not
leave this mode until a reboot.  Upon entering this mode, the
authentication and or privacy keys of all users are set as described in the
initial key generation algorithm below. The User Based Security Model and
View Based Access Model are used to control access to the modem.  The
SNMP-NOTIFICATION-MIB determines where to send traps and whether a trap or
inform shall be sent. Either SNMP V1, V2, or V3 packets are processed.  When
an SNMP V1 or V2 packet is received, it is processed according to the SNMP
Coexistence document.  This method uses the SNMP-COMMUNITY-MIB that
describes how to translate the SNMP V1 and V2 community strings into user
names.  So an SNMP V1 or V2 request will only be processed if there are
entries in the SNMP V3 Group and Access Tables allowing the supplied
community string to be used in the NoAuthNoPriv security level.  The
docsDevNmAccessTable will have no effect in this mode.
 
The usual procedure for enabling SNMP V3 mode would be for the configuration
file to create one or more entries in the SNMP V3 User table, group table,
access table, and view table. The user names created by the configuration
file will not be private, but they will do no good to an outsider because he
will not know the DES key from the initial key generation algorithm.  The
config file must supply values for at least the usmUserName column in the
User Table and the necessary entries in the group, access, and view tables
to provide the desired access to the MIB elements.  If a usmUserAuthProtocol
value is not supplied, it will default to MD5.  If a usmUserPrivProtocol
value is not supplied, it will default to NoPriv.

Initial key generation algorithm

The executable program header stored in FLASH will contain a 1 to 8
character USM password.  This password will be set in the factory to
'initial'.  The MSO will be supplied with a utility to allow changing this
password in the program header of a load file image.  Inside the modem, this
USM password is transformed into a DES key by using the password to key
algorithm using MD5 as shown in section A.2.1 of RFC2274.  Next the DES key
is localized to the snmp Engine by using the procedure in section 2.6 of
RFC2274 (using MD5 for the hash function). The snmpEngineId value of the
modem shall be as specified in RFC2271 in 11 hex bytes:
80-00-0B-2F-03-mm-mm-mm-mm-mm-mm (mm = 6 byte MAC Address).  

Thus, the usual procedure would be for the MSO to change the initial
password in a copy of the load file image and save it with a new filename.
Then the configuration file would be set up to enable baseline privacy and
to direct the modem to load this new filename.  A factory fresh modem, or
one with an unknown password in it would register, turn on baseline privacy,
download the new filename with the new initial password, reboot, and then
the initial entries in the USM User Table would be created as directed by
the config file, using the DES key(s) created from the new initial password.
Since the download was done with Basline Privacy enabled, the new initial
password has not been revealed, and all modems can have the same initially
known password.  The RCA Cable Modem will not perform a download if baseline
privacy has been selected in the config file but baseline privacy mode has
not been entered.  This will prevent disclosure of the new password when
baseline privacy mode fails to be entered.  Since only the program header is
being changed, re-certifying the load file by Cable Labs would not be
required.  The MSO's will keep a record of what initial passwords correspond
to each load file name and there will be a private MIB element to determine
what load file the modem is running. 
 

-------------------- William H. Yost, Thomson Consumer Electronics (317)
587-4816 $yostw$@tce.com --------------------------
(Remove $ signs from Email address to reply)


-----Original Message-----
From: Jack Fijolek [mailto:Jack_Fijolek@mw.3com.com]
Sent: Monday, April 05, 1999 10:26 AM
To: ipcdn@terayon.com
Subject: RE: Strawman for initialization of snmpv3 agents in cable
modems.





Will currently certified modems have to be upgraded and then recertified to
participate in your proposal? SNMPv1 was/is the DOCSIS 1.0 certification
requirement. Doesn't that imply that CMs and CMTSs should really be v1,v2,v3
multilingual and sense the managers version to interoperate correctly?
Jack Fijolek
3Com Cable Access
847-262-2201





Yost William <YostW@tce.com> on 04/05/99 10:05:06 AM

Please respond to ipcdn@terayon.com

To:   "'ipcdn @terayon.com'" <ipcdn@terayon.com>
cc:    (Jack Fijolek/MW/US/3Com)
Subject:  RE: Strawman for initialization of snmpv3 agents in cable modems.




I suggest that docsDevKickstartMgrPublic be settable by SNMP only via SNMP
MIB objects in the config file.  You do not have to define a new config file
object type that way.  The agent can tell whether an SNMP command comes from
the config file or not.

Also, the modem should operate in SNMP V2 mode after processing the config
file if docsDevKickstartMgrPublic was not set by the config file.  Otherwise
it should operate in SNMP V3 mode.

-------------------- William H. Yost, Thomson Consumer Electronics (317)
587-4816 $yostw$@tce.com --------------------------
(Remove $ signs from Email address to reply)


-----Original Message-----
From: Mike St. Johns [mailto:stjohns@corp.home.net]
Sent: Thursday, April 01, 1999 7:15 PM
To: ipcdn@terayon.com
Subject: Strawman for initialization of snmpv3 agents in cable modems.



I've attached a rough draft of a set of MIB objects and procedures to permit

an operator take control of a DOCSIS modem in a relatively secure manner via

SNMPv3.  The basic mechanism is a Diffie-Hellman key exchange.  The manager
provides its public value to the modem via the configuration file.  The
manager reads the public value of the modem via snmpv3 using a standard
default usmUser which has access only to these values (and the standard
'system' group).

Via the DH exchange, the manager and the cable modem can agree on a common
shared secret which is used to popluate the key values for another standard
usmUser who has access to the usmUserTable to create and delete additional
users.  The manager can then populate that table as necessary.

Comments?

Thanks - Mike

docsDevKickstartMyPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
     "The agent's Diffie-Hellman public value.  At initialization,
    the agent generates a random number and derives its public value
    from that number.  This public value is published here[ and may be
    included in the DHCP request].  This public value 'y'  equals g^r
    MOD p where g is the from the set of Diffie-Hellman parameters, p
    is the prime from those parameters, and r is a random integer
    selected by the agent in the interval 2^(l-1) <= r < p-1.

    The public value is expressed as an OCTET STRING 'PV' of length
    'k' which satisfies

              k
        y =  SUM   2^(8(k-i)) PV'i
             i = 1

     where PV1,...,PVk are the octets of PV from first to last, and
        where PV1 != 0.


    The following DH parameters (Oakley group #2, RFC 2409, sec 6.1,
    6.2) are used for this object:

    g = 2
    p = FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
        29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
        EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
        E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED
     EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381
        FFFFFFFF FFFFFFFF
    l =
    "
    ::= { docsDevV3KickstartGroup 1 }

docsDevKickstartMgrPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
     "The manager's Diffie-Hellman public value.  Note that this
    value is may not be set via the SNMP network agent, but may be set
    via the Cable Modem configuration file or via a DHCP response.

    The manager calculates this value in the same manner and using the
    same parameter set as the agent does.  E.g. it selects a random
    number, calculates y = g^r mod p and sends 'y' as the public
    number expressed as an OCTET STRING.  See docsDevKickstartMyPublic
    for details.

    When this object is set with a valid value during initialization,
    a row is created in the usmUserTable with the following values:

    usmUserEngineID      localEngineID
    usmUserName               "docsisProv"
    usmUserSecurityName       "docsisProv"
    usmUserCloneFrom          ZeroDotZero
    usmUserAuthProtocol       usmHMACMD5AuthProtocol
    usmUserAuthKeyChange ""
    usmUserOwnAuthKeyChange   ""
    usmUserPrivProtocol       usmDESPrivProtocol
    usmUserPrivKeyChange ""
    usmUserOwnPrivKeyChange   ""
    usmUserPublic        ""
    usmUserStorageType        permanent
    usmUserStatus        active

    A shared secret 'sk' is calculated at the agent as sk =
    mgrPublic^r mod p where r is the agents random number and p is the
    DH prime from the common parameters.  The underlying privacy key
    for this row is derived from sk by....  The underlying
    authentication key for this row is derived from sk by.....

    The manager can use its knowledge of its own random number and the
    public value published by the agent to kickstart its access to the
    agent in a secure manner.  Note that the security of this approach
    is directly related to the strength of the authorization security
    of the out of band provisioning of the managers public value
    (e.g. the configuration file)."
    ::= { docsDevV3KickstartGroup 2 }



The following entries are included in a DOCSIS SNMPv3 compliant modem.

This entry allows access to the system and docsDevV3Kickstart groups

usmUserEngineID          localEngineID
usmUserName         "docsisInit"
usmUserSecurityName "docsisInit"
usmUserCloneFrom    ZeroDotZero
usmUserAuthProtocol none
usmUserAuthKeyChange     ""
usmUserOwnAuthKeyChange  ""
usmUserPrivProtocol none
usmUserPrivKeyChange     ""
usmUserOwnPrivKeyChange  ""
usmUserPublic       ""
usmUserStorageType  permanent
usmUserStatus       active


This is the entry created when the modem is correctly provisioned via
the config file manager public value entry as above.  Note that this
username  gives at LEAST full access to the usmUser table for the
creation of additional entities.

usmUserEngineID          localEngineID
usmUserName         "docsisProv"
usmUserSecurityName "docsisProv"
usmUserCloneFrom    ZeroDotZero
usmUserAuthProtocol usmHMACMD5AuthProtocol
usmUserAuthKeyChange     ""
usmUserOwnAuthKeyChange  ""
usmUserPrivProtocol usmDESPrivProtocol
usmUserPrivKeyChange     ""
usmUserOwnPrivKeyChange  ""
usmUserPublic       ""
usmUserStorageType  permanent
usmUserStatus       active


This maps the initial user into the accessible objects

vacmSecurityModel        3 (USM)
vacmSecurityName         "docsisInit"
vacmGroupName            "docsisInit"
vacmSecurityToGroupStorageType     permanent
vacmSecurityToGroupStatus     active



Group name to view name translation.

vacmGroupName            "docsisInit"
vacmAccessContextPrefix       ""
vacmAccessSecurityModel       3 (USM)
vacmAccessSecurityLevel       noAuthNoPriv
vacmAccessContextMatch        exact
vacmAccessReadViewName        "docsisInitRestricted"
vacmAccessWriteViewName       ""
vacmAccessNotifyViewName "docsisInitRestricted"
vacmAccessStorageType         permanent
vacmAccessStatus         active


Two entries to allow the initial entry to access the system and
kickstart groups.

vacmViewTreeFamilyViewName    "docsisInitRestricted"
vacmViewTreeFamilySubtree     1.3.6.1.2.1.1  (system)
vacmViewTreeFamilyMask        ""
vacmViewTreeFamilyType        1
vacmViewTreeFamilyStorageType permanent
vacmViewTreeFamilyStatus active

vacmViewTreeFamilyViewName    "docsisInitRestricted"
vacmViewTreeFamilySubtree       (docsDevV3KickstartGroup)
vacmViewTreeFamilyMask        ""
vacmViewTreeFamilyType        1
vacmViewTreeFamilyStorageType permanent
vacmViewTreeFamilyStatus active















From owner-ipcdn@terayon.com  Mon Apr  5 12:04:32 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA09217
	for <ipcdn-archive@odin.ietf.org>; Mon, 5 Apr 1999 12:04:31 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id JAA09109;
	Mon, 5 Apr 1999 09:01:32 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 5 Apr 1999 15:55:52 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id IAA07495
	for ipcdn-outgoing; Mon, 5 Apr 1999 08:59:23 -0700 (PDT)
Message-ID: <4FA371B64BDAD2119CF40008C7D9ADB31F95B1@indyexch5.indy.tce.com>
From: Yost William <YostW@tce.com>
To: "'ipcdn@terayon.com'" <ipcdn@terayon.com>
Subject: RE: Strawman for initialization of snmpv3 agents in cable modems.
Date: Mon, 5 Apr 1999 11:02:02 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com

Yes, currently certified modems would have to be recertified if SNMP V3 is
added.

-------------------- William H. Yost, Thomson Consumer Electronics (317)
587-4816 $yostw$@tce.com --------------------------
(Remove $ signs from Email address to reply)


-----Original Message-----
From: Jack Fijolek [mailto:Jack_Fijolek@mw.3com.com]
Sent: Monday, April 05, 1999 10:26 AM
To: ipcdn@terayon.com
Subject: RE: Strawman for initialization of snmpv3 agents in cable
modems.





Will currently certified modems have to be upgraded and then recertified to
participate in your proposal? SNMPv1 was/is the DOCSIS 1.0 certification
requirement. Doesn't that imply that CMs and CMTSs should really be v1,v2,v3
multilingual and sense the managers version to interoperate correctly?
Jack Fijolek
3Com Cable Access
847-262-2201





Yost William <YostW@tce.com> on 04/05/99 10:05:06 AM

Please respond to ipcdn@terayon.com

To:   "'ipcdn @terayon.com'" <ipcdn@terayon.com>
cc:    (Jack Fijolek/MW/US/3Com)
Subject:  RE: Strawman for initialization of snmpv3 agents in cable modems.




I suggest that docsDevKickstartMgrPublic be settable by SNMP only via SNMP
MIB objects in the config file.  You do not have to define a new config file
object type that way.  The agent can tell whether an SNMP command comes from
the config file or not.

Also, the modem should operate in SNMP V2 mode after processing the config
file if docsDevKickstartMgrPublic was not set by the config file.  Otherwise
it should operate in SNMP V3 mode.

-------------------- William H. Yost, Thomson Consumer Electronics (317)
587-4816 $yostw$@tce.com --------------------------
(Remove $ signs from Email address to reply)


-----Original Message-----
From: Mike St. Johns [mailto:stjohns@corp.home.net]
Sent: Thursday, April 01, 1999 7:15 PM
To: ipcdn@terayon.com
Subject: Strawman for initialization of snmpv3 agents in cable modems.



I've attached a rough draft of a set of MIB objects and procedures to permit

an operator take control of a DOCSIS modem in a relatively secure manner via

SNMPv3.  The basic mechanism is a Diffie-Hellman key exchange.  The manager
provides its public value to the modem via the configuration file.  The
manager reads the public value of the modem via snmpv3 using a standard
default usmUser which has access only to these values (and the standard
'system' group).

Via the DH exchange, the manager and the cable modem can agree on a common
shared secret which is used to popluate the key values for another standard
usmUser who has access to the usmUserTable to create and delete additional
users.  The manager can then populate that table as necessary.

Comments?

Thanks - Mike

docsDevKickstartMyPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
     "The agent's Diffie-Hellman public value.  At initialization,
    the agent generates a random number and derives its public value
    from that number.  This public value is published here[ and may be
    included in the DHCP request].  This public value 'y'  equals g^r
    MOD p where g is the from the set of Diffie-Hellman parameters, p
    is the prime from those parameters, and r is a random integer
    selected by the agent in the interval 2^(l-1) <= r < p-1.

    The public value is expressed as an OCTET STRING 'PV' of length
    'k' which satisfies

              k
        y =  SUM   2^(8(k-i)) PV'i
             i = 1

     where PV1,...,PVk are the octets of PV from first to last, and
        where PV1 != 0.


    The following DH parameters (Oakley group #2, RFC 2409, sec 6.1,
    6.2) are used for this object:

    g = 2
    p = FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
        29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
        EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
        E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED
     EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381
        FFFFFFFF FFFFFFFF
    l =
    "
    ::= { docsDevV3KickstartGroup 1 }

docsDevKickstartMgrPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
     "The manager's Diffie-Hellman public value.  Note that this
    value is may not be set via the SNMP network agent, but may be set
    via the Cable Modem configuration file or via a DHCP response.

    The manager calculates this value in the same manner and using the
    same parameter set as the agent does.  E.g. it selects a random
    number, calculates y = g^r mod p and sends 'y' as the public
    number expressed as an OCTET STRING.  See docsDevKickstartMyPublic
    for details.

    When this object is set with a valid value during initialization,
    a row is created in the usmUserTable with the following values:

    usmUserEngineID      localEngineID
    usmUserName               "docsisProv"
    usmUserSecurityName       "docsisProv"
    usmUserCloneFrom          ZeroDotZero
    usmUserAuthProtocol       usmHMACMD5AuthProtocol
    usmUserAuthKeyChange ""
    usmUserOwnAuthKeyChange   ""
    usmUserPrivProtocol       usmDESPrivProtocol
    usmUserPrivKeyChange ""
    usmUserOwnPrivKeyChange   ""
    usmUserPublic        ""
    usmUserStorageType        permanent
    usmUserStatus        active

    A shared secret 'sk' is calculated at the agent as sk =
    mgrPublic^r mod p where r is the agents random number and p is the
    DH prime from the common parameters.  The underlying privacy key
    for this row is derived from sk by....  The underlying
    authentication key for this row is derived from sk by.....

    The manager can use its knowledge of its own random number and the
    public value published by the agent to kickstart its access to the
    agent in a secure manner.  Note that the security of this approach
    is directly related to the strength of the authorization security
    of the out of band provisioning of the managers public value
    (e.g. the configuration file)."
    ::= { docsDevV3KickstartGroup 2 }



The following entries are included in a DOCSIS SNMPv3 compliant modem.

This entry allows access to the system and docsDevV3Kickstart groups

usmUserEngineID          localEngineID
usmUserName         "docsisInit"
usmUserSecurityName "docsisInit"
usmUserCloneFrom    ZeroDotZero
usmUserAuthProtocol none
usmUserAuthKeyChange     ""
usmUserOwnAuthKeyChange  ""
usmUserPrivProtocol none
usmUserPrivKeyChange     ""
usmUserOwnPrivKeyChange  ""
usmUserPublic       ""
usmUserStorageType  permanent
usmUserStatus       active


This is the entry created when the modem is correctly provisioned via
the config file manager public value entry as above.  Note that this
username  gives at LEAST full access to the usmUser table for the
creation of additional entities.

usmUserEngineID          localEngineID
usmUserName         "docsisProv"
usmUserSecurityName "docsisProv"
usmUserCloneFrom    ZeroDotZero
usmUserAuthProtocol usmHMACMD5AuthProtocol
usmUserAuthKeyChange     ""
usmUserOwnAuthKeyChange  ""
usmUserPrivProtocol usmDESPrivProtocol
usmUserPrivKeyChange     ""
usmUserOwnPrivKeyChange  ""
usmUserPublic       ""
usmUserStorageType  permanent
usmUserStatus       active


This maps the initial user into the accessible objects

vacmSecurityModel        3 (USM)
vacmSecurityName         "docsisInit"
vacmGroupName            "docsisInit"
vacmSecurityToGroupStorageType     permanent
vacmSecurityToGroupStatus     active



Group name to view name translation.

vacmGroupName            "docsisInit"
vacmAccessContextPrefix       ""
vacmAccessSecurityModel       3 (USM)
vacmAccessSecurityLevel       noAuthNoPriv
vacmAccessContextMatch        exact
vacmAccessReadViewName        "docsisInitRestricted"
vacmAccessWriteViewName       ""
vacmAccessNotifyViewName "docsisInitRestricted"
vacmAccessStorageType         permanent
vacmAccessStatus         active


Two entries to allow the initial entry to access the system and
kickstart groups.

vacmViewTreeFamilyViewName    "docsisInitRestricted"
vacmViewTreeFamilySubtree     1.3.6.1.2.1.1  (system)
vacmViewTreeFamilyMask        ""
vacmViewTreeFamilyType        1
vacmViewTreeFamilyStorageType permanent
vacmViewTreeFamilyStatus active

vacmViewTreeFamilyViewName    "docsisInitRestricted"
vacmViewTreeFamilySubtree       (docsDevV3KickstartGroup)
vacmViewTreeFamilyMask        ""
vacmViewTreeFamilyType        1
vacmViewTreeFamilyStorageType permanent
vacmViewTreeFamilyStatus active















From owner-ipcdn@terayon.com  Mon Apr  5 17:13:58 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA15767
	for <ipcdn-archive@odin.ietf.org>; Mon, 5 Apr 1999 17:13:57 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id OAA12625;
	Mon, 5 Apr 1999 14:11:04 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 5 Apr 1999 21:05:23 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id OAA20615
	for ipcdn-outgoing; Mon, 5 Apr 1999 14:08:47 -0700 (PDT)
Message-ID: <5D6B33A38300D211AC9B00609748B226029DF3FB@tceis3.indy.tce.com>
From: Ramname Reena <RamnameR@tce.com>
To: "'ipcdn@terayon.com'" <ipcdn@terayon.com>
Subject: Re : About BPI mibs
Date: Mon, 5 Apr 1999 16:11:33 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com

Does it mean that  docsBpiCmTEKKeyReplies,
Rejects and Invalids must  all be incremented every time there is an
authorization reject ..
 
Thanks,
 
Reena


****************************************************************************
*****************************************************************

Sender: kaz@cable-gw.cablelabs.com
Date: Mon, 22 Mar 1999 14:01:20 -0700
To: ipcdn@terayon.com
From: Kaz Ozawa <k.ozawa@cablelabs.com>
Subject: Q&A: Authentication of Key Reply, Key Reject & TEK Invalid
  messages
Sender: owner-ipcdn@terayon.com
Reply-To: ipcdn@terayon.com

I would like to post the Question form a vendor and my answer to it
because this Q&A might help others and this reflector is the best
place to discuss these topics.
Thanks,
kaz

Question: What does the "authentication" in the description field of 
docsBpiCmTEKKeyReplies, Rejects and Invalids mean ?   (See the BPI MIB 
draft which I forwarded to the IETF ipcdn mailing list on 12/10/98.  
The definition of these 3 objects are quoted below for your convenience.)

Answer: The Key Reply, Key Reject, and TEK Invalid messages sent by
a CMTS MUST include HMAC-Digest as the final attribute.  The 
"authentication" quoted above is the CM's calculation and verification
of the HMAC-Digest in these messages.  That is, docsBpiCmTEKKeyReplies,
Rejects and Invalids must be incremented every time the CM receives these
messages in spite of the result of the CM's HMAC-Digest authentication.


>docsBpiCmTEKKeyReplies	OBJECT-TYPE
>SYNTAX			Counter32
>MAX-ACCESS		read-only
>STATUS			current
>DESCRIPTION
>"The value of this object is the count of times the CM has received
>a Key Reply message, including a message whose authentication failed."
>REFERENCE
>"DOCSIS Baseline Privacy Interface Specification, Section 4.2.1.5."
>::= { docsBpiCmTEKEntry 6 }
>
>docsBpiCmTEKKeyRejects	OBJECT-TYPE
>SYNTAX			Counter32
>MAX-ACCESS		read-only
>STATUS			current
>DESCRIPTION
>"The value of this object is the count of times the CM has received
>a Key Reject message, including a message whose authentication failed."
>REFERENCE
>"DOCSIS Baseline Privacy Interface Specification, Section 4.2.1.6."
>::= { docsBpiCmTEKEntry 7 }
>
>docsBpiCmTEKInvalids	OBJECT-TYPE
>SYNTAX			Counter32
>MAX-ACCESS		read-only
>STATUS			current
>DESCRIPTION
>"The value of this object is the count of times the CM has received
>a TEK Invalid message, including a message whose authentication failed."
>REFERENCE
>"DOCSIS Baseline Privacy Interface Specification, Section 4.2.1.8."
>::= { docsBpiCmTEKEntry 8 }
>

Kaz Ozawa, Toshiba Visiting Engineer at CableLabs
+1-303-661-3860(direct), 9100(main), 9199(fax)
k.ozawa@cablelabs.com


Kaz Ozawa, Toshiba Visiting Engineer at CableLabs
+1-303-661-3860(direct), 9100(main), 9199(fax)
k.ozawa@cablelabs.com





From owner-ipcdn@terayon.com  Mon Apr  5 17:33:20 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA16158
	for <ipcdn-archive@odin.ietf.org>; Mon, 5 Apr 1999 17:33:19 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id OAA12902;
	Mon, 5 Apr 1999 14:27:49 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 5 Apr 1999 21:22:08 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id OAA21436
	for ipcdn-outgoing; Mon, 5 Apr 1999 14:25:40 -0700 (PDT)
Message-Id: <3.0.1.32.19990405152723.00ab3b94@cable-gw.cablelabs.com>
X-Sender: kaz@cable-gw.cablelabs.com
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
Date: Mon, 05 Apr 1999 15:27:23 -0600
To: ipcdn@terayon.com
From: Kaz Ozawa <k.ozawa@cablelabs.com>
Subject: Re: Re : About BPI mibs
In-Reply-To: <5D6B33A38300D211AC9B00609748B226029DF3FB@tceis3.indy.tce.c
 om>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com

Ops!
Sorry for my confusing text.

Only the docsBpiCmTEKKeyReplies must be incremented every time there is
a Key Reply message.  Only the docsBpiCmTEKKeyRejects for a Key Reject
message, and only the docsBpiCmTEKInvalids for a TEK Invalid message.

Thanks,
kaz

At 04:11 PM 04/05/99 -0500, Ramname Reena wrote:
>Does it mean that  docsBpiCmTEKKeyReplies,
>Rejects and Invalids must  all be incremented every time there is an
>authorization reject ..
> 
>Thanks,
> 
>Reena
>
>
>****************************************************************************
>*****************************************************************
>
>Sender: kaz@cable-gw.cablelabs.com
>Date: Mon, 22 Mar 1999 14:01:20 -0700
>To: ipcdn@terayon.com
>From: Kaz Ozawa <k.ozawa@cablelabs.com>
>Subject: Q&A: Authentication of Key Reply, Key Reject & TEK Invalid
>  messages
>Sender: owner-ipcdn@terayon.com
>Reply-To: ipcdn@terayon.com
>
>I would like to post the Question form a vendor and my answer to it
>because this Q&A might help others and this reflector is the best
>place to discuss these topics.
>Thanks,
>kaz
>
>Question: What does the "authentication" in the description field of 
>docsBpiCmTEKKeyReplies, Rejects and Invalids mean ?   (See the BPI MIB 
>draft which I forwarded to the IETF ipcdn mailing list on 12/10/98.  
>The definition of these 3 objects are quoted below for your convenience.)
>
>Answer: The Key Reply, Key Reject, and TEK Invalid messages sent by
>a CMTS MUST include HMAC-Digest as the final attribute.  The 
>"authentication" quoted above is the CM's calculation and verification
>of the HMAC-Digest in these messages.  That is, docsBpiCmTEKKeyReplies,
>Rejects and Invalids must be incremented every time the CM receives these
>messages in spite of the result of the CM's HMAC-Digest authentication.
>
>
>>docsBpiCmTEKKeyReplies	OBJECT-TYPE
>>SYNTAX			Counter32
>>MAX-ACCESS		read-only
>>STATUS			current
>>DESCRIPTION
>>"The value of this object is the count of times the CM has received
>>a Key Reply message, including a message whose authentication failed."
>>REFERENCE
>>"DOCSIS Baseline Privacy Interface Specification, Section 4.2.1.5."
>>::= { docsBpiCmTEKEntry 6 }
>>
>>docsBpiCmTEKKeyRejects	OBJECT-TYPE
>>SYNTAX			Counter32
>>MAX-ACCESS		read-only
>>STATUS			current
>>DESCRIPTION
>>"The value of this object is the count of times the CM has received
>>a Key Reject message, including a message whose authentication failed."
>>REFERENCE
>>"DOCSIS Baseline Privacy Interface Specification, Section 4.2.1.6."
>>::= { docsBpiCmTEKEntry 7 }
>>
>>docsBpiCmTEKInvalids	OBJECT-TYPE
>>SYNTAX			Counter32
>>MAX-ACCESS		read-only
>>STATUS			current
>>DESCRIPTION
>>"The value of this object is the count of times the CM has received
>>a TEK Invalid message, including a message whose authentication failed."
>>REFERENCE
>>"DOCSIS Baseline Privacy Interface Specification, Section 4.2.1.8."
>>::= { docsBpiCmTEKEntry 8 }
>>
>
>Kaz Ozawa, Toshiba Visiting Engineer at CableLabs
>+1-303-661-3860(direct), 9100(main), 9199(fax)
>k.ozawa@cablelabs.com
>
>
>Kaz Ozawa, Toshiba Visiting Engineer at CableLabs
>+1-303-661-3860(direct), 9100(main), 9199(fax)
>k.ozawa@cablelabs.com
>
>

Kaz Ozawa, Toshiba Visiting Engineer at CableLabs
+1-303-661-3860(direct), 9100(main), 9199(fax)
k.ozawa@cablelabs.com


From owner-ipcdn@terayon.com  Tue Apr  6 11:38:04 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA11666
	for <ipcdn-archive@odin.ietf.org>; Tue, 6 Apr 1999 11:38:03 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id IAA20108;
	Tue, 6 Apr 1999 08:30:29 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 6 Apr 1999 15:24:45 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id IAA22060
	for ipcdn-outgoing; Tue, 6 Apr 1999 08:27:50 -0700 (PDT)
Message-ID: <5D6B33A38300D211AC9B00609748B226029DF3FE@tceis3.indy.tce.com>
From: Ramname Reena <RamnameR@tce.com>
To: "'ipcdn@terayon.com'" <ipcdn@terayon.com>
Subject:  About BPI mib TEKExpiresOld
Date: Tue, 6 Apr 1999 10:30:00 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com

 According to the new description   TEKExpiresOld  will now report the value
of the expiration time of the TEK Key even after it expires..i.e after the
TEKgracetime..
and  when there is only one key then is it  that key's lifetime that is
reported in TEKExpiresOld??Pl. Clarify..
                       Thanks,
                               Reena




docsBpiCmTEKExpiresOld	
DESCRIPTION ( NEW)
"The value of this object is the actual clock time for expiration
of the immediate predecessor of the most recent TEK for this FSM.
If this FSM has only one TEK, then the value is the time of activation
of this FSM."

DESC old
"Actual clock time for expiration of the oldest active key for this
FSM.  If this FSM has no active keys, then the value is of the
expiration date and time of the last active key."


-----Original Message-----
From: Kaz Ozawa [mailto:k.ozawa@cablelabs.com]
Sent: Monday, April 05, 1999 4:27 PM
To: ipcdn@terayon.com
Subject: Re: Re : About BPI mibs


Ops!
Sorry for my confusing text.

Only the docsBpiCmTEKKeyReplies must be incremented every time there is
a Key Reply message.  Only the docsBpiCmTEKKeyRejects for a Key Reject
message, and only the docsBpiCmTEKInvalids for a TEK Invalid message.

Thanks,
kaz

At 04:11 PM 04/05/99 -0500, Ramname Reena wrote:
>Does it mean that  docsBpiCmTEKKeyReplies,
>Rejects and Invalids must  all be incremented every time there is an
>authorization reject ..
> 
>Thanks,
> 
>Reena
>
>
>***************************************************************************
*
>*****************************************************************
>
>Sender: kaz@cable-gw.cablelabs.com
>Date: Mon, 22 Mar 1999 14:01:20 -0700
>To: ipcdn@terayon.com
>From: Kaz Ozawa <k.ozawa@cablelabs.com>
>Subject: Q&A: Authentication of Key Reply, Key Reject & TEK Invalid
>  messages
>Sender: owner-ipcdn@terayon.com
>Reply-To: ipcdn@terayon.com
>
>I would like to post the Question form a vendor and my answer to it
>because this Q&A might help others and this reflector is the best
>place to discuss these topics.
>Thanks,
>kaz
>
>Question: What does the "authentication" in the description field of 
>docsBpiCmTEKKeyReplies, Rejects and Invalids mean ?   (See the BPI MIB 
>draft which I forwarded to the IETF ipcdn mailing list on 12/10/98.  
>The definition of these 3 objects are quoted below for your convenience.)
>
>Answer: The Key Reply, Key Reject, and TEK Invalid messages sent by
>a CMTS MUST include HMAC-Digest as the final attribute.  The 
>"authentication" quoted above is the CM's calculation and verification
>of the HMAC-Digest in these messages.  That is, docsBpiCmTEKKeyReplies,
>Rejects and Invalids must be incremented every time the CM receives these
>messages in spite of the result of the CM's HMAC-Digest authentication.
>
>
>>docsBpiCmTEKKeyReplies	OBJECT-TYPE
>>SYNTAX			Counter32
>>MAX-ACCESS		read-only
>>STATUS			current
>>DESCRIPTION
>>"The value of this object is the count of times the CM has received
>>a Key Reply message, including a message whose authentication failed."
>>REFERENCE
>>"DOCSIS Baseline Privacy Interface Specification, Section 4.2.1.5."
>>::= { docsBpiCmTEKEntry 6 }
>>
>>docsBpiCmTEKKeyRejects	OBJECT-TYPE
>>SYNTAX			Counter32
>>MAX-ACCESS		read-only
>>STATUS			current
>>DESCRIPTION
>>"The value of this object is the count of times the CM has received
>>a Key Reject message, including a message whose authentication failed."
>>REFERENCE
>>"DOCSIS Baseline Privacy Interface Specification, Section 4.2.1.6."
>>::= { docsBpiCmTEKEntry 7 }
>>
>>docsBpiCmTEKInvalids	OBJECT-TYPE
>>SYNTAX			Counter32
>>MAX-ACCESS		read-only
>>STATUS			current
>>DESCRIPTION
>>"The value of this object is the count of times the CM has received
>>a TEK Invalid message, including a message whose authentication failed."
>>REFERENCE
>>"DOCSIS Baseline Privacy Interface Specification, Section 4.2.1.8."
>>::= { docsBpiCmTEKEntry 8 }
>>
>
>Kaz Ozawa, Toshiba Visiting Engineer at CableLabs
>+1-303-661-3860(direct), 9100(main), 9199(fax)
>k.ozawa@cablelabs.com
>
>
>Kaz Ozawa, Toshiba Visiting Engineer at CableLabs
>+1-303-661-3860(direct), 9100(main), 9199(fax)
>k.ozawa@cablelabs.com
>
>

Kaz Ozawa, Toshiba Visiting Engineer at CableLabs
+1-303-661-3860(direct), 9100(main), 9199(fax)
k.ozawa@cablelabs.com


From owner-ipcdn@terayon.com  Fri Apr  9 11:44:41 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA03888
	for <ipcdn-archive@odin.ietf.org>; Fri, 9 Apr 1999 11:44:40 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id IAA25847;
	Fri, 9 Apr 1999 08:32:14 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 9 Apr 1999 15:26:20 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id IAA10442
	for ipcdn-outgoing; Fri, 9 Apr 1999 08:28:45 -0700 (PDT)
From: rja@corp.home.net (Randall Atkinson)
Message-Id: <990409083133.ZM5970@dragonfly.eos.home.net>
Date: Fri, 9 Apr 1999 08:31:33 -0700
In-Reply-To: "Jack Fijolek" <Jack_Fijolek@mw.3com.com>
        "RE: Strawman for initialization of snmpv3 agents in cable modems." (Apr  5, 10:26)
References: <8625674A.0054D4BA.00@mwgate02.mw.3com.com>
X-Mailer: Z-Mail (4.0.1 13Jan97)
To: ipcdn@terayon.com
Subject: Re: Strawman for initialization of snmpv3 agents in cable modems.
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com


Jack,

	I can't and won't try to speak for the CableLabs process.
I can and will say that modems will have to be upgraded to support
SNMPv3 to meet @Home's needs.  This even includes already deployed
MCNS 1.0 modems.  We've already seen security compromises that are
believed due to SNMPv1, so this is directly impacting our business.

Yours,

Ran
rja@corp.home.net


From owner-ipcdn@terayon.com  Tue Apr 13 15:56:16 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA27755
	for <ipcdn-archive@odin.ietf.org>; Tue, 13 Apr 1999 15:56:10 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id MAA27423;
	Tue, 13 Apr 1999 12:37:31 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 13 Apr 1999 19:31:22 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id MAA06208
	for ipcdn-outgoing; Tue, 13 Apr 1999 12:31:23 -0700 (PDT)
Message-ID: <4FA371B64BDAD2119CF40008C7D9ADB31F95F5@indyexch5.indy.tce.com>
From: Yost William <YostW@tce.com>
To: "'ipcdn@terayon.com'" <ipcdn@terayon.com>
Cc: "'welch@corp.home.net'" <welch@corp.home.net>,
        Polit Peter
	 <PolitP@tce.com>
Subject: RE: Strawman for initialization of snmpv3 agents in cable modems.
Date: Tue, 13 Apr 1999 14:33:14 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com

I agree this will place the modem into a secure SNMP V3 mode at
initialization time and the privacy and authentication keys of the first
user will be known only to the manager and the modem.  This therefore meets
the requirements and is good.  I have a couple of points to raise.

1. This SNMP V3 initialization routine does not specify how the shared
secret is translated into the authentication and privacy keys.  I think the
password to key algorithm described in Appendix A, section A.1, paragraph
(2) of RFC2274 'User-based Security Model (USM) for version 3 of the simple
network management protocol' should be used.  The MD5 algorithm should be
used at the step where a digest is calculated.  This algorithm is commonly
used by SNMP V3 managers since it is easy for a user to input a readable
text password.

I believe the shared secret 'sk' should be transformed into a readable
password of 12 characters or fewer with no embedded spaces by truncating any
octets beyond the twelfth and then performing the following operation on
each octet (Treating it as an unsigned 8 bit integer):
  if( octet > 0x7F ) octet = octet - 0x80;                     // Clear the
top bit
  if( octet <= 0x20 ) octet = octet + 0x40;                 // Map control
codes into readable characters
  if( octet == 0x7F ) octet = octet - 1;                        // Re-map a
delete character to a tilde

Then these 12 characters can be used as the password to be input to the
password to key algorithm

2. In the definition of docsDevKickstartMyPublic it says 'l = ' just after
the definition of p.  I think that is a lower case L.  What is the
definition of that 'l' supposed to be?

3. This SNMP V3 initialization routine will require the SNMP manager to
calculate and use a different shared secret for each modem each time that
modem reboots.  Is this acceptable? How would you use this operationally?
Would you have a master SNMP manager someplace that would either be
generating the manager's random number or at least know what number is
currently being used? This station would be receiving cold start traps from
modems and  polling to see which modems are operational.  It would then
create at least one SNMP V3 user with known authentication and privacy keys
by cloning it from the docsisProv user.  I guess the configuration file
could create entries in the SNMP-NOTIFICATION-MIB to send noAuthNoPriv traps
to the master station.

-------------------- William H. Yost, Thomson Consumer Electronics (317)
587-4816 $yostw$@tce.com --------------------------
(Remove $ signs from Email address to reply)


-----Original Message-----
From: Mike St. Johns [mailto:stjohns@corp.home.net]
Sent: Thursday, April 01, 1999 7:15 PM
To: ipcdn@terayon.com
Subject: Strawman for initialization of snmpv3 agents in cable modems.



I've attached a rough draft of a set of MIB objects and procedures to permit

an operator take control of a DOCSIS modem in a relatively secure manner via

SNMPv3.  The basic mechanism is a Diffie-Hellman key exchange.  The manager 
provides its public value to the modem via the configuration file.  The 
manager reads the public value of the modem via snmpv3 using a standard 
default usmUser which has access only to these values (and the standard 
'system' group).

Via the DH exchange, the manager and the cable modem can agree on a common 
shared secret which is used to popluate the key values for another standard 
usmUser who has access to the usmUserTable to create and delete additional 
users.  The manager can then populate that table as necessary.

Comments? 

Thanks - Mike

docsDevKickstartMyPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
	"The agent's Diffie-Hellman public value.  At initialization,
    the agent generates a random number and derives its public value
    from that number.  This public value is published here[ and may be
    included in the DHCP request].  This public value 'y'  equals g^r
    MOD p where g is the from the set of Diffie-Hellman parameters, p
    is the prime from those parameters, and r is a random integer
    selected by the agent in the interval 2^(l-1) <= r < p-1. 

    The public value is expressed as an OCTET STRING 'PV' of length
    'k' which satisfies

              k
        y =  SUM   2^(8(k-i)) PV'i
             i = 1

	where PV1,...,PVk are the octets of PV from first to last, and
        where PV1 != 0.


    The following DH parameters (Oakley group #2, RFC 2409, sec 6.1,
    6.2) are used for this object:
    
    g = 2
    p = FFFFFFFF FFFFFFFF C90FDAA2 2168C234 C4C6628B 80DC1CD1
        29024E08 8A67CC74 020BBEA6 3B139B22 514A0879 8E3404DD
        EF9519B3 CD3A431B 302B0A6D F25F1437 4FE1356D 6D51C245
        E485B576 625E7EC6 F44C42E9 A637ED6B 0BFF5CB6 F406B7ED
	EE386BFB 5A899FA5 AE9F2411 7C4B1FE6 49286651 ECE65381
        FFFFFFFF FFFFFFFF
    l = 
    "
    ::= { docsDevV3KickstartGroup 1 }

docsDevKickstartMgrPublic OBJECT-TYPE
    SYNTAX  OCTET STRING
    ACCESS  read-only
    STATUS  current
    DESCRIPTION
	"The manager's Diffie-Hellman public value.  Note that this
    value is may not be set via the SNMP network agent, but may be set
    via the Cable Modem configuration file or via a DHCP response.

    The manager calculates this value in the same manner and using the
    same parameter set as the agent does.  E.g. it selects a random
    number, calculates y = g^r mod p and sends 'y' as the public
    number expressed as an OCTET STRING.  See docsDevKickstartMyPublic
    for details.

    When this object is set with a valid value during initialization,
    a row is created in the usmUserTable with the following values:

    usmUserEngineID		localEngineID
    usmUserName			"docsisProv"
    usmUserSecurityName		"docsisProv"
    usmUserCloneFrom		ZeroDotZero
    usmUserAuthProtocol		usmHMACMD5AuthProtocol
    usmUserAuthKeyChange	""
    usmUserOwnAuthKeyChange	""
    usmUserPrivProtocol		usmDESPrivProtocol
    usmUserPrivKeyChange	""
    usmUserOwnPrivKeyChange	""
    usmUserPublic		""
    usmUserStorageType		permanent
    usmUserStatus		active

    A shared secret 'sk' is calculated at the agent as sk =
    mgrPublic^r mod p where r is the agents random number and p is the
    DH prime from the common parameters.  The underlying privacy key
    for this row is derived from sk by....  The underlying
    authentication key for this row is derived from sk by.....

    The manager can use its knowledge of its own random number and the
    public value published by the agent to kickstart its access to the
    agent in a secure manner.  Note that the security of this approach
    is directly related to the strength of the authorization security
    of the out of band provisioning of the managers public value
    (e.g. the configuration file)."
    ::= { docsDevV3KickstartGroup 2 }


    
The following entries are included in a DOCSIS SNMPv3 compliant modem.

This entry allows access to the system and docsDevV3Kickstart groups

usmUserEngineID		localEngineID
usmUserName		"docsisInit"
usmUserSecurityName	"docsisInit"
usmUserCloneFrom	ZeroDotZero
usmUserAuthProtocol	none
usmUserAuthKeyChange	""
usmUserOwnAuthKeyChange	""
usmUserPrivProtocol	none
usmUserPrivKeyChange	""
usmUserOwnPrivKeyChange	""
usmUserPublic		""
usmUserStorageType	permanent
usmUserStatus		active


This is the entry created when the modem is correctly provisioned via
the config file manager public value entry as above.  Note that this
username  gives at LEAST full access to the usmUser table for the
creation of additional entities.

usmUserEngineID		localEngineID
usmUserName		"docsisProv"
usmUserSecurityName	"docsisProv"
usmUserCloneFrom	ZeroDotZero
usmUserAuthProtocol	usmHMACMD5AuthProtocol
usmUserAuthKeyChange	""
usmUserOwnAuthKeyChange	""
usmUserPrivProtocol	usmDESPrivProtocol
usmUserPrivKeyChange	""
usmUserOwnPrivKeyChange	""
usmUserPublic		""
usmUserStorageType	permanent
usmUserStatus		active

    
This maps the initial user into the accessible objects

vacmSecurityModel		3 (USM)
vacmSecurityName		"docsisInit"
vacmGroupName			"docsisInit"
vacmSecurityToGroupStorageType	permanent
vacmSecurityToGroupStatus	active



Group name to view name translation.

vacmGroupName			"docsisInit"
vacmAccessContextPrefix		""
vacmAccessSecurityModel		3 (USM)
vacmAccessSecurityLevel		noAuthNoPriv
vacmAccessContextMatch		exact
vacmAccessReadViewName		"docsisInitRestricted"
vacmAccessWriteViewName		""
vacmAccessNotifyViewName	"docsisInitRestricted"
vacmAccessStorageType		permanent
vacmAccessStatus		active


Two entries to allow the initial entry to access the system and
kickstart groups.

vacmViewTreeFamilyViewName	"docsisInitRestricted"
vacmViewTreeFamilySubtree	1.3.6.1.2.1.1  (system)
vacmViewTreeFamilyMask		""
vacmViewTreeFamilyType		1
vacmViewTreeFamilyStorageType	permanent
vacmViewTreeFamilyStatus	active

vacmViewTreeFamilyViewName	"docsisInitRestricted"
vacmViewTreeFamilySubtree	  (docsDevV3KickstartGroup)
vacmViewTreeFamilyMask		""
vacmViewTreeFamilyType		1
vacmViewTreeFamilyStorageType	permanent
vacmViewTreeFamilyStatus	active









From owner-ipcdn@terayon.com  Thu Apr 15 17:05:28 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA14551
	for <ipcdn-archive@odin.ietf.org>; Thu, 15 Apr 1999 17:05:17 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id NAA23594;
	Thu, 15 Apr 1999 13:59:25 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 15 Apr 1999 20:53:09 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id NAA12258
	for ipcdn-outgoing; Thu, 15 Apr 1999 13:55:01 -0700 (PDT)
From: JFellows@gi.com
Content-return: allowed
Date: Thu, 15 Apr 1999 13:57:43 -0700
Subject: RE: Strawman for initialization of snmpv3 agents in cable modems.
To: ipcdn@terayon.com
Message-id: <973597126BDDD11197AA00805FA7EBC9019DEDA0@ntas0026.gi.com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-type: text/plain
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com

Ran,

We at GI are currently working to integrate the Epilogue toolkit into our
product.
I do not personally know enough about v3 to be sure exactly what has to be
there 
to satisfy the @Home requirement.  I presume that all the infrastructure to
support 
USM will need to be there, including whatever key negotiation protocol we
eventually
all agree to.

A couple of questions:

Is it possible to get a list of MIBs that must be supported?

Are there any other mandatory configuration items?
(an @Home SNMPv3 profile, so to speak)

Jon Fellows

> -----Original Message-----
> From:	rja@corp.home.net [SMTP:rja@corp.home.net]
> Sent:	Friday, April 09, 1999 8:32 AM
> To:	ipcdn@terayon.com
> Subject:	Re: Strawman for initialization of snmpv3 agents in cable
> modems.
> 
> 
> Jack,
> 
> 	I can't and won't try to speak for the CableLabs process.
> I can and will say that modems will have to be upgraded to support
> SNMPv3 to meet @Home's needs.  This even includes already deployed
> MCNS 1.0 modems.  We've already seen security compromises that are
> believed due to SNMPv1, so this is directly impacting our business.
> 
> Yours,
> 
> Ran
> rja@corp.home.net


From owner-ipcdn@terayon.com  Sat Apr 24 18:59:18 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA14980
	for <ipcdn-archive@odin.ietf.org>; Sat, 24 Apr 1999 18:59:17 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id PAA06898;
	Sat, 24 Apr 1999 15:54:42 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 24 Apr 1999 22:47:54 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id PAA22574
	for ipcdn-outgoing; Sat, 24 Apr 1999 15:51:35 -0700 (PDT)
From: rja@corp.home.net (Randall Atkinson)
Message-Id: <990424155424.ZM29007@dragonfly.eos.home.net>
Date: Sat, 24 Apr 1999 15:54:24 -0700
X-Mailer: Z-Mail (4.0.1 13Jan97)
To: ipcdn@terayon.com
Subject: FYI: @Home Tech Note 10 is out
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com

FYI:

	@Home Technical Note 10, which supercedes @Home Technical
Note 7, is now available in PS or PDF by pointing your web browser at:
	ftp://ftp.home.net/pub/rja/index.html

	Any questions or comments should be sent unicast to
me rather than to the list at large.  I mention it on this list
because of requests from folks on this list.

Regards,

Ran
rja@corp.home.net


From owner-ipcdn@terayon.com  Fri Apr 30 12:45:50 1999
Received: from www.terayon.com (terayon.com [157.22.250.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA06254
	for <ipcdn-archive@odin.ietf.org>; Fri, 30 Apr 1999 12:45:48 -0400 (EDT)
Received: from redpine.terayon.com (redpine [157.22.250.5])
	by www.terayon.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id JAA26463;
	Fri, 30 Apr 1999 09:42:04 -0700 (PDT)
Received: from mailer.terayon.com by redpine.terayon.com
          via smtpd (for mails.terayon.com [157.22.250.1]) with SMTP; 30 Apr 1999 16:34:55 UT
Received: (from root@localhost)
	by terayon.com (8.8.8+Sun/8.8.8) id JAA20030
	for ipcdn-outgoing; Fri, 30 Apr 1999 09:38:16 -0700 (PDT)
From: "Bob Himlin" <rhimlin@turbonet-comm.com>
To: <docsis-oss@cablelabs.com>, <ipcdn@terayon.com>
Subject: docsDevEvThrottleInhibited confusion
Date: Fri, 30 Apr 1999 09:40:04 -0700
Message-ID: <000501be9328$22faf6c0$0c52dad1@Bhcomp.turbonet-comm.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Importance: Normal
Sender: owner-ipcdn@terayon.com
Precedence: bulk
Reply-To: ipcdn@terayon.com
Content-Transfer-Encoding: 7bit

docsDevEvThrottleInhibited OBJECT-TYPE
        SYNTAX      TruthValue
        MAX-ACCESS  read-only
        STATUS      current
        DESCRIPTION
            "If true(1), trap and syslog transmission is currently
             inhibited due to thresholds and/or the current setting of
             docsDevEvThrottleAdminStatus. In addition, this is set to
             true(1) if transmission is inhibited due to no
             syslog (docsDevEvSyslog) or trap (docsDevNmAccessEntry)
             destinations having been set."
        ::= { docsDevEvent 4 }

This object description conflicts with itself.  It says it is to be set true
(1) if trap AND syslog transmission is inhibited due to throttling.  It also
says it is to be set true (1) if no syslog OR trap destination is
configured.  This means it is possible to configure a CM with a syslog
server and no trap destination, and the object will read true (inhibited)
even though syslog events are not necessarily inhibited.  Or would they be?
Same thing if a trap destination is configured but no syslog.  I would
suggest the last sentence "no syslog or trap" be changed to "neither syslog
nor trap".  Or comments on a different legal interpretation of this object.

Bob Himlin
TurboNet Communications



