Skip to content

Releases: prontog/ws_dissector_helper

v0.3.1

31 Jan 14:32
Compare
Choose a tag to compare
  • Replaced trace preference with trace_level. Starts from 0 (off) and goes to 5 (debug)
  • Added more validations for Field.REPEATING
  • Εxported function createSimpleField that creates a FIXED/STRING/NUMERIC field from a spec.
  • Updated example cap2sop.sh with more verbosity levels to match the ones in the dissector.

v0.3.0

16 Jan 15:35
Compare
Choose a tag to compare
  • Fixed issue showing duplicate messages in tree when packet could not be parsed completely.
  • Corrected FIXED field validation by moving it to Field.FIXED itself.
  • Value of a COMPOSITE field is the text of the whole field. This way, the whole message can be easily exported with the -e option of tshark.
  • Added protocol version param to createProtoHelper
  • Added Field.OPTIONAL for optional string fields at the end of a message. Works fairly well for single messages per TCP segment. Do not use it otherwise.
  • Validation now fails if a Numeric field is invalid. It used to only print a warning.
  • Added a frame length validation. Improved tracing info.
  • Added critical/warm/message/info/debug methods and improved trace messages.
  • Added trace logging before validating/adding a field and before getting its value. This will help during troubleshooting.
  • COMPOSITE fields now map to ProtoFields. This will make exporting to json easier since there will be no _ws.lua.text fields.
  • Added name to COMPOSITE and REPEATING fields.
  • Validate before adding to Wireshark tree. This might slow thing down but the result is much better.
  • Improved comments and debug/info/warning/error messages.
  • Added capture files for both example protocols.
  • Changed default trace value to false. It can be easilly changed to true using the -o option of tshark.

v0.2.0

16 Jan 12:55
Compare
Choose a tag to compare
  • Added REPEATING-END field type to allow single fields after a group.
  • Renamed field.fieldType to field.type.
  • Moved column mapping arguments into a single table (function loadSpecs, readMsgSpec). Added a desc column for the field description.

v0.1.2

16 Jan 12:53
Compare
Choose a tag to compare
  • REPEATING fields can now include all simple types.
  • Removed "enable" protocol preference. Use the "Enabled Protocols" of Wireshark instead.

v0.1.1

16 Jan 12:50
Compare
Choose a tag to compare
  • VARLEN fields can now be anywhere in a message (not just at the end of it).
  • Fields with the same name but different length are now allowed.
  • Moved getHeaderValue to the helper.

v0.1.0

16 Jan 12:51
Compare
Choose a tag to compare

Initial commit with source, documentation and an example.