Re: pktcMtaDevProvConfigKey

"Randy Presuhn" <[email protected]>
Newsgroups gmane.ietf.ipcdn
Message-ID <000801c50010$20eff280$7f1afea9@oemcomputer>
Hi -

> From: "Jean-Francois Mule" <[email protected]>
> To: "Randy Presuhn" <[email protected]>; <[email protected]>
> Sent: Friday, January 21, 2005 1:55 PM
> Subject: [ipcdn] pktcMtaDevProvConfigKey
...
>   Do I interpret your comment above correctly by assuming that, on some
> SNMP agents, the return of a genErr would break a MIB walktrhough via
> get-next/get-bulk for e.g.? If that is the case, I agree we don't want
> this.

Yes, it would break MIB walks implemented using AgentX.
See RFC 2741 section 7.2.5.3. for details explaining why.

> > My suggestion, since this
> > object contains sensitive information anyway, is for it to
> > always return a zero-length string, rather than playing
> > strange games with error codes.
>
> Ok.
> I assume a "zero length string" means an octet string of size 0?

Yes.

>  How about this new text?
>
> pktcMtaDevProvConfigKey  OBJECT-TYPE
>     SYNTAX      OCTET STRING (SIZE(0|8))
>     MAX-ACCESS  read-write
>     STATUS      current
>     DESCRIPTION
>         " This object contains the key used to encrypt/decrypt
>           the configuration file when secure SNMPv3 provisioning
>           is used.
>           The privacy algorithm is DES, the key length is 64 bits.

Which DES mode? CBC? CFB? ECB? ...?  Is there an IV for the DES?

>           If this object is set at any other provisioning steps than
>           the one(s) allowed by the PacketCable MTA Device
>           Provisioning Specification, or, if this object is
>           set to a zero-length string value, the MTA MUST return
>           an 'inconsistentValue' error.

One can also formalize this using the WRITE-SYNTAX in the OBJECT
clause of the conformance material.

>           This object must not be used in non secure provisioning
>           mode.  In non secure provisioning modes, the MTA MUST
>           return an 'inconsistentValue' in response to SNMP SET
>           operations, and, the MTA MUST return a zero-length string
>           in response to SNMP GET operations."
...

Ok, though I meant that the MTA would ALWAYS return a zero-length
string in response to GET requests, not just in "non secure provisioning
modes."

Randy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.