Hi, I am using an older version of IPFS 0.4.5-dev (I know I have to update, soon because I did some modifications to the IPFS and is a bit complicated).
I have 2 nodes running locally, ports 5001 and 5003. I want to read the default, unencrypted messages sent from Node 5001 to 5003 when I perform a “cat” operation from 5003 requesting a file from 5001 on the low level (bitswap).
When I setup my Wireshark to listen on all these ports and run:
ipfs --api=/ip4/127.0.0.1/tcp/5003 cat QmSjX4K6ovAWP1mLE1xyaA3SLksVsxCxHzakmmXf248kH3
I am able to see the request and response but this is not the low level bitswap communication over a stream.
How can I listen to the bitswap network protocol communication between nodes?
I believe is this part of the code:
I tried to check the http://localhost:5001/logs as well but didn’t find there my request.