[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #3629 [arm]: Arm/Tor Deb Torrc Configuration
#3629: Arm/Tor Deb Torrc Configuration
-------------------------+--------------------------------------------------
Reporter: atagar | Owner: atagar
Type: enhancement | Status: accepted
Priority: normal | Milestone:
Component: arm | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Changes (by atagar):
* status: needs_review => accepted
Comment:
Thanks Jake! I've hacked on your script a bit, fixing an uncaught KeyError
and merging the makefile setup/removal into the python script. It's
available in the torrc-override branch of my personal repo:
https://gitweb.torproject.org/atagar/arm.git/shortlog/refs/heads/torrc-
override
I tested the --init and --remove options but not the replace torrc
functionality (see below). Things left to do:
- We need to drop the usage of 'os.setresuid' and 'os.setresgid'. These
were introduced in Python 2.7 (arm aims for 2.5 compatibility and torouter
will also have an issue with this...).
- I need to add the wizard hook to use this. This won't be hard (use
'/usr/bin/torrc-override' if it exists and otherwise attempt 'sudo -n
resources/torrc-override/override.py').
- I'll also replace the 'tor --verify-config' check with a python
alternative. Again easy, this won't be a general purpose check but rather
that we got a valid *arm wizard* torrc, which means that it matches the
following template:
https://gitweb.torproject.org/arm.git/blob/HEAD:/src/resources/torrcTemplate.txt
Cheers! -Damian
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3629#comment:18>
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