Bitcoin Forum
April 09, 2020, 10:08:21 AM *
News: Latest Bitcoin Core release: 0.19.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Writing a dissector for wireshark  (Read 6872 times)
bluecmd
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 05, 2011, 10: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.
1586426901
Hero Member
*
Offline Offline

Posts: 1586426901

View Profile Personal Message (Offline)

Ignore
1586426901
Reply with quote  #2

1586426901
Report to moderator
Best ratesfor crypto
EXCHANGE
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1586426901
Hero Member
*
Offline Offline

Posts: 1586426901

View Profile Personal Message (Offline)

Ignore
1586426901
Reply with quote  #2

1586426901
Report to moderator
1586426901
Hero Member
*
Offline Offline

Posts: 1586426901

View Profile Personal Message (Offline)

Ignore
1586426901
Reply with quote  #2

1586426901
Report to moderator
1586426901
Hero Member
*
Offline Offline

Posts: 1586426901

View Profile Personal Message (Offline)

Ignore
1586426901
Reply with quote  #2

1586426901
Report to moderator
bluecmd
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 05, 2011, 04:21:15 PM
 #2

You can track progress on https://github.com/blueCommand/bitcoin-dissector
Currently supporting version, verack and addr messages.
blap
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
June 06, 2011, 12:04:40 AM
 #3

 Smiley
alkor
Full Member
***
Offline Offline

Activity: 137
Merit: 100


View Profile
June 06, 2011, 01:53:09 AM
 #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.
bluecmd
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 06, 2011, 08: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.
bluecmd
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 06, 2011, 06:30:00 PM
Last edit: June 07, 2011, 05:59:14 AM by bluecmd
 #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
Luke-Jr
Legendary
*
expert
Offline Offline

Activity: 2506
Merit: 1022



View Profile
June 07, 2011, 01:19:50 AM
 #7

Please add this project to BitGit, and enable CIA notification Cheesy

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!