Author

Topic: Writing a dissector for wireshark (Read 6986 times)

legendary
Activity: 2576
Merit: 1186
June 06, 2011, 08:19:50 PM
#7
Please add this project to BitGit, and enable CIA notification Cheesy
newbie
Activity: 14
Merit: 0
June 06, 2011, 01:30:00 PM
#6
Success!

Every message except for IP transactions, alert and headers are handled. The reason why these are not implemented is that I cannot verify that they behave like the documentation. I will extend this as we go along, but this will hopefully help people debug their clients and such.

Screenshot:
http://data.fuskbugg.se/skalman02/4ded1c579b364_wireshark.jpg
newbie
Activity: 14
Merit: 0
June 06, 2011, 03:03:38 AM
#5
In addition to pybitcoin, there is another python implementation of bitcion that you may be interested in:

https://github.com/phantomcircuit/bitcoin-alt

I think it is almost complete. The only thing that it is missing is the verify signature stuff in the scripting language.
Perfect! pybitoin seems to be abandoned, this project is in a much better state. Thank you!
It will do nicely in testing the dissector.
full member
Activity: 136
Merit: 100
June 05, 2011, 08:53:09 PM
#4
In addition to pybitcoin, there is another python implementation of bitcion that you may be interested in:

https://github.com/phantomcircuit/bitcoin-alt

I think it is almost complete. The only thing that it is missing is the verify signature stuff in the scripting language.
newbie
Activity: 51
Merit: 0
June 05, 2011, 07:04:40 PM
#3
 Smiley
newbie
Activity: 14
Merit: 0
June 05, 2011, 11:21:15 AM
#2
You can track progress on https://github.com/blueCommand/bitcoin-dissector
Currently supporting version, verack and addr messages.
newbie
Activity: 14
Merit: 0
June 05, 2011, 05:30:30 AM
#1
Hello.

After playing a bit with writing a python implementation of the protocol (extending pybitcoin) I find it very frustrating that I am unable to debug my packets. A quick scan around the wiki, IRC and forums revealed that no-one has stepped up to produce one, but I am going to write a wireshark dissector. Hopefully this will make the life of alternative implementations developers a bit easier.

I'll keep you posted - I should have something basic working by the end today or tomorrow and continue to extend it as I go along.
Jump to: