Hi Conall,
You’re quite in the right place here to put forward these questions. I’ll have a go and try to answer them.
Now we’ve to look a bit at Wireshark’s design. In its core there’s EPAN, the dissection engine. This is where the HTTP dissector lives. The output of the dissection engine is used in various ways. In Wireshark it’s used to fill the GUI, in tshark it’s used to generate the text output. What format this tshark text output has is determined by the command line parameters. Then it’s up to the output routines to include the data in the selected format. Now, the question remains how is the HTTP response code description processed by the JSON output routines.
Hi All,
Wireshark has the ability to enrich some of the numeric values it sees. For example, if is sees a http status code of 200, it might print "OK" beside it, because HTTP 200 means OK (This is just a guess, Im not sure what it does for HTTP status codes).
Is it possible to add this kind of enrichment to tshark's json output?
Regards, Conall
|