Bitcoin Forum
November 14, 2024, 08:57:28 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Pool mining view outgoing mining status  (Read 224 times)
dwarf_racoon (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 09, 2022, 04:12:46 PM
 #1

This is probably a very newbie question, but is there a way that I can monitor the hashes and or candidate blockheaders that my BTC Antminer is sending back and forth to a pool? Can this be done just by observing the communication traffic on my subnet or would I have to go through the pool to view this?

In the paper 'Hardening Stratum, the Bitcoin Pool Mining Protocol', it seems like they are able to view this traffic, eg Figure 4. How would one set this kind of a view up? I'm good with dealing with the data side, it's the networking aspect. I'm interested in observing the difficulty of hashes that my miners are outputting, but with more depth than most mining pools I have been on provide.
BitMaxz
Legendary
*
Offline Offline

Activity: 3444
Merit: 3172


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
November 09, 2022, 04:55:40 PM
 #2

I don't think you can monitor them by observing traffic.

What do you want to achieve?

Why not check it through the pool or access the miner's IP and go check the miner's status?

Or you want to access your miner through API calls?
I can't figure out what exactly your miner is but Bitmain units have API calls that you can use like requesting a summary of miner status.

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
sabre_labs
Jr. Member
*
Offline Offline

Activity: 36
Merit: 2


View Profile
November 15, 2022, 07:24:31 AM
 #3

Stratum on its own is not secured and you can easily reconstruct the TCP going through from miner to pool server.

That being said the Stratum V2 being pushed by Braiins would be encrypted while in transit but it is not a standard protocol as yet and doesn't look to be anytime soon.

If you are looking at finding out shares being sent back to pool and the share diff etc, these can mostly be found on the miner's dashboard or via API and might be easier than sniffing and reconstructing packets.
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
November 22, 2022, 02:07:19 PM
 #4

The packets are simple text easy to read ... unless you firmware is hiding them by encrypting them.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
barrysty1e
Hero Member
*****
Offline Offline

Activity: 637
Merit: 516



View Profile WWW
November 23, 2022, 02:40:51 AM
 #5

This is probably a very newbie question, but is there a way that I can monitor the hashes and or candidate blockheaders that my BTC Antminer is sending back and forth to a pool? Can this be done just by observing the communication traffic on my subnet or would I have to go through the pool to view this?

In the paper 'Hardening Stratum, the Bitcoin Pool Mining Protocol', it seems like they are able to view this traffic, eg Figure 4. How would one set this kind of a view up? I'm good with dealing with the data side, it's the networking aspect. I'm interested in observing the difficulty of hashes that my miners are outputting, but with more depth than most mining pools I have been on provide.

very easily, you simply need to place a tcp proxy inbetween your miner and the pool.
i use this one all the time (https://voorloopnul.com/blog/a-python-proxy-in-less-than-100-lines-of-code/), you simply modify the host/port at the top, then the listening interface at the bottom.

my father wears sneakers in the pool
fennic
Member
**
Offline Offline

Activity: 126
Merit: 39


View Profile
December 03, 2022, 07:33:00 PM
 #6

In my opinion that's not possible for cause they are connected through mining pools and that they cannot revealed data so easily unless they are solving unfolded data and that's the reason in future this might help you a lot. If not a tech person but still that's not fitting on my desk.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Bet2Dream ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬  Get Free Bal($) When You Register! Join Now!  ▬▬▬▬▬
▬▬▬  Referral & Mining Program | Event & Daily Rewards! | Bet2Dream NFT Club! ▬▬▬
dwarf_racoon (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
December 06, 2022, 05:35:05 PM
 #7

following barrysty1e a proxy between the miner and pool seems to be working just fine and well. there is a multitude of stratum proxies and simple tcp proxies out there that seem able to do this
DaveF
Legendary
*
Offline Offline

Activity: 3654
Merit: 6671


Crypto Swap Exchange


View Profile WWW
December 11, 2022, 04:22:51 PM
 #8

No need to do a proxy, wireshark https://www.wireshark.org/ works wonders you can monitor just about everything going on in your network and it can rebuild conversations between source <--> destination quite well. There are also some tools that require a bit more work that can give you more information but they do require a bit more work / knowledge of networking.

Depending on the network switch you are plugged into you may have to change a few things to see all the data.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!