openwrt / openwrt/packages

tor:default torrc places hidden service configuration files on temp storage (/var/lib/tor)

Open
#16,468 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

release/19.07 stale
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.