Open-Markets-Initiative / wireshark-lua

Source generated cross platform Wireshark dissectors
GNU General Public License v3.0
184 stars 63 forks source link

Sbe does not process <data> element #14

Closed Open-Markets-Initiative closed 4 years ago

Open-Markets-Initiative commented 4 years ago

Sbe has variable length fields that are not generated correctly:

<ns2:message name="Negotiate500" id="500" description="Negotiate" blockLength="76" semanticType="Negotiate">
  <field name="CustomerFlow" id="39000" type="ClientFlowType" description="Constant value representing type of flow from customer to CME" semanticType="String"/>
  <field name="Firm" id="39007" type="String5Req" description="Firm ID" offset="71" semanticType="String"/>
...
  <data name="Credentials" id="39008" type="DATA" description="Not used and will be set to 0" semanticType="data"/>
</ns2:message>
Open-Markets-Initiative commented 4 years ago

Added this functionality. Note that if the var data is anything more than a simple length and field this will need to be updated.