Monitoring Mining Traffic to Pool

7 replies 316 views
chain2021Member
Posts: 3 · Reputation: 200
#1Jan 1, 2019, 05:34 PM
Not sure if this is a dumb question, but is there a way to track the hashes or block headers my BTC Antminer is sending to the pool? Can I just use my own subnet traffic or do I need to check with the pool directly for this info? I saw something in the paper about viewing this kind of traffic. Just wondering how to set it up...
2 Reply Quote Share
whale420Senior Member
Posts: 727 · Reputation: 853
#2Jan 1, 2019, 07:35 PM
Not a dumb question. But honestly, you probably can't just watch traffic like that. What are you aiming to do? Why not just check it directly from the pool or look at your miner's IP for its status? Or are you thinking about using API calls to grab data from your miner?
0 Reply Quote Share
gang_kingNewbie
Posts: 7 · Reputation: 10
#3Jan 2, 2019, 12:40 AM
Stratum isn't really secure, so you could technically reconstruct the TCP traffic between your miner and the pool server. But Stratum V2, which Braiins is working on, does encrypt data in transit. It’s not standard yet though. If you just wanna see shares sent back to the pool, it's easier to check the miner's dashboard or use the API.
5 Reply Quote Share
Posts: 145 · Reputation: 208
#4Jan 2, 2019, 05:35 AM
The packets are mostly text and should be readable... unless your firmware is encrypting them.
0 Reply Quote Share
Posts: 1 · Reputation: 93
#5Jan 2, 2019, 11:04 AM
It’s actually pretty easy. You just need a TCP proxy between your miner and the pool. I use this Python proxy all the time. Just change the host and port at the top and set the listening interface at the bottom. Simple as that.
1 Reply Quote Share
mr_chadMember
Posts: 15 · Reputation: 45
#6Jan 2, 2019, 11:51 AM
I doubt it’s that straightforward because everything goes through mining pools, and they don’t just share data like that. Unless they’re solving for something unique, I don’t see how you’d get that info easily. Not everyone’s a techy either.
3 Reply Quote Share
chain2021Member
Posts: 3 · Reputation: 200
#7Jan 2, 2019, 04:48 PM
Yeah, I kinda agree with you there. But like the other guy said, a proxy could work well. There are plenty of Stratum proxies available, some are really simple to set up.
0 Reply Quote Share
wallet_vaultFull Member
Posts: 321 · Reputation: 431
#8Jan 3, 2019, 09:13 PM
No need for a proxy, dude. Wireshark is where it’s at. You can see almost everything happening on your network and it does a great job of reassembling conversations from source to destination. Depending on your network setup, you might need to tweak some things to catch all the data.
1 Reply Quote Share

Related topics