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

Bootstrapping .onions into image and upon boot #247

Open
3 tasks
nolim1t opened this issue Nov 18, 2019 · 1 comment
Open
3 tasks

Bootstrapping .onions into image and upon boot #247

nolim1t opened this issue Nov 18, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@nolim1t
Copy link
Member

nolim1t commented Nov 18, 2019

Allow for detection of .onions into the image (should write out the tor config file).

  • Create a runlevels default init.d script which looks for onions in the FAT partition, this should copy them to /var/lib/tor (and set ownership to tor.nogroup) and add a config entry for them. Therefore should distinguish between V2 and V3 onions. This is used for getting in new vanity onions (or previously used onions) by SD card
  • Create something similar for updating the TOR file at boot time
  • Document how this process is supposed to work (ideally, a directory should be created called torconfig and it should be scanned for directories)

Implementation notes

@nolim1t
Copy link
Member Author

nolim1t commented Nov 20, 2019

Potential idea for boot time bootstrapping

On the SD card have a directory called tor. Have it detect for ssh (defaults: forwards to 22), web (defaults: forwards to 80), or lnd (defaults: forwards to 9735) or bitcoind (defaults: forwards to 8333). Obviously defaults CAN be changed by editing /etc/tor/torrc

Expansion for the make_img.sh bootstrap

Maybe have this directory tor.automatic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant