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

The Tor package should save a relay identity through updates #2247

Closed
Traumflug opened this issue Jan 6, 2016 · 2 comments
Closed

The Tor package should save a relay identity through updates #2247

Traumflug opened this issue Jan 6, 2016 · 2 comments
Assignees

Comments

@Traumflug
Copy link

(Not sure wether the tracker at dev.openwrt.org is still in use, so let me put a copy here)

Upgrading a router which runs a Tor node currently results in loss of its identity in the Tor network. This can be avoided easily by saving / backing up identity files. These files are

/var/lib/tor/fingerprint
/var/lib/tor/keys/*

The package conveniently makes sure already to save /etc/tor/torrc across updates, so it shouldn't be too complicated to add these other two.

For more details and an example, see

https://lists.torproject.org/pipermail/tor-relays/2016-January/008472.html
https://lists.torproject.org/pipermail/tor-relays/2016-January/008473.html

@Traumflug
Copy link
Author

The duplicate report is https://dev.openwrt.org/ticket/21541

hauke added a commit to hauke/packages that referenced this issue Jan 14, 2017
Mark the directories containing the keys for hidden services as
conffiles to preserve them over sysupgrade.

Fixes: openwrt#2247

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
hauke added a commit to hauke/packages that referenced this issue Jan 15, 2017
Mark the directories containing the keys for hidden services as
conffiles to preserve them over sysupgrade.

Fixes: openwrt#2247

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
@hauke hauke closed this as completed in 3c3f709 Jan 15, 2017
@Traumflug
Copy link
Author

Thank you very much for taking care of this, @hauke.

jp-bennett pushed a commit to jp-bennett/packages that referenced this issue Jul 29, 2017
Mark the directories containing the keys for hidden services as
conffiles to preserve them over sysupgrade.

Fixes: openwrt#2247

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
wigyori pushed a commit to wigyori/packages that referenced this issue Nov 10, 2017
Mark the directories containing the keys for hidden services as
conffiles to preserve them over sysupgrade.

Fixes: openwrt#2247

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants