Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOR support #202

Open
Scalena opened this issue Aug 21, 2022 · 6 comments
Open

TOR support #202

Scalena opened this issue Aug 21, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@Scalena
Copy link

Scalena commented Aug 21, 2022

Integrated TOR support may be an important feature for the privacy-conscious Monero community. This would include connecting to peers through the socks5 TOR proxy, running a p2pool node as a hidden service and advertising its .onion address to peers. Similarly, I2P support can be considered, but this might better be addressed in a separate issue.

@SChernykh
Copy link
Owner

It's in my list of things to do, but be aware that the typical ping time when connecting through TOR is around 500 ms which is very bad for mining. P2Pool has block time of 10 seconds, and 500 ms ping will give you a lot of uncle blocks = direct loss of profitability.

As of now, you can already run a P2Pool node as a hidden service for your mining rigs - XMRig supports SOCKS5 proxies and no special support is required from P2Pool to run as a hidden service.

@Scalena
Copy link
Author

Scalena commented Aug 22, 2022

I realize that the longer latency of TOR could be a problem. However, unless it makes mining unrealistic, it might be an acceptable cost for some. At least, I'd look forward to it if you decide to implement it.

@SChernykh SChernykh added the enhancement New feature or request label Oct 24, 2022
@honobo
Copy link

honobo commented Sep 1, 2023

p2pool --host 127.0.0.1 --socks5 127.0.0.1:9050

@hundehausen
Copy link

@hassan0ibrahim
Copy link

Is there any updates on this

@SChernykh
Copy link
Owner

@hassan0ibrahim https://github.com/SChernykh/p2pool/blob/master/docs/COMMAND_LINE.MD
There is --socks5 and --no-dns command line options. If you use these two with TOR SOCKS5 proxy, all P2Pool traffic will go through TOR. You can also set up a TOR hidden service for P2Pool Stratum port using standard approach - nothing from P2Pool side is needed for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants