#20246 closed defect (wontfix)

Add torrc options to tor-prompt

Reported by: teor Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Normally I run tor like this:

src/or/tor HiddenServiceNonAnonymousMode 1 HiddenServiceSingleHopMode 1 ControlPort 2000

Then I run tor-prompt with 2000 as the control port.

Sometimes torrc command-line options are shell-quoted:

src/or/tor SocksPort "5000 IPv6Traffic"

They can optionally have a double-dash before the option name.

It would be great to be able to pass torrc options to tor-prompt for the tor instance that it starts. In particular, I want to be able to:

stem/tor-prompt --tor src/or/tor SocksPort "5000 IPv6Traffic"

Child Tickets

Change History (3)

comment:1 Changed 17 months ago by atagar

Hi teor, gave this some more thought and maybe there's something I'm missing but why would this be useful in comparison to starting a tor instance and running tor-prompt against that?

% src/or/tor HiddenServiceNonAnonymousMode 1 HiddenServiceSingleHopMode 1 ControlPort 2000
% tor-prompt --interface 2000

Happy to consider this if there's a compelling use case but at present I'm not coming up with one.

comment:2 Changed 17 months ago by teor

I don't believe my use case is that compelling, in fact, I could probably write a shell script that achieves the same effect.

comment:3 Changed 17 months ago by atagar

Resolution: wontfix
Status: newclosed

Gotcha. Thanks none the less for the idea - it was an interesting one to think about!

Note: See TracTickets for help on using tickets.