First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How can I edit or expand a protocol like `bitcoin`

The bitcoin protocol analyzer in Wireshark is great, but it's out of date. There are new message types, such as cmpctblock (Compact Block) that I need to analyze with the same ease as block messages.

When WS gets a block message, it is able to deconstruct it and label the parts of the message nicely (block version, merkle root, timestamp, etc.) I would like to define fields such as these for the bitcoin protocol messages that are not yet built in to the filter.

pinehadmz's avatar
1
pinehadmz
asked 2019-04-29 23:59:57 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Then you'll have to write the source code to expand the bitcoin dissector in order to generate these fields. This code can be contributed to the repository, see develop. Or you can file an enhancement request at the bug database. Attaching a capture file there can increase the chance of someone else investing their time in writing the code for you.

Jaap's avatar
13.7k
Jaap
answered 2019-04-30 06:35:06 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer