rlaager / docsis

This program encodes a DOCSIS binary configuration file from a human-readable text configuration file.
http://docsis.sourceforge.net
GNU General Public License v2.0
114 stars 70 forks source link

TLV81 encoding issue. DOCSIS 3.1 SSD #54

Closed jforhan closed 7 years ago

jforhan commented 7 years ago

"docsis_symtable.h" has TLV81 as "encode_nothing". It should be able to encode it just fine as a hex string. TLV82 is set to encode as hex.

M-CVC: config file contains a Manufacturer CVC (TLV 32) Co-CVC: config file contains a Cosigner CVC (TLV 33) M-chain: config file contains a Manufacturer CVC-chain (TLV 81) Co-chain: config file contains a Cosigner CVC-chain (TLV 82)

32/33 are for legacy modems (DOCSIS 1.x,2.0 & 3.0). For DOCSIS 3.1 a chain of certs is required (TLV81/82) rather than just the MfgCVCData.

The firmware I have is not co-signed so I need to be able to encode TLV81.

Jeff

jforhan commented 7 years ago

Confirmed that if I change docsis_symtable.h to "encode_hexstr" for TLV81 and recompile it encodes TLV81 correctly and D3.1 modems upgrade their firmware.

rlaager commented 7 years ago

@jforhan, does that commit match the change you made?

jforhan commented 7 years ago

Yes, this is the same as the change I made.

[cid:image001.png@01D2A3EF.3A174340] Jeff Forhan Network Consulting Engineer Cable BU

Cisco Systems, Inc. United States Cisco.comhttp://www.cisco.com/

[hink before you print.]Think before you speak.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html

"There are 10 types of people, those that understand binary, and those that don't."

[“hip” , “hip”]

From: Richard Laager notifications@github.com Reply-To: rlaager/docsis reply@reply.github.com Date: Thursday, March 23, 2017 at 13:24 To: rlaager/docsis docsis@noreply.github.com Cc: "Jeff Forhan (jforhan)" jforhan@cisco.com, Mention mention@noreply.github.com Subject: Re: [rlaager/docsis] TLV81 encoding issue. DOCSIS 3.1 SSD (#54)

@jforhanhttps://github.com/jforhan, does that commit match the change you made?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/rlaager/docsis/issues/54#issuecomment-288796221, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATA7V-BY1Xra8XRLuCpx0a5-Zn39N-6eks5roqq9gaJpZM4MmxX4.