-
Notifications
You must be signed in to change notification settings - Fork 266
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
Easier Configuration for Permanent Proxy and Tor only Connections #110
Comments
Privacy by default intuitively should be the standard though for Bitcoin I think the concerns are valid enough to not make default privacy 'too easy' to activate. I do agree though with clarifying how these settings are displayed with something like 'Set all Connections Through Tor.' Eventually it would be good to have the settings separated into some simple config settings (launch on startup, blockfilterindex etc.) and some advanced options (Connect through Tor/proxy, switch networks etc.). Those who need the additional privacy shouldn't mind taking an additional few steps (though making this an easy additional steps should also be a goal). It should also be communicated to the users the meta network wide issues of having an only Tor nodes (e.g. network partitioning) as I believe many users run nodes to strengthen the network and may not realize this caveat
+1 this suggestion. |
Coming back to this. I think this is a better way to do this: I think @luke-jr's Tri-state should be combined w/ @jonatack's inbound/outbound distinction from #86. This makes sense to me, from a design POV, when thinking of how to implement options for clearnet and proxy connections as well. I don't know what @Bosch-0 thinks. For example, in a connections window, you could have users presented with
The default would then be Once inbound connections are detected, the This could perhaps be a part of Bosh-0's iterative onboarding wizards. This will also affect the icons (for the better I believe), because it will allow for more flexible setups. But will there be an icon for Tor only outbound? Proxy only inbound? etc. Edit: Embarrassing formatting attempts. |
Actually,
|
This is based off discussion here: #86 (comment)
Essentially, we have icons that are indicators of current node connections (Proxy, Tor), but no switch/checkbox in the GUI saying "set up and keep my connections secured this way permanently".
We have some settings exposed to the GUI, and I think we should expose more, but I also think we should offer sort of 'bundled' options. For example:
There's no
onlynet=onion
button. And there's only aAllow incoming connections
button. IMO, there should be something that says,Set all Connections Through Tor
. And setsonlynet=onion
listen=0
listenonion=1
. However, a user needs to set up a HS first to be able to do this, so ifgetnetworkinfo
doesn't detect a local address, this should be unable to be selected. And there can be a 'learn more' or 'help' button, which directs to the Tor docs (which I know people are working on) (bitcoin/bitcoin#19961).So, this would still allow any user to set up any configuration they like, but allows for users to properly configure more popular/usual configurations.
We might need to have a security discussion, on the risks of encouraging large parts of the userbase to only have Tor connections, and if that increases risks to partitioning the network.
But there are other setups as well I can think of.
If there is no HS, a user might want to set up a Proxy. Right now, setting up a proxy is a bit buggy through the GUI.
Checking "Connect through SOCKS5 proxy" doesn't uncheck "Allow incoming connections". But I know setting
proxy
in bitcoin.conf by default setslisten=0
. So is listening not actually being disabled when set through the GUI, or is this just a GUI bug?If a user has a HS, and wants to turn on the proxy, currently clearnet incoming connections would be made, IIUC. This is because with
proxy=127.0.0.1:9050
andlisten=1
, outgoing connections will be made to HS's and through the proxy to all node types. Incoming connections will be to the HS and clearnet. This could be, of course, what the user wants. But only withbind=127.0.0.1
will there be no clearnet incoming connections. I could see a user trying to set up as private a node as possible, setting up a HS, and clicking 'Proxy' in the settings, not knowing what they are doing - which would actually open up clearnet connections. Should there be another 'bundled' setting option? - Maybe something like "Tor & Proxy; No Clearnet"?All these options are definitely complicated from a user interaction POV, and hopefully there's a way to integrate it all that makes it more digestible. Maybe a 'Default Connections Settings' section with the checkboxes "Tor Only", "Proxy", etc, and then below you can see what it is doing when it is checking/filling in the more detailed individual settings (Like how checking 'default proxy' works now).
Or perhaps it can be of a future version on the Onboarding Wizard (#81 ) Bosch is working on (something like, what kind of outgoing connections would you like to have? What kind of incoming connections)?
Open to suggestions!
The text was updated successfully, but these errors were encountered: