LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-21-2015, 01:44 PM   #1
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Tor via Vidalia Broken By Recent Updates?


Since Friday's updates I haven't been able to launch Tor with Vidalia. I've rebuilt both, but no luck.

From searching around the Internet it would appear that one or more of the updates have broken Vidalia's ability to connect to Tor through port 9051.

Any ideas as to a solution would be greatly appreciated.

Last edited by cwizardone; 11-21-2015 at 01:45 PM.
 
Old 11-22-2015, 08:30 AM   #2
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 687
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
No one answered yet, doubt this is much help, Vidalia development was stopped but I noticed something called Arm Monitor I wonder if that can do the same thing.
 
1 members found this post helpful.
Old 11-22-2015, 10:55 AM   #3
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Original Poster
Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
One suggestion was to uninstall and reinstall vidalia, so I removed both vidalia and tor, deleted all references to the same in /etc and the user home directory, reboot and reinstalled. No joy. The problem remains.

Last edited by cwizardone; 11-22-2015 at 03:14 PM.
 
Old 11-22-2015, 08:24 PM   #4
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Original Poster
Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
It is not the firewall.

Next.........

Last edited by cwizardone; 11-22-2015 at 09:14 PM.
 
Old 11-23-2015, 01:13 PM   #5
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Original Poster
Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
So far I've rebuilt Tor, Vidalia, GeoIP, libevent (and updated), openssl and mozilla-nss,
but no joy, Vidalia still cannot talk to Tor.

Last edited by cwizardone; 11-23-2015 at 01:16 PM.
 
Old 11-23-2015, 02:08 PM   #6
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Tor is broken for me too on Slackware64-current. Here is what I get when I start Tor:

Code:
# bash -x /etc/rc.d/rc.tor start
+ '[' -r /proc/sys/fs/file-max ']'
++ cat /proc/sys/fs/file-max
+ SYSTEM_MAX=807509
+ '[' 807509 -gt 80000 ']'
+ MAX_FILEDESCRIPTORS=32768
+ case "$1" in
+ tor_start
+ '[' -n 32768 ']'
+ echo -n 'Raising maximum number of filedescriptors (ulimit -n) to 32768'
Raising maximum number of filedescriptors (ulimit -n) to 32768+ ulimit -n 32768
+ echo ...
...
+ echo 'Starting Tor...'
Starting Tor...
+ /usr/bin/tor
It never ends. Tor just doesn't start.

EDIT: I did notice that my Cooling fan starts spinning really fast and tor starts using 100 CPU until I Ctrl+C this script.

Last edited by mralk3; 11-23-2015 at 02:46 PM.
 
1 members found this post helpful.
Old 11-23-2015, 02:17 PM   #7
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Quote:
Originally Posted by jmccue View Post
No one answered yet, doubt this is much help, Vidalia development was stopped but I noticed something called Arm Monitor I wonder if that can do the same thing.
Arm is for running a relay/bridge and to monitor the traffic. At least that is what I remember seeing when I researched Vidalia alternatives some months ago. Besides, Vidalia works as advertised and I believe SBo's version is newer than what is shipped with the Tails live cd. Tails ships what Debian squeeze provides, v 0.2.10.

I've been forced to use the Tor browser bundle. I have been dead in the water with Proxychains + Privoxy + Tor though since Tor stopped runing in -current.
 
1 members found this post helpful.
Old 11-23-2015, 04:47 PM   #8
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Original Poster
Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by mralk3 View Post
Tor is broken for me too on Slackware64-current. Here is what I get when I start Tor:....
Ah, well, at least you are getting some feedback.
On this box, Vidalia pops up the error message and says to check the log, but the log is blank and the "advanced messages" (which I think is the same thing they are calling a "log") is also blank.
Tried from a terminal and ditto, no feedback.
Tor works. The problem is Vidalia isn't talking to Tor and, therefore, can't start it.

