Skip to content

Releases: Elycin/PoolOverSocks5

Complete refactor of core functionality and configuration

15 Mar 21:02
78f0716
Compare
Choose a tag to compare

Summary

This update is extensive, and is recommended for upgrade.
Most of the code has been rewritten and optimized, with a few teaks to console output and the way configurations are passed.

Instead of passing arguments, there is now a configuration JSON file that may be modified for convienience of just running dotnet run

Compiling

  • Pull the repository
    *Change current working directory to PoolOverSocks5/PoolOverSocks5
  • Execute dotnet build

Running the application for the first time

  • Execute dotnet run
  • Read the initial configuration message and change your settings
  • Execute dotnet run again to start the application.

A foreword about warnings

You may receive a few warnings about Starksoft.Aspen, it is safe to ignore

Docker Script

RUN wget https://dot.net/v1/dotnet-install.sh
RUN bash ./dotnet-install.sh
RUN cd PoolOverSocks5 && dotnet build && dotnet run

CMD ["/usr/bin/dotnet", "run"]

1.0.1 - Textual fixes

20 Dec 22:24
Compare
Choose a tag to compare

This release has a few fixes on the way text is parsed and handled.

  • Implemented a bandwidth counter, will print on every proxy response
  • Responses are now newline'd
  • Added more examples
  • Removed quotation of responses.
  • Increased network buffer to 4096 bytes to work with more cryptocurrency pools.

Installation Instructions:

# download latest build and extract
$ cd PoolOverSocks5/PoolOverSocks5
$ dotnet restore
$ dotnet build
$ dotnet run pool.usxmrpool.com:3333 127.0.0.1:9050 127.0.0.1:3333

Example Outputs:

PS C:\Users\elyci\source\repos\PoolOverSocks5\PoolOverSocks5> dotnet run

Error: Invalid amount of command line arguments specified.
Please run the application in the following manner:

Examples:
> dotnet run     [PoolAddress:port]              [Socks5Address:port]            [RelayAddress:port]
> dotnet run     pool.usxmrpool.com:3333         127.0.0.1:9050                  127.0.0.1:3333
> dotnet run     pool.usxmrpool.com:3333         5.135.194.50:3020               127.0.0.1:3333
> dotnet run     pool.usxmrpool.com:3333         127.0.0.1:9050                  10.0.0.2:3333
> dotnet run     pool.usxmrpool.com:3333         127.0.0.1:9050                  192.168.1.2:3333
> dotnet run     pool.usxmrpool.com:3333         127.0.0.1:9050                  0.0.0.0:3333

Press any key to exit.

PS C:\Users\elyci\source\repos\PoolOverSocks5\PoolOverSocks5> dotnet run pool.usxmrpool.com:3333 127.0.0.1:9050 127.0.0.1:3333

PoolOverSocks5
Project by Elycin <Ely Haughie>
Source Code: https://github.com/elycin/pooloversocks5
BTC: 1MwzVSXVfm1Gfvtc2n3vqam8434cGA5GgT

Waiting for your miner to connect...
Your miner has connected!
Successfully connected to your socks5 proxy!
Successfully connected to your pool!
Miner:
{"method":"login","params":{"login":"4JUdGzvrMFDWrUUwY3toJATSeNwjn54LkCnKBPRzDuhzi5vSepHfUckJNxRL2gjkNrSqtCoRUrEDAgRwsQvVCjZbRxjWTA8jzqk5G67neS","pass":"x","agent":"xmr-stak/2.1.0/30888a3/master/win/nvidia-amd-cpu/aeon-monero/20"},"id":1}
Proxy Response:
{"id":1,"jsonrpc":"2.0","error":null,"result":{"id":"7358ef29-568f-4594-8f5e-436e06c6894d","job":{"blob":"06068fccebd1052fcc8d642d5a1ca4c5d96d4852c44691e7fa7185b9110d19e029d5d579c5edba000000008041d58f27984e854f7aa6486eaaa4dfe754b9b196ecb0acac5fac7b2722f32517","job_id":"RTD6A+JA+b080yz3Ngjn6SfNwgYG","target":"37894100","id":"7358ef29-568f-4594-8f5e-436e06c6894d"},"status":"OK"}}
Bandwidth Usage: 0.0006 MB

1.0.0 - Initial Release

20 Dec 20:15
Compare
Choose a tag to compare

This is the first release of which is deemed to be in working state for usage.
There may be bugs with synchronous worker if your miner disconnects, but that is all that is known.

# download latest build and extract
$ cd PoolOverSocks5/PoolOverSocks5
$ dotnet restore
$ dotnet build
$ dotnet run pool.usxmrpool.com:3333 127.0.0.1:9050 127.0.0.1:3333