Skip to content

Added DIME message#409

Merged
generalmimon merged 17 commits intokaitai-io:masterfrom
Sijisu:sijisu/add-dime_message
Feb 2, 2021
Merged

Added DIME message#409
generalmimon merged 17 commits intokaitai-io:masterfrom
Sijisu:sijisu/add-dime_message

Conversation

@Sijisu
Copy link
Copy Markdown
Contributor

@Sijisu Sijisu commented Jan 28, 2021

Adding the old-school DIME (Direct Internet Message Encapsulation) format. Based on the 2002 Microsoft draft here.

I was unsure on the folder where to put it, but settled on network/.

Thanks for this awesome project!

@Sijisu
Copy link
Copy Markdown
Contributor Author

Sijisu commented Jan 28, 2021

Forgot to include an example, I made this to parse the image response from my scanner, so here is an example response from my scanner:

https://d.sijisu.eu/scanner.dump

Works great in the Kaitai Web IDE

Comment thread network/dime_message.ksy Outdated
@generalmimon
Copy link
Copy Markdown
Member

@Sijisu:

so here is an example response from my scanner:

https://d.sijisu.eu/scanner.dump

Thanks for the sample. I'm also uploading it GZIPped here on GitHub so that it stays available best forever: scanner.dump.gz

Comment thread network/dime_message.ksy Outdated
Comment thread network/dime_message.ksy
Comment thread network/dime_message.ksy Outdated
Comment thread network/dime_message.ksy Outdated
Comment thread network/dime_message.ksy Outdated
Comment thread network/dime_message.ksy Outdated
Comment thread network/dime_message.ksy
Comment thread network/dime_message.ksy Outdated
Comment thread network/dime_message.ksy Outdated
Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>
@Sijisu Sijisu requested a review from generalmimon January 29, 2021 13:08
Comment thread network/dime_message.ksy
Comment thread network/dime_message.ksy Outdated
Comment thread network/dime_message.ksy
Comment thread network/dime_message.ksy
Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>
Comment thread network/dime_message.ksy
Comment thread network/dime_message.ksy
@Sijisu Sijisu requested a review from generalmimon January 29, 2021 15:21
Comment thread network/dime_message.ksy
Comment thread network/dime_message.ksy Outdated
Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>
Copy link
Copy Markdown
Member

@generalmimon generalmimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the contribution!

@generalmimon generalmimon merged commit 2b001b5 into kaitai-io:master Feb 2, 2021
@Sijisu
Copy link
Copy Markdown
Contributor Author

Sijisu commented Feb 2, 2021

Thank you for the help and reviews, guys!

@Sijisu Sijisu deleted the sijisu/add-dime_message branch February 2, 2021 09:47
ZetaTwo pushed a commit to ZetaTwo/kaitai_struct_formats that referenced this pull request May 17, 2022
* Added DIME message

* Resolving requested changes

* More expresive padding size definition

* Made doc strings one-line

* Changing padding id to avoid name collision

* Fixed indentation

* Simplify padding size

Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>

* Include sample file

Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>

* Spelling

* Added file extension and mime type

Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>

* Added options_field structure

* Link directly to the ietf.org

* Doc strings clarity

* ID and type as strings

* More doc strings

* Updated sample file

Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>

Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>
ZetaTwo pushed a commit to ZetaTwo/kaitai_struct_formats that referenced this pull request May 17, 2022
* Added DIME message

* Resolving requested changes

* More expresive padding size definition

* Made doc strings one-line

* Changing padding id to avoid name collision

* Fixed indentation

* Simplify padding size

Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>

* Include sample file

Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>

* Spelling

* Added file extension and mime type

Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>

* Added options_field structure

* Link directly to the ietf.org

* Doc strings clarity

* ID and type as strings

* More doc strings

* Updated sample file

Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>

Co-authored-by: Petr Pučil <petr.pucil@seznam.cz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants