Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-986

[C] proton-dump assumes one AMQP header

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.10
    • proton-0.11.0
    • proton-c
    • None
    • C

    Description

      Proton-dump discards the leading 8 bytes of data in all cases. I have two uses where this is a nuisance. They are generated by wireshark the same way:

      • Start wireshark trace
      • Find stream of interest
      • Follow TCP stream
      • Save As type raw
      • Feed the raw file to proton-dump

      Case 1. The raw saved file has a complete AMQP connection startup. The binary data has two AMQP headers and proton-dump fails.

      Case 2. The raw saved file starts midstream in the AMQP content. The binary data has no AMQP headers and proton-dump fails.

      With the wireshark dissector one usually does not need proton-dump. But sometimes wireshark complains about a frame format or a decoding issue. Proton-dump as an AMQP decoder is a higher authority than wireshark and fixing proton-dump a little improves its utility.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment