-
Notifications
You must be signed in to change notification settings - Fork 2
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
Migrate to Tor v3 onion service protocol #23
Comments
In order to evaluate progress on bisq-network/projects#23, the Bisq app reports its hiddenservice version. This change is going to be undone as soon as we do not need the info anymore.
Reflecting our call last week on this project, I've just applied the |
Report Review Meeting 2020-03-19
|
Roger that, @freimair. Thanks for the update even in the absence of yesterday's planned (but cancelled) review meeting. |
Performance evalTL;DR hidden service publishing time has dropped from around 33 seconds to <5 seconds, no significant changes otherwise
Recent changes to Bisq had an impact on the startup times already, so I decided to get the baseline manually instead of relying on the monitor. Isolated Tor measurements
Setup
Results
Integration Tests
Setup
Results
|
* Report HS version to pricenode In order to evaluate progress on bisq-network/projects#23, the Bisq app reports its hiddenservice version. This change is going to be undone as soon as we do not need the info anymore. * Added hsversion scraper script * Added installer/uninstaller * Cleanup * Fix unit name
@freimair, could you give a status update about this project? |
Everything is done for Milestone 2 except the "wait and see how it goes over time" part which will be concluded by the upcoming report. Overall, it seems that v3 onion services did the project no harm whatsoever. I have been monitoring support and issues and there is not a single hint that something does not work - quite the contrary, it feels like support issues regarding tor connection issues and/or startup-issues for people using system tor have vanished. Will do a proper report as scheduled. |
Closing report on milestone: "Ship it"There have been no reports that would indicate something not working properly or causing issues with Tor onion services v3. Quite the contrary, it seems like connection issues have gone down. It even seems that people have upgraded to v3 on their own - at least that is one explanation of the number of v3 hosts in the Bisq P2P network has reached the neighborhood of 40% already. All in all, although we could and probably should have done it earlier, moving to Tor onion services v3 has been a success. |
Regarding the next steps for this project. I would only add the option to update to a new v3 address without taking the reputation over. I don't think it is worth the hassle to do this. |
Well, now that V2 is officially deprecated, migrating to V3 is required and we will need to force all users to migrate to V3 onions at some point in the future. Some kind of migration plan like:
|
basically:
both need similar preparations. in order to safely change the hidden service host users need to
violating these preconditions will result in unrecoverable trade states and lost funds. Once we hit wiz's third step, we need to do these checks automatically. My suggestion is to reactivate this one year old PR: bisq-network/bisq#3044. It provides the tools to follow wiz's proposed timeline. Your opinion? |
Closing as complete given that we have in fact migrated to Tor v3. The milestone on allowing clients to upgrade was not completed, but it appears to be a separate concern at this point. |
I've also closed the associated project board at https://github.com/orgs/bisq-network/projects/15. |
This project is about migrating from Tor Hidden Services version 2 to Tor onion services version 3 and the required steps to do so.
Rationale
Why do we want to update?
Why do we want to update now?
Risks
Details
The Onion Router (TOR) offers a version 3 of its hidden service technology (HSv3) for quite some time now. Bisq, until now, held onto HSv2 because the Tor devs themselves did not consider HSv3 as "BEST", at least until Tor v0.3.5.1. However, a tiny line of code prevented HSv3 to actually become the expected default back then, so we spent our time working on other Bisq issues. Now, motivated by an upcoming tor 0.4.2 and bisq-network/bisq#2873 it is time to seriously think about HSv3 and how Bisq can make a transition from HSv2 to HSv3.
Tor Hidden Service Versions
Tasks
Milestone: Get Bisq ready to talk to HSv3
Milestone: Proof of concept
Tasks
Criteria for delivery
Estimates
Milestone: Ship it
Milestone: Allow old clients to upgrade
Since Tor has officially deprecated Tor onion services v2 source we should prepare Bisq as well. Final deadline (v2 is no longer available) is 2021-07-15, although, we can delay adapting to new tor binaries and thus gain a few days, on the other hand, Tor will show warnings in upcoming releases (as soon as 2020-09-15, i.e. next week) and we do not know how good their v2 "DNS" servers will hold up. Finally, on 2021-10-15 there will be no v2 "DNS" servers anymore and thus, v2 onion addresses will not be accessible anymore.
Tasks
Criteria for delivery
Estimates
Please note that compensation for the first three points should be available as soon as these tools make it into master. There is no point in delaying the compensation for a year. The tools necessary for executing the timeline may only be created according to the timeline.
Milestone: Cleanup
Tasks
The text was updated successfully, but these errors were encountered: