Ask Your Question

karkee's profile - activity

2023-07-25 08:35:44 +0000 received badge  Famous Question (source)
2021-12-28 18:34:08 +0000 received badge  Notable Question (source)
2020-07-23 06:34:11 +0000 received badge  Popular Question (source)
2018-07-23 19:19:57 +0000 marked best answer Dissector plugin dissector_add clarification

I am trying to write my very first dissector plugin, and I'm unsure about the first parameter of dissector_add_uint. The function is referenced in both the Wireshark Developer’s Guide and the packet-PROTOABBREV.c / README.dissector files. However, I'm not sure how to know what to choose for the first parameter (given in examples as "udp.port" and "tcp.port"). I am writing a dissector for a protocol that is not related to a standard protocol. Wireshark will receive that packet data either from a file or the computer's USB port via UART/USB serial. Any additional information about how to know what goes in this parameter is welcome. Thank you for your help.

Here is the function: dissector_add_uint( "udp.port", FOO_port, foo_handle );

2018-07-23 19:19:57 +0000 received badge  Scholar (source)
2018-06-29 16:25:00 +0000 commented question Dissector plugin dissector_add clarification

Actually, per https://osqa-ask.wireshark.org/questions/45642/import-from-plain-text-file, it looks like the file will ne

2018-06-29 05:18:37 +0000 commented question Dissector plugin dissector_add clarification

Most likely, it will be a .txt file with binary data. However, that could probably be changed if necessary. We will be

2018-06-29 05:18:08 +0000 commented question Dissector plugin dissector_add clarification

Most likely, it will be a .txt file with binary data. However, that could probably be changed if necessary. We will be

2018-06-29 05:17:59 +0000 commented question Dissector plugin dissector_add clarification

Most likely, it will be a .txt file with binary data. However, that could probably be changed if necessary. We will be

2018-06-29 05:17:28 +0000 commented question Dissector plugin dissector_add clarification

Most likely, it will be a .txt file with binary data. However, that could probably be changed if necessary. We will be

2018-06-28 23:22:52 +0000 commented answer Dissector plugin dissector_add clarification

Thank you for your help! That is a helpful explanation of how that parameter is used. How should I handle building the

2018-06-28 19:29:26 +0000 asked a question Dissector plugin: dissector_add clarification

Dissector plugin: dissector_add clarification I am trying to write my very first dissector plugin, and I'm unsure about

2018-06-28 19:28:00 +0000 asked a question Dissector plugin dissector_add clarification

Dissector plugin dissector_add clarification I am trying to write my very first dissector plugin, and I'm unsure about t