Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-0.10
-
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.