-
Notifications
You must be signed in to change notification settings - Fork 16
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 Relay Operator #72
Comments
I'm running https://metrics.torproject.org/rs.html#details/D4FBE51BC35C3921F31B6E561FD8C07BC56F9D71 which I will use as a baseline for what reasonable relay node stats would be. This setup costs about USD6 per month. |
Using https://github.com/nusenu/ansible-relayor I have now setup 6 more relays on 3 VPSs, 2 per instance according to recommendations from the Tor relay guide. I've tried this before but it didn't work properly but with the newest ansible-relayor it might be better. Hopefully this works as it seems like a much more solid way to manage relays. |
Little technical question: |
I think it's more important to spread the relays but maybe it's no good if there is too much lag. Typically the Tor community recommends spreading out the relays as much as possible and Africa in particular is under represented and I think Asia could also use more relays. If you're in the mood you should try it out and see if you get any usage. |
In fact, I had a look 6 months or one year ago, but I read that the install was rather complicated (?), so I didn't try. Here, from Europe, I experimented sure lag with a VPS in Asia (thru ssh). |
@HarryMacfinned That's probably part of the lag at least. If you want to just setup a single relay to test follow the Tor Relay Guide. I added a link in the initial comment. It's not hard if you're already comfortable setting up your own linux VPS. |
2018.08 reportAll relays have been running without any trouble, see https://metrics.torproject.org/rs.html#search/sqrrm I think it's a good thing we support relay nodes considering how dependent bisq is on the tor network, would be good if some more people were to run them. |
@sqrrm Could you provide some info how to get a Tor relay node setup? System requirements, install scripts,... |
@ManfredKarrer it is really simple to be honest. You just need to install Tor with "apt-get install tor", uncomment "RunAsDeamon 1" and "ORPort 9001" option in /etc/tor/torrc. Those two are the only required options, but of course there are all kinds of nice little options under that "just for relays" section in torrc file. You can setup a DNS address so the relay isn't just known by the IP, you can setup a nickname for the node so you can recognize it by more then just a fingerprint. Only options that is concerning security is the "MyFamily" option where you list fingerprints of your other nodes. Personally I would love to run a relay on a VPS one day, as I like running them whenever I am in position to do so, at least a bridge if nothing else, but currently I am not is position to do so for Bisq. |
2018.09 reportAll relays have been running without any trouble at reasonable rates, see https://metrics.torproject.org/rs.html#search/sqrrm Added installation instructions in issue description #72 (comment) |
I decided to run a couple of tor relays after reading this role and recent forum post https://bisq.community/t/how-to-deal-with-repeated-tor-problems/6334/ My goal is to better understand bisq, the dao, and how i might be able to help. This seems like a good place for me to start. https://metrics.torproject.org/rs.html#details/038D03689EE87ADA0224ED0671C109506039A8B5 The relays reside on digital ocean. tor specifically names this hosting provider as over-saturated :( I'm expecting to see advertised bandwidth increase in 72 hours according to tor documentation. Admittedly, low hanging fruit. But you have to start somewhere. |
@clearwater-trust Great thanks! |
@clearwater-trust It might be low hanging fruit but you're the first to do it after the role was created, good initiative. I noticed 188.166.21.247:9001 (clearwatertrustx2) has been down for a few days, in case you're not aware. |
@sqrrm thanks for the heads up! I'm serving bisq.shop from the vps and probably need to run the relay elsewhere. I switched the relay off in the interim. |
@sqrrm It would be good if we communicate a bit more in our community as well it the Tor community that we support Tor relay nodes by paying BSQ. |
2018.10 reportI have run 7 relays on 4 servers. All relays have been running without any trouble at reasonable rates, see https://metrics.torproject.org/rs.html#search/sqrrm |
2018.11 reportI run 7 relays on 4 servers. This month there was an issue with upgrading to a new tor version. There was some trouble upgrading but all now looks good, see https://metrics.torproject.org/rs.html#search/sqrrm |
2018.12 reportOne of the relays (185.25.51.202) got a complaint and bacloud suspended the service. After explaining that I run a relay and it's possible whoever complained don't understand the activity they thought were port scans I got it unsuspended. It's not exactly clear what caused the complaint but others running relays have had similar issues when the complainer were running a tor client and not understanding the replies. I'm currently monitoring the ip that complained to see if there is any further activity. Complaint:
To conclude December, there was some work to sort this out but after I spoke with the support and restarted my services there hasn't been any more issues. I hope this was a one time thing but I suspect it will happen again, the question is how often. During the downtime my relays lost their guard status but are not mostly back. https://metrics.torproject.org/rs.html#search/sqrrm |
2019.01 reportNo issues this month, running 7 relays without trouble https://metrics.torproject.org/rs.html#search/sqrrm |
2019.02 reportStill no issues or complaints, running 7 relays without trouble https://metrics.torproject.org/rs.html#search/sqrrm |
Cycle 24 report4 nodes running https://metrics.torproject.org/rs.html#search/sqrrm |
Cycle 25 report4 nodes running, metrics not working right now, but can usually be found at https://metrics.torproject.org/rs.html#search/sqrrm |
Cycle 26 report4 nodes running, metrics now working again, https://metrics.torproject.org/rs.html#search/sqrrm |
@bisqubutor looks great. I would support your relay nodes for compensation as long as the ask is reasonable. |
Cycle 27 report4 nodes running, metrics at https://metrics.torproject.org/rs.html#search/sqrrm |
@bisqubutor While I think it's a good thing to support tor nodes, that is a considerable jump in the number of nodes you are requesting compensation for. I didn't realize you intended to run this many and I'm not sure the bisq DAO is ready to support USD900 monthly for tor relays at this stage, considering the current trading volume and corresponding fees. I hope that other contributors would add their opinions on this as well. |
Cycle 28 report4 nodes running, metrics at https://metrics.torproject.org/rs.html#search/sqrrm |
I agree, this is an exorbitant 20x increase in nodes and compensation. Is there any prior talk/documentation about this action? |
bisqubutor is not assigned to this role, no idea why is he making reports and claiming compensation |
Cycle 29 report4 nodes running, metrics at https://metrics.torproject.org/rs.html#search/sqrrm Regarding bisqubutor's relays, could we come to some agreement to support some of their nodes? It seems good to support some, although 80+ is a bit much. |
Cycle 30 report4 nodes running, metrics at https://metrics.torproject.org/rs.html#search/sqrrm |
Cycle 31 report4 nodes running, metrics at https://metrics.torproject.org/rs.html#search/sqrrm |
@bisqubutor I understand you had to cancel the servers. I think adding so many servers doesn't sit right with most bisq contributors. If you're still interested in running a few nodes, then we should get a consensus from the ops team and approval from @Emzy to include this in the bisq budget. That way know also how much you can claim and how to budget from your side. I'm sorry for my slow reply, I've been rather inactive the last few months. |
Cycle 32 report4 nodes running, metrics at https://metrics.torproject.org/rs.html#search/sqrrm |
In short, I think we should stop this role. |
Cycle 33 report4 nodes running, metrics at https://metrics.torproject.org/rs.html#search/sqrrm I think this will be my last cycle doing this role from the look of it. |
The proposal to discontinue this role was accepted in cycle 33 bisq-network/proposals#363 |
Docs:
Team: @bisq-network/tor-relay-operators
Primary owner: @sqrrm
As discussed in bisq-network/proposals#15 (comment)
The tor relay operator should keep a tor relay running with reasonable stats on https://metrics.torproject.org/rs.html#search
To be eligible for compensation the operator should:
Installation
There are instructions on how to set up a relay at https://trac.torproject.org/projects/tor/wiki/TorRelayGuide and a tool to locally manage multiple relays at https://github.com/nusenu/ansible-relayor
Example
I followed the guide at https://medium.com/@nusenu/deploying-tor-relays-with-ansible-6612593fa34d
Setting up relays on three VPSs with 2GB RAM (probably overkill) and 20GB SSD (definitely more than needed). The VPSs run ubuntu 16.04.
From the control machine which would typically not be running tor relays itself (my local laptop in my example)
All relays should now be up and running, two per VPS.
The text was updated successfully, but these errors were encountered: