#28712 closed defect (wontfix)

Make conf['tor']['extra_lines'] into a torrc file

Reported by: teor Owned by:
Priority: Medium Milestone: sbws: unspecified
Component: Core Tor/sbws Version:
Severity: Normal Keywords:
Cc: juga, teor Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

sbws tries to parse extra torrc options from its config file, and add them to the existing options. But this code is buggy: it tries to merge extra options with existing options with the same name. That doesn't work if the option is only allowed to occur once in the torrc file.

Tor can get options from these places, in this order:

  • torrc-defaults file
  • torrc file
  • command-line (stem's launch command)
  • control port (stem's control port command)

Here's a better design for sbws:

  • hard-coded options in a torrc-defaults file
  • extra user options in a torrc file
  • configured options on the command-line
  • runtime options over the control port

This means that:

  • users can override hard-coded options using the torrc file
  • users can modify configured options using the sbws config.ini
  • users can't modify runtime options (for simplicity)

Child Tickets

Change History (1)

comment:1 Changed 11 months ago by teor

Resolution: wontfix
Status: newclosed

We'll do #28737 instead.

Note: See TracTickets for help on using tickets.