Skip to content

Conversation

@nathaniel-mahieu
Copy link
Contributor

Previous wording suggested that no additional setup was required for a tor hidden service to be created.

Discussed here: #8145

doc/tor.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that most distributions already have something along those lines, e.g. on Debian-based there is a debian-tor group, and you make cookie auth work by adding users who need it to the debian-tor group. I'd reword this to just say that you need to make sure the bitcoind user is part of the Tor group.

Anyone know how non-Debian distros do this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, giving an example for Debian may help here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the example for Debian. Are we worried that the debian-tor group includes too many permissions outside of this one cookie permission we are interested in?

doc/tor.md Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd reword this a bit - cookie authentication is by far the most straightforward (even automatic) if bitcoin core has access to tor's cookie file. This is the case on Windows with Tor Browser Bundle, for example. If not, then extra work is needed to set it up.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the opinion on simplicity.

doc/tor.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than saying "Tor automatically creates" how about we just say "On Debian-based systems the user running bitcoind can be added to the debian-tor group, which has the appropriate permissions." - Debian's package management is what's automatically creating debian-tor, not Tor itself.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better wording.

doc/tor.md Outdated
Copy link
Member

@laanwj laanwj Jun 17, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No double spaces please :) We're not Satoshi.

Previous wording suggested that no additional setup was required for a
tor hidden service to be created.
@petertodd
Copy link
Contributor

utACK 9e3ec74

@laanwj laanwj merged commit 9e3ec74 into bitcoin:master Jun 20, 2016
laanwj added a commit that referenced this pull request Jun 20, 2016
9e3ec74 Clarify documentation for running a tor node (Nathaniel Mahieu)
codablock pushed a commit to codablock/dash that referenced this pull request Dec 28, 2017
9e3ec74 Clarify documentation for running a tor node (Nathaniel Mahieu)
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
9e3ec74 Clarify documentation for running a tor node (Nathaniel Mahieu)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants