Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: WitcherSanek on November 02, 2018, 01:08:27 PM



Title: [T-Rex miner Readonly API utility]-opensource software for safe T-Rex monitoring
Post by: WitcherSanek on November 02, 2018, 01:08:27 PM
Hi all,
T-rex is a good miner for NVIDIA cards with wide range of algos, but it has a big drawback. It has no option to grant different access permissions for different HTTP requests("summary" for monitoring, "trex", "config" to change config). So either you can't monitor your miners from remote computer or put your mining process in danger(pool, wallet, gpu config can be changed by anyone who has access to HTTP API).
So i've made a C#-written opensource console application that allows only "summary" command to be accessed. Application opens HTTP server which returns result of last "summary" command of local T-Rex miner(basically by polling local miner's "summary" response, so miner's HTTP API address can be changed to 'localhost', making anyone outside unable to change miner's config). With this utility you can safely monitor your miner literally from anywhere(if you have static ip/VPN/...) without "config" being accessed by undesirable persons.
Here is a github link for source code, usage examples and compiled binaries https://github.com/AleksandrParamonov/T-Rex-miner-Readonly-API.
Sorry for my bad English.