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

When encoding with empty MIC Key, PacketACE Refuses the file. #70

Closed ioukos closed 3 years ago

ioukos commented 3 years ago

We use PacketACE to generate files with an empty MIC Key. Description of the issue :

Do you know what could happen here ? Is there an issue because the file is empty ?

Thank you

rlaager commented 3 years ago

I have no idea. I’m just a “rescue maintainer”. I know very little about this codebase and haven’t used this tool in some time.

qnox81 commented 3 years ago

If you want have files encoded without any secret in mic you can try use mic file with only new line, no other character in it. It will encode properly and work with CMTSes with no secret configured.

czw., 4 lut 2021, 16:51 użytkownik ioukos notifications@github.com napisał:

We use PacketACE to generate files with an empty MIC Key. Description of the issue :

  • I decode a .md5 file generated form PacketACE with your tool docsis to a .txt file.
  • then I encode the .txt back to .md5 with an empty file as the MIC Key.
  • then I import this new .md5 file to PacketACE, which indicates me that the "Calculated CMTS MIC does not equal tje CMTS MIC in the file".
  • IF I set the key to something else (like foobar) as the MIC Key File AND in PacketACE there is no error.

Do you know what could happen here ? Is there an issue because the file is empty ?

Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rlaager/docsis/issues/70, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJBAXLFJ3YFOLWNTXPNW5LS5K7ARANCNFSM4XDCDP5Q .

ioukos commented 3 years ago

I tried to create a "one empty line" file with many techniques but I was not able to success:

Maybe I can activate DEBUG to show what is read by the encode function. How to do it ?

Any idea ?

ioukos commented 3 years ago

ok guys everything seems good if I set my MIC key to something else than an empty string.

Moreover I used 3 softwares (including yours and 2 proprietary others) to generate MIC with empty string and I obtain 3 differents results.

Thank you for you work.