Hi,

In wireshark is there any way I can get input from user at run time and use that information to dissect packet information. The user information will be basically used to assign names to dissected fields.

asked 29 Feb '12, 19:04

ashish_goel's gravatar image

ashish_goel
15121216
accept rate: 0%


You may want to look into UAT's, see epan/uat.h. These can be used in dissector preferences, they're used for example by the HTTP dissector.

link

answered 01 Mar '12, 02:23

Jaap's gravatar image

Jaap ♦
6.4k774
accept rate: 11%

thanks jaap for your reply.. But where in the user submits the input and how this information gets available to dissect_XXX() function of the dissector.

(02 Mar '12, 10:28) ashish_goel

Hi!I'm encounter the same trouble . Did you resolve you problem? waiting for your reply.Thanks!

(20 Jun '12, 19:09) smilezuzu

Please look at the HTTP dissector. Look for header_name and header_desc, and UAT.

(21 Jun '12, 01:18) Jaap ♦
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:

×114

Asked: 29 Feb '12, 19:04

Seen: 1,091 times

Last updated: 21 Jun '12, 01:18

powered by OSQA