[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #28712 [Core Tor/sbws]: Make conf['tor']['extra_lines'] into a torrc file
#28712: Make conf['tor']['extra_lines'] into a torrc file
-------------------------------+-------------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: sbws: unspecified
Component: Core Tor/sbws | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------+-------------------------------
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)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28712>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs