tor:default torrc places hidden service configuration files on temp storage (/var/lib/tor)
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
PKG_MAINTAINER:=
Maintainer: Hauke Mehrtens hauke@hauke-m.de / Peter Wagner tripolar@gmx.at
Environment: 19.x to HEAD, all platforms
Description: The commented out hooks in the torrc for creating hidden services point a non-persistent storage location. This will result in any generated keys for an active service to be reinitialized when the router is started. Keys and configs for hidden services should by default be pointed at a persistent storage location.
#HiddenServiceDir /var/lib/tor/hidden_service/
#HiddenServicePort 80 127.0.0.1:80
#HiddenServiceDir /var/lib/tor/other_hidden_service/
#HiddenServicePort 80 127.0.0.1:80
#HiddenServicePort 22 127.0.0.1:22
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the package file that generates the default torrc and compare its commented HiddenServiceDir paths with OpenWrt's persistent storage conventions. Update the defaults so hidden-service keys and configuration survive router restarts, then verify that both example services use persistent locations.
Written by the indexing model from the issue text.
Assessment
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100