https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3498
Summary: Enhancement for protocol validation with tshark
Product: Wireshark
Version: 1.0.8
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Medium
Component: TShark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: beastham@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Bryant Eastham <beastham@xxxxxxxxxxxxxxxxxxxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3066| |review_for_checkin?
Flag| |
Created an attachment (id=3066)
--> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=3066)
Tshark patch.
Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
I would like to use tshark in an automated test system to validate protocol
correctness. The expert info (ERROR) information is exactly what I want, but
tshark does not currently support it (for output).
The attached patch (quickly thrown together) adds a -P option to tshark that
will output the ERROR expert info for a packet after its summary line.
The only questionable change is the movement of tap_push_tapped_queue until
after the printing of the packet. I preferred this so that the summary line
appears *before* the expert info.
I am not extremely attached to the specifics, but I think that the feature is
very useful.
In order to automate the process, tshark returns an error code (the count of
ERRORs) if this mode is enabled.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.