andy-portmen / tor-bundle

Integrates browsers to Tor executable
http://add0n.com/tor-control.html
121 stars 78 forks source link

no linux version? #4

Open changemenemo opened 6 years ago

changemenemo commented 6 years ago

no linux version ?

qewwer commented 6 years ago

seriously, no linux version?? shame

needforszpit commented 6 years ago

need debian linux version

TheOneBehindYou commented 6 years ago

I used this on my windows, but I deleted windows and now run Lubuntu... So as people say: no Linux version ? Please if somebody can remedy ! Thanks. EDIT I installed the TOR browser directly from the Lubuntu software library and now I'm looking a way to use this add-on...

andy-portmen commented 6 years ago
  1. Download the TOR browser and find the tor executable.
  2. Download the Mac version of the bundle and replace the tor executable with the Linux version from the step one.

If it works please prepare the package and submit a pull merge.

needforszpit commented 6 years ago

I try on Debian stretch to replace tor executable(original aprox.1.5Mb-replaced 3Mb) but doesnt work :( Screen: https://imgur.com/a/Zl4pl6O https://imgur.com/a/nCEXISi https://imgur.com/a/pOhG3mt

andy-portmen commented 6 years ago

@needforszpit so you have unzipped the mac.zip and replaced the tor executable. right?

If so open a terminal window at the root directory and run ./tor -f ./torrc command. Can tor connect to its network?

btw, have you set the absolute path in the options page?

needforszpit commented 6 years ago

Not connect,respond error.... https://imgur.com/a/LOfWYKH

andy-portmen commented 6 years ago

Try the tor executable in tor browser package. https://www.torproject.org/projects/torbrowser.html.en

btw, you are supposed to copy the tor executable to the root of mac.zip directory.

needforszpit commented 6 years ago

The executable on picture is executable from : https://www.torproject.org/projects/torbrowser.html.en Tor browser included on this package works fine, no bugs. But unfortunately chrome not works with:( I suggest for you to use a virtual machine on virtualbox or any other emulator and test... :)

Tcll commented 4 years ago
  1. Download the TOR browser and find the tor executable.
  2. Download the Mac version of the bundle and replace the tor executable with the Linux version from the step one.

If it works please prepare the package and submit a pull merge.

this will not work as linux doesn't execute *.dylib libraries, there is a thing like Wine for linux that allows such execution, but that likely won't work for this. linux executes *.so libraries, so it's very likely a separate build will be needed (recommended musl build as that should theoretically work with glibc kernels as well)

also, the tor executable should be symlinked to /usr/bin/tor I'm not sure where mac has it (can't test without a VM), but if I had to guess from my unix knowledge, that's probably just in /bin/tor (make sure you have tor installed of course (sudo xbps-install tor, sudo apt-get install tor, etc...))

EDIT: btw, I'm trying to get this working on Vivaldi

ghost commented 3 years ago

any update on the linux version?

andy-portmen commented 3 years ago

install tor and find its executable. then download the mac version and replace the "tor" with the linux version. The package is ready

Tcll commented 3 years ago

install tor and find its executable. then download the mac version and replace the "tor" with the linux version. The package is ready

again, this won't work read my last comment

EDIT: this file can't be executed: Screenshot_2021-01-09_15-34-00

EDIT2: please set up a VM with Linux on it and build a Linux executable

EDIT3: btw, following your instructions, yes Tor works but I have no way to use the extension Screenshot_2021-01-09_16-05-37 ignore the chown bit (not needed), I only did that to avoid anything possibly going wrong

EDIT4: managed to get the extension installed from source, but as expected, tor-bundle doesn't work: Screenshot_2021-01-09_17-02-51

QuicksilverBR commented 3 years ago

I'll throw my two cents in here, as I tried Onion Control again today and it works (for the first time after many previous attempts). I'm on EndeavourOS (Arch) and using Firefox Developer, but I would assume the process would be similar across other systems. It's much as @andy-portmen described:

Screenshot_20210507_164641

I can't say why these steps didn't work for me before (I was on other distros in those attempts) but it was simple enough in comparison to the earlier discussions. My thanks to @andy-portmen for the excellent plugin - I can now enjoy the anonymity of Tor in my established browser environment, leaving the official Tor Browser as a compartmentalisation option should it be needed.

Tcll commented 3 years ago

that probably explains my issue partly, because I already have a tor instance running since I use it often for numerous other things...

I guess better compatibility is all that's needed for this extension to work properly?

QuicksilverBR commented 3 years ago

I guess better compatibility is all that's needed for this extension to work properly?

I've only tested on one machine, but to ensure as much compatibility as possible, I'd say the best course of action would be to advocate the use of a given distribution's Tor package, with a symlink to the executable in the tor-bundle folder.

I've just tested running Tor Browser alongside an Firefox instance with Onion Control active, and I didn't receive an error. I assume this is because I used a symlink, as an error was present when I attempted the same setup with a copied Tor executable - the plugin, Tor itself or both probably aren't designed to connect to different instances, at least without further (and in my case, at least, unnecessary) configuration. While I'm not versed in how exactly processes are managed, but I can't imagine two discrete Tor instances trying to use the same resources (network config/access and the like) is likely to result in success.

Tcll commented 3 years ago

why not just detect if a system instance of tor is running and interface with that instead?? currently I have to put up with this: Screenshot_2021-05-13_09-10-47 because I already have software using the system tor instance

oh and btw, yes, I've switched the binary from my previous shot to a symlink to the system tor binary like you advocate ;)

Pantyhose-X commented 2 years ago

@boistordu @qewwer @TheOneBehindYou @needforszpit @Tcll Linux version support https://github.com/F1uk369/onion-browser-button