[tor-bugs] #2370 [Torouter]: Torouter basic Web UI for OpenWRT

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Mar 1 06:57:43 UTC 2011


#2370: Torouter basic Web UI for OpenWRT
-------------------------------+--------------------------------------------
 Reporter:  cyphunk            |          Owner:  ioerror
     Type:  enhancement        |         Status:  new    
 Priority:  normal             |      Milestone:         
Component:  Torouter           |        Version:         
 Keywords:  openwrt, torouter  |         Parent:         
   Points:                     |   Actualpoints:         
-------------------------------+--------------------------------------------

Comment(by ioerror):

 Replying to [comment:5 fermenthor]:
 > I've made quite a few changes. The project is split into two packages
 for OpenWRT buildroot (because not everybody runs LuCI, but they can be
 easily merge by putting the files together and making a small change to
 Makefile):
 >
 > 1. tor_openwrt.tgz - this is simply making Tor work correctly on OpenWRT
 and use its features like uci configuration instead of its own torrc. The
 main differences between this and cyphunk's original submission are:
 > - Makefile to use in buildroot;

 OK.

 > - Tor configuration specifies which zones to use for the proxy (instead
 of a single interface);

 In Tor? Or in OpenWRT's firewalling setup?

 > - No torrc is created when Tor starts - all options are passed on
 command line (maybe Tor should be patched to use /etc/config/tor as its
 config file?);

 Tor can simply be passed the config file as a startup option with  '-f
 /etc/config/tor'

 > - /etc/init.d/tor calls the configuration script, so everything is
 restarted correctly;
 > - /etc/firewall.user is not used - instead, both firewall and tor call
 /etc/tor/firewall.sh on their restarts;

 What are the practical differences here? Why not integrate the changes
 into the main /etc/firewall.user file?

 > - secret_id_key is stored in persistent /etc/tor/var/ .
 >

 That's a good idea.

 > 2. torgui_openwrt.tgz - a collection of pages for LuCI
 > - "Basic" specifies the proxied zone and turns the relay/bridge on/off;
 > - "Exceptions" specifies which traffic not to proxy;
 > - "Torrc" has the same options as the original Tor configuration file -
 all these options will be passed to the process as-is (easily extended by
 editing torrc.lua);
 > - Tor Status page shows the current circuits, network status, bandwidth
 and flags for each connected country if the bridge is on;
 > - Save & Apply button does restart Tor.

 Nice.

 Do you want to integrate this into the tor-alpha package on OpenWRT and
 upload it as a patch? We can simply make the new tor-alpha package depend
 on LuCI if we want...

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2370#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list