BTW, the people over at PC-BSD (FreeBSD with pre-configured desktops) have, with version 10.2, made Tor available system wide. Once you have fired up Tor, everything you do is routed through Tor, regardless of what browser, mail client, etc., you are using. How safe that is, I really don't know. Each time you elect to route through Tor a notice pops up advising the user to learn how to use Tor properly and displays the link to the Tor website.
Just FYI.

Last edited by cwizardone; 11-23-2015 at 06:44 PM.
 
Old 11-23-2015, 06:20 PM   #9
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Quote:
Originally Posted by cwizardone View Post
Ah, well, at least you are getting some feedback.
On this box, Vidalia pops up the error message and says to check the log, but the log is blank and the "advanced messages" (which I think is the same thing they are calling a "log") is also blank.
Tried from a terminal and ditto, no feedback.
Tor works. The problem is Vidalia isn't talking to Tor and, therefore, can't start it.
So Tor is starting for you? It isn't starting up for me and Vidalia doesn't connect to Tor either.

Quote:
BTW, the people over at PC-BSD (FreeBSD with pre-configured desktops) have, with version 10.2, made Tor available system wide. Once you have fired up Tor, everything you do is routed through Tor, regardless of what browser, mail client, etc., you are using. How safe that is, I really don't know. Each time you elect to route through Tor a notice pops up advising the user to learn how to use Tor properly and gives the link to the Tor website.
Just FYI.
I use a custom built Tails based live CD when I use Tor. It includes "other software" that many would deem unethical. Sometimes I like to use Tor to browse the web or wget something with the assistance of proxychains/privoxy on my Slackware install for a small layer of anonymity. I never use tor with identifying accounts, like my personal email or chat accounts. I also never use tor from home.

Tor is not really meant for day to day use unless you are ALWAYS trying to be anonymous. It is surprising to see that PC-BSD is distributing the whole OS with Tor as a default service. I guess the devs assume all PC-BSD users know best anonymity practices and how to implement them.

Anyway, I reported in the "Should be fixed in SBo" thread that Tor is not working. Maybe someone will know whats going on.
 
1 members found this post helpful.
Old 11-23-2015, 06:40 PM   #10
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Original Poster
Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by mralk3 View Post
So Tor is starting for you? It isn't starting up for me and Vidalia doesn't connect to Tor either.....
Tor works on this box with Slackware64 -current (as of the moment) when fired up using the Tor Browser.

The problem, as it appears here, and I may be wrong, is Vidalia can't find Tor so it can't start it, i.e., something is blocking Vidalia from communicating with Tor.

BTW, I was very impressed with the TAILS Live CD. Everything you need, including the ability to burn a CD/DVD.

Last edited by cwizardone; 11-23-2015 at 06:54 PM.
 
Old 11-23-2015, 07:02 PM   #11
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
Quote:
Originally Posted by cwizardone View Post
Tor works on this box with Slackware64 -current (as of the moment) when fired up using the Tor Browser.
I will have to reinstall everything I think. I'm guessing one of the dependencies is borked somehow. I even tried the alpha release of Tor.

Quote:
The problem, as it appears here, and I may be wrong, is Vidalia can't find Tor so it can't start it, i.e., something is blocking Vidalia from communicating with Tor.
I usually don't use Vidalia in Slackware. I have other ways of probing the Tor network and use Tortunnel to cherry pick a single hop or just use proxychains to randmonize/increase the hops on the Tor network.

Quote:
BTW, I was very impressed with the TAILS Live CD. Everything you need, including the ability to burn a CD/DVD.
Yes, I it makes me want to create a Slackware Tails live cd, but have been very busy with other things.
 
Old 11-24-2015, 11:51 AM   #12
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
I finally got some extra time to troubleshoot this. What I did to fix it was reinstall everything. I also grabbed tor, vidalia and GeoIP from the SlackOnly repository since those were likely already recompiled against the latest -current correctly. Like I said earlier, I usually do not use Vidalia, but I decided to install it and start using it. It was just a matter of adding the right configurations to /etc/tor/torrc and ~/.vidalia/vidalia.conf. My setup lets me use tor + vidalia + privoxy + proxychains as a normal user.

