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

Add support for custom tor configuration file entered by the user #84

Closed
wants to merge 1 commit into from
Closed

Add support for custom tor configuration file entered by the user #84

wants to merge 1 commit into from

Conversation

bmeneg
Copy link
Contributor

@bmeneg bmeneg commented Jan 16, 2020

Issue #36 is solved by this PR by allowing the user to pass a custom config file (from a different tor instance or something like that) using the '-c' flag with the 'start' command.

At the same time, issue #79 should also be solved through the default values added to the code in case the ID_LIKE key is not present in /etc/os-release file. However, in case we identify that issue #79 is more deeper we're going to need new patches to solve that.

This new feature allows the user to specify custom tor configurations that he
may have created manually or from Nipe itself (through "install" command)
using the '-c' flag with "start" command.

$ ./nipe.pl start -c $HOME/.nipe_torrc

In case the user's config doesn't contain some of the values required by Nipe,
it will use its defined default value. For now the default values are
hardcoded within Nipe's source code, but may change in the future for a more
flexible approach.
@bmeneg
Copy link
Contributor Author

bmeneg commented Jan 16, 2020

I'm going to recheck this PR's code. I may have forgotten to check some cases.

@bmeneg bmeneg closed this Jan 16, 2020
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

Successfully merging this pull request may close these issues.

None yet

1 participant