Bitcoin Forum
May 01, 2024, 11:57:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-dissector with wireshark  (Read 3053 times)
sanner (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 22, 2013, 06:31:05 AM
 #1

Hello,

I was asked to prepare a school project on distributed systems.
I would like to analyze the Bitcoin protocol and capture transactions in real time. so I thought to do so by sniffing through WIRESHARK.
So I checked for filter/dissector and found repository authored by "blueCommand":

'bitcoin-dissector' https://github.com/blueCommand/bitcoin-dissector

Is there anyone here who has an idea how to deal with it, and know how to compile and run it?

i'll appreciate your help!
 Wink Wink Wink
1714564638
Hero Member
*
Offline Offline

Posts: 1714564638

View Profile Personal Message (Offline)

Ignore
1714564638
Reply with quote  #2

1714564638
Report to moderator
1714564638
Hero Member
*
Offline Offline

Posts: 1714564638

View Profile Personal Message (Offline)

Ignore
1714564638
Reply with quote  #2

1714564638
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
voneiden
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
May 22, 2013, 07:43:33 AM
 #2

If you're running linux..

I'd give it a shot with the old public release of wireshark; http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-1.6.15.tar.bz2 and then just follow the readme on the github.

If you're running windows, uh.. try something completely different. What's your level of understanding on packet sniffing? Would it be enough to observe the transactions going live on blockchain.info?
sanner (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 22, 2013, 08:42:48 AM
 #3

Well i manage to compile '/packet-bitcoin.c'
but when i run this command :
 * patch -p0 < ~/bitcoin-dissector/wireshark-make.patch
i get this error:
Code:
patching file epan/dissectors/Makefile.common
Hunk #1 FAILED at 274.
1 out of 1 hunk FAILED -- saving rejects to file epan/dissectors/Makefile.common.rej
What do i miss?
marjan-
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 22, 2013, 09:08:06 AM
 #4

This one is newer, and might be a better choice (did not try it myself):
https://github.com/lbotsch/wireshark-bitcoin/blob/master/README
sanner (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 23, 2013, 05:43:48 AM
 #5

Well i'm having a compiling problem in linux:

whenever i'm trying to install pkgs like - GTK+, glib etc. i get this error:


Code:
./configure

and then:

Code:
make
make: *** No targets specified and no makefile found.  Stop.

and i have makefile in the directory, i tried with
make -f makefile
 &
make -f Makefile
 
but i get :
Code:
make:*** No rule to make target `Makefile'.  Stop.


what is it then?
bitanalyst
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
May 27, 2013, 09:37:37 PM
 #6

The latest Developers Edition of Wireshark (1.10.0rc2) has support for the Bitcoin protocol.  I tested the 64 bit version on Windows 7 and I was successfully able to decode traffic.

http://www.wireshark.org/download.html#development-rel

I also compiled the newest version of the Developers Edition (1.11) from the source tree and the Bitcoin dissector was partially broken so for now I would recommend using the version from their site.
sanner (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 13, 2013, 05:25:31 PM
 #7

thanks!! ill give it a shot Wink
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!