You need to have tor run with an active control port for Vidalia to make use of the running Tor service.

You should run Vidalia once and then exit it right away so that the configuration file is generated. Then add the quoted portion listed below to the top of vidalia.conf. It will allow Vidalia to make use of the GeoIP.dat file installed with GeoIP.

For more information read /usr/doc/vidalia-0.2.21/README.SBo.

If you want I can post the configurations for privoxy and proxychains too. I am short on time and have somewhere to be; will be back on later.

You will need to also generate a tor Control Port hash for extra security. Put the resulting hash where it says "<TOR_GENERATED_HASH_HERE>" in torrc.

Code:
root@localhost# tor --hash-password <YOUR_PASSWORD_HERE>
Install/Reinstall:
Code:
slackpkg reinstall openssl libevent mozilla-nss
slackpkg reinstall tor vidalia GeoIP
/etc/tor/torrc:
EDIT: Updated torrc with a few options that add safety. Changes in red text.
Code:
User tor
RunAsDaemon 1
PidFile /var/run/tor/tor.pid
DataDirectory /var/lib/tor
Log notice file /var/log/tor/tor.log

SafeSocks 1
TestSocks 1

CircuitBuildTimeout 2
KeepalivePeriod 2
NewCircuitPeriod 15
NumEntryGuards 8

SocksPort 9050
SocksListenAddress 127.0.0.1

ControlPort 9051
HashedControlPassword <TOR_GENERATED_HASH_HERE>
~/.vidalia/vidalia.conf
Code:
[General]
UseLocalGeoIpDatabase=true
LocalGeoIpDatabase=/var/lib/GeoIP/GeoIP.dat

[..snip..]
Everything seems to be working. I will post back if something goes amiss.

Last edited by mralk3; 11-24-2015 at 01:47 PM.
 
1 members found this post helpful.
Old 11-24-2015, 03:34 PM   #13
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Original Poster
Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Thank you very much!
I just did a fresh install and nothing changed, that is, the problem with Vidalia remains, so I'll give the above a go.
Thanks, again.
 
Old 11-24-2015, 11:09 PM   #14
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Original Poster
Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
Quote:
Originally Posted by mralk3 View Post
....I also grabbed tor, vidalia and GeoIP from the SlackOnly repository since those were likely already recompiled against the latest -current correctly.....
Well, I tried editing the various files, but nothing worked.
So, finally, remembering you mentioned downloading fresh copies, I went to link you provided, downloaded the same three files and installed them.

Problem solved.

Wish I could say how, but really don't know. I did notice that the packages from SlackOnly were as much as a 100K smaller than the packages compiled using the SBo scripts.

BTW, who is behind SlackOnly?

Thanks, again!

Edit in: I was just reading solarfiels thread about SlackOnly and it seems a gentleman by the name of, Panagiotis Nikolaou is the
creator of the site.
Hats off to Mr. Nikolaou!

Last edited by cwizardone; 11-24-2015 at 11:28 PM.
 
1 members found this post helpful.
Old 11-25-2015, 07:06 AM   #15
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Original Poster
Rep: Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273Reputation: 7273
BTW, before downloading the package from SlackOnly, I tried running Tor by starting the rc.tor file from the command line and received the same error you posted above in message #6,
and as you experienced, one core ran at 100 percent until I killed the process. So.... that means, I would think, that Tor was the problem, not Vidalia.

Last edited by cwizardone; 11-25-2015 at 07:11 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem starting vidalia / tor on bt5 nkd Linux - Software 2 07-27-2012 11:45 PM
[SOLVED] vidalia (tor) working or not? unkn(0)wn Linux - Newbie 9 04-21-2012 08:53 PM
[SOLVED] Tor and Vidalia Phorize Slackware 1 12-23-2011 03:04 AM
How do I get Vidalia/TOR to work on Ubuntu Linux? theif519 Linux - Newbie 12 07-10-2011 01:02 PM
Tor/Vidalia does not anonymize traffic. jrtayloriv Linux - Networking 6 08-05-2010 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration