Page 3 of 4

Re: Tor

Posted: Sat Dec 03, 2011 5:20 pm
by pbix
Yesterday I did a make FULL_BUILD=1 and loaded the resulting image on my Buffalo wzr-hp300nh. Then I restored my settings and went looking for the tor functionality when I did not see the promised controls on the login screen.

Found the tor web page and found tor set to "Enabled, Toggled by each host". Tried to set it to disabled but the "Please wait while settings are applied" dialog came up and never went away. Refreshed and found no change to the settings. Tried just pressing "Save changes' with the same result.

Then I opened up a command shell, cd /etc/init.d and ran "./tor restart". The below was output.

Code: Select all


root@Gargoyle:/etc/init.d# ./tor restart
uci: Entry not found
Dec 03 16:08:48.433 [notice] Tor v0.2.2.34 (git-c4eae752f0d157ce). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux mips)
Dec 03 16:08:48.505 [warn] ControlPort is open, but no authentication method has been configured.  This means that any program on your computer can reconfigure your Tor.  That's bad!  You should upgrade your Tor controller as soon as possible.
Dec 03 16:08:48.511 [notice] Initialized libevent version 2.0.15-stable using method epoll. Good.
Dec 03 16:08:48.511 [notice] Opening Transparent pf/netfilter listener on 192.168.2.1:9040
Dec 03 16:08:48.512 [notice] Opening DNS listener on 192.168.2.1:9053
Dec 03 16:08:48.512 [notice] Opening Control listener on 127.0.0.1:9051
iptables v1.4.6: option `--to-ports' requires an argument
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.6: option `--to-ports' requires an argument
Try `iptables -h' or 'iptables --help' for more information.
root@Gargoyle:/etc/init.d# cat tor.sh
cat: can't open 'tor.sh': No such file or directory
root@Gargoyle:/etc/init.d# cat ./tor.sh
cat: can't open './tor.sh': No such file or directory
it seems that the script is looking for variables that may not be there after a restore. I would think that unless this is explicitly enabled it should be disabled by default.

Re: Tor

Posted: Sun Dec 04, 2011 1:31 am
by ispyisail
Just installed on my ubnt RSPro and it show up and works

Re: Tor

Posted: Sun Dec 04, 2011 1:38 am
by ispyisail
I've found a bug with Tor and the GUI on my RSpro

I you enable Tor it works. If you then decide to toggle "Protocols not used by Tor:" (doesn't matter which direction) say "Ignore" to "Block" Tor will fail. (I was clicking "save" after the toggle)

Re: Tor

Posted: Mon Dec 05, 2011 5:25 pm
by mates
I cant see Tor on login screen

also I have problem when I change Enabled, Toggled By Each Host to Enabled For all Host and when I press Save change than message Please wait stays for long time and nothings happen.

It is problem that I used configuration from 1.5.0 to 1.5.1?

Re: Tor

Posted: Mon Dec 05, 2011 6:17 pm
by ispyisail

Re: Tor

Posted: Tue Dec 06, 2011 1:37 am
by mates
ispyisail wrote:should be fixed in 1.5.1

http://www.gargoyle-router.com/wiki/doku.php?id=tor
maybe i dont understand you but I actualy have 1.5.1

Re: Tor

Posted: Tue Dec 06, 2011 4:43 am
by ispyisail
http://www.gargoyle-router.com/wiki/doku.php?id=tor

Are you using a supported router?

Re: Tor

Posted: Tue Dec 06, 2011 8:09 am
by pbix
Sounds like mates has the same issue I had and reported above.

SSH into your router and run /etc/init.d/tor restart for the command line and see the errors.

Tor seems to need a little more work.

Re: Tor

Posted: Tue Dec 06, 2011 11:29 am
by Eric
I actually don't think this is a problem with Tor, but rather the backup restore system. I think the Tor config file is getting erased when performing the restoration from backup, and this is leading to this strange behavior.

Re: Tor

Posted: Tue Dec 06, 2011 12:08 pm
by mates
ispyisail wrote:http://www.gargoyle-router.com/wiki/doku.php?id=tor

Are you using a supported router?
Using netgear WNDR 3700v2
Eric wrote:I actually don't think this is a problem with Tor, but rather the backup restore system. I think the Tor config file is getting erased when performing the restoration from backup, and this is leading to this strange behavior.
I will try later today to reset settings and make settings manualy (without using restore). I will inform you later today or tommorow from work.