OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Neil Waldhauer on April 01, 2014, 08:58:20 pm
-
Tor is a program to facilitate anonymous web browsing. Paul Smedley ported it, but there aren't instructions on how to make Tor work on eCS.
http://os2ports.smedley.id.au/index.php?page=tor (http://os2ports.smedley.id.au/index.php?page=tor)
There are two applications of Tor. The first is just to get Tor to work with Firefox and use the existing Tor network.
The second is to run a Tor server as a part of the Tor network to let others browse anonymously.
I don't know which of these applications have been ported, or even, as I suspect that both functions are part of the Tor executable.
I have no idea how to begin doing either of these applications. Any Tor users out there care to comment?
-
Hi Neil.
Run tor.exe and wait until it gets to 100%, I think it is connecting to the network.
Open Firefox and on Settings, Advanced put your localhost as a socks server and port 9050.
Try: http://whatismyipaddress.com/
And check your up address.
Google does not work fine when you use this socks thing.
I'm not sure if that is a way to use it, but that is the way that website see you with another IP. Other comments are welcome.
-
I installed Tor, and configured Firefox, and I found it to work. As you mention, google will no longer search.
I also installed Vidalia, which is a control panel for tor. I changed my setup to put Vidalia in the startup folder instead of tor. Now I have a nice control panel for tor.
-
Hi All
Just started experimenting with Seamonkey and tor - Seamonkey requires the proxy changes in Edit, Preferences, Advanced, Proxies.
Seems to be working as sites like http://www.myipnumber.com/my-ip-address.asp get my ip address wrong :-)
However, I now find that I cannot access my Virgin SuperHub configuration and see this instead:-
Failed to Connect
The connection was refused when attempting to contact 192.168.0.1.
Looks like tor works too well. Guess I need to look into setting up a tor configuration file to allow me access to my router/cable modem configuration. All help welcome.
I thought I'd give vidalia a try as it looks like a neat frontend to tor but it is unable to start tor. Looking at the message log I see this:-
May 15 02:00:13.441 [Notice] Tor v0.2.4.20 (git-3cb5c70beec5bf46) running on OS/2 with Libevent 2.0.21-stable and OpenSSL 1.0.0g.
May 15 02:00:13.441 [Notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
May 15 02:00:13.441 [Warning] Unable to open configuration file "J:/PROGRAMS/TOR/VIDALIA/I:\USERS\PETER\HOME\.vidalia\torrc".
May 15 02:00:13.441 [Error] Reading config failed--see warnings above.
Looks like there is a problem with vidalia as it seems to be appending the configuration file drive:\path\filename to the drive:\path that vidalia is installed in and then passing the resulting mess to tor which then bitches that it cannot open(find) the configuration file.
I've created a bug report http://trac.netlabs.org/qtapps/ticket/82#ticket
Regards
Pete
-
However, I now find that I cannot access my Virgin SuperHub configuration and see this instead:-
Failed to Connect
The connection was refused when attempting to contact 192.168.0.1.
Looks like tor works too well. Guess I need to look into setting up a tor configuration file to allow me access to my router/cable modem configuration. All help welcome.
Just go to SeaMonkeys proxy preferences and add localhost, 127.0..1, 192.168.0.1 etc to the No Proxy for box. See the example right under the box
Dave
-
Hi Dave
Thanks, that worked fine.
The Vidalia problem was *not* a Vidalia problem. The problem was in Tor v0.2.4.20 and is resolved in Tor v0.2.4.21
Anyone looking for Tor documentation should probably start here https://www.torproject.org/docs/documentation.html.en
Obviously nothing specific to eCS (OS/2)...
Regards
Pete
-
FoxyProxy (https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/).
-
updated tor version for testing:
https://dl.dropboxusercontent.com/u/76425158/tor-0.2.5.10-os2-20141108.zip
Note, only minimally tested locally
-
updated tor version for testing:
https://dl.dropboxusercontent.com/u/76425158/tor-0.2.5.10-os2-20141108.zip
Note, only minimally tested locally
Updated build 0.2.8.7 - requires latest libcx0.dll from rpm/yum - hopefully http://rpm.netlabs.org/release/00/zip/libcx-0_2_1-1_oc00.zip should work, but might need http://rpm.netlabs.org/test/tlx4.zip
http://smedley.id.au/tmp/tor-0.2.8.7-os2-20160912.zip
Cheers,
Paul
-
Hi Paul
Seems to work as well as previous versions; still has the "[Error] libevent call with select failed: Bad address" problem though :-(
Regards
Pete
-
Paul, perhaps this would help, https://github.com/bitwiseworks/mozilla-os2/blob/master/ipc/chromium/src/third_party/libevent/select.c (https://github.com/bitwiseworks/mozilla-os2/blob/master/ipc/chromium/src/third_party/libevent/select.c) and of course above this is other fixes that dmik did.
-
Hi Dave,
Paul, perhaps this would help, https://github.com/bitwiseworks/mozilla-os2/blob/master/ipc/chromium/src/third_party/libevent/select.c (https://github.com/bitwiseworks/mozilla-os2/blob/master/ipc/chromium/src/third_party/libevent/select.c) and of course above this is other fixes that dmik did.
Thanks, but I shoplifted these fixes a while ago. I'd also hoped that the select() changes in libcx would help, but unfortunately not.
Cheers,
Paul
-
Updated tor build at http://smedley.id.au/tmp/tor-0.3.4.8-os2-20180916.zip
Not tested, so feedback appreciated :)
-
Thanks again! It seems to work as well as the last one, but there is a new warning in the message log:
Warning: Cannot get strong entropy: no entropy source found.
Is it looking for some kind of randomizer?
Since Firefox 24, I have not been able to connect to HTTPS website URL's using Tor. I presume that is a defect in our Firefox, but was wondering if anyone else has seen this or even found a way around it...
-
Hi Dave,
Thanks again! It seems to work as well as the last one, but there is a new warning in the message log:
Warning: Cannot get strong entropy: no entropy source found.
Is it looking for some kind of randomizer?
Since Firefox 24, I have not been able to connect to HTTPS website URL's using Tor. I presume that is a defect in our Firefox, but was wondering if anyone else has seen this or even found a way around it...
OK the entropy bug is caused by a failed patch yesterday, which one too many beers made me thing wasn't important :)
Turns out it was!! Try http://smedley.id.au/tmp/tor-0.3.4.8-os2-20180917.zip for the fix.
Meanwhile, I'll see if I can test https sites with firefox/2 locally
Cheers,
Paul
-
Hi Paul,
The older one could start but no socket connection while this one doesn't start here despite having a torrc file presnt:
Sep 17 10:48:44.829 [notice] Configuration file "/tor/etc/tor/torrc" not present
, using reasonable defaults.
A non-recoverable error occurred. The process ended.
Cheers
Remy
-
Hi Paul,
The older one could start but no socket connection while this one doesn't start here despite having a torrc file presnt:
Sep 17 10:48:44.829 [notice] Configuration file "/tor/etc/tor/torrc" not present
, using reasonable defaults.
A non-recoverable error occurred. The process ended.
I'll take a punt that libcx needs updating - 0.6.3 was released recently. Sorry, I should have mentioned this.
Cheers,
Paul
-
No libcx 0.6.3 available under APM (official ones)
-
Hello Remy,
It's under the experimental
-
Hi
I bumped into the same problem as Remy with the 20180916 release and updated libc to 0.6.6-38 and libcx to 0.6.3-1 which resolved the problem.
Seems to be the best tor port to date as I only hit the "[Error] libevent call with select failed: Bad address" failure once in around an hours use - previous releases have been unusable as the problem cropped up every few minutes.
Now to try the 20180917 release to get rid of the log entry "Warning: Cannot get strong entropy: no entropy source found."
Regards
Pete
-
Hello Remy,
It's under the experimental
Then I have to wait until it is official.
No expérimental with ArcaOS on a unique system which is production system.
Any idea if it will be made available as official ?
-
Hi Pete,
I bumped into the same problem as Remy with the 20180916 release and updated libc to 0.6.6-38 and libcx to 0.6.3-1 which resolved the problem.
Seems to be the best tor port to date as I only hit the "[Error] libevent call with select failed: Bad address" failure once in around an hours use - previous releases have been unusable as the problem cropped up every few minutes.
Now to try the 20180917 release to get rid of the log entry "Warning: Cannot get strong entropy: no entropy source found."
With respect to the "[Error] libevent call with select failed: Bad address" message - did tor close, or just log the error and keep running? I had thought I had added workaround code to prevent the app closing.
Thanks,
Paul
-
There's also a port of libevent here, https://github.com/bitwiseworks/mozilla-os2/tree/esr45/ipc/chromium/src/third_party/libevent (https://github.com/bitwiseworks/mozilla-os2/tree/esr45/ipc/chromium/src/third_party/libevent).
-
Hi Paul
When the "[Error] libevent..." happens tor stops running.
Regards
Pete
-
Hey Pete,
When the "[Error] libevent..." happens tor stops running.
Just confirming - this failure is still occurring with 0.3.4.8? I don't understand how given the patch I made - can you post me a full log to my email?
Cheers,
Paul
-
Attempt to fix the select() fix is in http://smedley.id.au/tmp/tor-0.3.4.8-os2-20180920.zip
-
I updated tor, only tested it enough to see that it bootstraps....
http://smedley.id.au/tmp/tor-0.4.3.6-os2-20200711.zip
-
Hi Paul
Tor 0.4.3.6 seems to work OK - limited testing to date.
Thanks
Pete