For the situation whereby multiple payload messages are in a single TCP/UDP packet, it would be nice to be able to display the Info for each payload on adjacent rows of the Packet List Pane.

What would be the appropriate API calls to display the Info in any of the following formats within a custom dissector plug-in code?

e.g. – Currently, my dissector performs the correction dissection on both messages, but I’m having to display the information for both messages on the same row within the “Info” column

So it looks like:

No.   Time  Source    Destination  Protocol  Info
1     232.1 10.1.1.1  10.1.1.2     XXXX      DOG CAT

What do I need to do to make the presentation look like:

No.   Time  Source    Destination  Protocol  Info
1     232.1 10.1.1.1  10.1.1.2     XXXX      DOG
                                             CAT

or even:

No.   Time  Source    Destination  Protocol  Info
1     232.1 10.1.1.1  10.1.1.2     XXXX      DOG
1     232.1 10.1.1.1  10.1.1.2     XXXX      CAT

or perhaps:

No.   Time  Source    Destination  Protocol  Info
1     232.1 10.1.1.1  10.1.1.2     XXXX      DOG
2     232.1 10.1.1.1  10.1.1.2     XXXX      CAT

This is along the lines of Wireshark Wishlist item #24.

asked 06 Aug '12, 14:09

joeEmbed's gravatar image

joeEmbed
1112
accept rate: 0%

edited 06 Aug '12, 14:20

helloworld's gravatar image

helloworld
2.6k21739


As per the followup message to the one helloworld cited, there are no appropriate API calls for doing that - "All the information goes on the one row. The rows are frame-oriented, not PDU-oriented."

A display of that sort would require enhancements to Wireshark, as per the "along the lines" citing a wishlist item (i.e., an request by somebody who wishes for something to be added to Wireshark) and this mail message, which was a followup to this (ethereal-dev!) mail message.

link

answered 06 Aug '12, 19:07

Guy%20Harris's gravatar image

Guy Harris ♦♦
7.6k11898
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×106
×5

Asked: 06 Aug '12, 14:09

Seen: 477 times

Last updated: 06 Aug '12, 19:07

powered by OSQA