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

Use command-line args instead of tmpdir #87

Closed
meejah opened this Issue Dec 1, 2014 · 2 comments

Comments

Projects
None yet
1 participant
@meejah
Owner

meejah commented Dec 1, 2014

If we have less than ARG_MAX bytes of configuration information, we should be able to launch Tor without creating a temporary file for the torrc configuration file (I believe every Tor option has a corresponding command-line option).

This would satisfy the same use-case that https://trac.torproject.org/projects/tor/ticket/13865 was made for, except without modifying little-t tor.

@meejah meejah added the enhancement label Jan 16, 2015

@meejah

This comment has been minimized.

Show comment
Hide comment
@meejah

meejah Feb 6, 2015

Owner

I have a patch for this in master, but it doesn't try to determine if we're blowing ARG_MAX or not (yet).

Note also that there's an option in tor master to stream torrc data via stdin which would avoid having to check ARG_MAX completely.

Owner

meejah commented Feb 6, 2015

I have a patch for this in master, but it doesn't try to determine if we're blowing ARG_MAX or not (yet).

Note also that there's an option in tor master to stream torrc data via stdin which would avoid having to check ARG_MAX completely.

@meejah meejah added this to the v0.13.0 milestone Feb 6, 2015

@meejah meejah modified the milestones: v0.13.0, v0.15.0 Oct 9, 2015

@meejah

This comment has been minimized.

Show comment
Hide comment
@meejah

meejah Oct 4, 2016

Owner

This is in master, see #189 for "maybe use stdin".

Owner

meejah commented Oct 4, 2016

This is in master, see #189 for "maybe use stdin".

@meejah meejah closed this Oct 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment