SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.02k stars 1.23k forks source link

[Package Request] TOR Relay #2131

Open ghost opened 8 years ago

ghost commented 8 years ago

Hi Is any chance to add TOR Relay to buils spk for our synology ?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

piwi82 commented 8 years ago

There is no chance until you provide the links to source code, dependencies, compilation informations, license, and any other stuff that could help.

ghost commented 8 years ago

Source Code https://www.torproject.org/dist/tor-0.2.7.6.tar.gz

Dependecies: tor-control, temp, freeport, async https://www.npmjs.com/package/tor-relay

cytec commented 8 years ago

see https://github.com/SynoCommunity/spksrc/pull/1659

ghost commented 8 years ago

Yes but link with spk which you put in this #1659 not working.

ghost commented 8 years ago

Cytec can you build latest spk tor 0.2.7.6 and maybe aplha 0.2.8.1for cedarview and share me ? Please

cytec commented 8 years ago

@pepeEL you've tried this one? http://cytec.us/syno/test-spk/tor/tor_cedarview-5.1_0.2.5.12-1.spk what's not working?

EDIT: btw my previous comment wasn't something like: there is a working version there but more like: no need for requesting because there is already a PR for tor ;)

ghost commented 8 years ago

Ok thankjs but can you build latest 0.2.7.6 ?

ghost commented 8 years ago

Ok i install version from you 0.2.5.12 but this version has no option wizard to config. When i instlled it i have no question about configuration and now only have installed in Package Center and show RUN but i have no icon in menu and on desktop to can configure it. When i try install older version 0.2.4.23 which not run , i have under instalation question to config it.

screen

cytec commented 8 years ago

you'll have to uninstall the current one, then install mine. There is no wizzard currently see discussion on the PR itself (plans on adding some basic config stuff) so you'll have to login over ssh and modify the torrc file in /usr/local/tor/var/ yourself to match your needs... currently the only thing the SPK does is install tor and set it up to run an unprotected (no password) SOCKS 5 Proxy on 0.0.0.0:9050 more info can be found in the PR

ghost commented 8 years ago

ok but when will be add wizard ?

cytec commented 8 years ago

@pepeEL again... check the PR... most of your questions are already discussed there... including the Wizzard and what to add and what not to add to it... even IF there will be a wizzard as of the current state of discussion it would be a verry basic one which will allow you to decide if you'll want to install Tor as Bride, exit or no-exit node see: https://github.com/SynoCommunity/spksrc/pull/1659#issuecomment-95543210 and everything else has to be done by editing the torrc file manually...

tl;dr: there will be no full covered install wizzard, just a basic one

nelek commented 8 years ago

Hello

I built a Tor package for DSM : https://forum.synology.com/enu/viewtopic.php?f=190&t=114370

Bundled Tor version is 0.2.7.10. The package includes a setup wizard. For the moment I've released versions for the armadaxp, avoton, bromolow and cedarview architectures. I also have a version for northstarplus (the synology router) More architectures can be built by request.

ghost commented 8 years ago

Ok i test it but aby body know how forward all trafić to Tor ? I USE raspberry with home automatów system with ip from my home network and it worki on port 8080 and i będę forward all trafić by tor. Anybody help me please...

nelek commented 8 years ago

You can forward traffic by configuring your application or network to send traffic trough a SOCKS proxy using the ip and port you've configured in the wizard.

ghost commented 8 years ago

When i connect to this system by my PC and i have set in my PC web browser proxy to TOR SOCS , the page from Automation SYstem Home not open in my local network. I need forward trafffic all from raspberry....

nelek commented 8 years ago

Support questions about usage of the package can be better asked here : https://forum.synology.com/enu/viewtopic.php?f=190&t=114370 Since this is not a synocommunity released package.

ghost commented 8 years ago

OKi i write ask on forum.

ghost commented 8 years ago

Hi I installed you version on cedarview but install ok but when i try running it i can not. I have only info "Starting tor...tor is not running"

cytec commented 8 years ago

@pepeEL please use the forum to discuss this as it isn't related to this issue in any way :) @nelek you'll may open a PR for your tor spk?

EDIT: nevermind, just took a look at you package and you wizzard and as far as i can tell it doesn't do anything other then the current PR

ApunktOpunkt commented 7 years ago

Hi,

found a syno-package that is working flawlessly on my ds214play and DSM6+: http://spk.synologyitalia.com/packages/TorRelay_Intel_x86_0.2.4.23-018.spk For other packages check: http://spk.synologyitalia.com/index.php?fulllist=true

Cheers, Apunkt

nelek commented 7 years ago

That's a really old binary. My package is working fine on DSM6, just the running status reporting in the interface is broken. I'm working on a fix and to bring the package up to date to 0.2.8.12, it will be released soon.

ward0 commented 7 years ago

@nelek I have a DS213J: synology_armada370_213j

https://github.com/SynoCommunity/spksrc/wiki/Architecture-per-Synology-model

Can you build a me compatible Tor relay beta pls.

I'm getting 'can't run service', I already changed my user to root to see if that was the problem, but didn't help.

Thanks in advance.

nelek commented 7 years ago

@ward0 again, this is not the place for asking for support about my package.

Support questions about usage of the package can be better asked here : https://forum.synology.com/enu/viewtopic.php?f=190&t=114370 Since this is not a synocommunity released package.

ward0 commented 7 years ago

@nelek, installed the version that should be working for my DSM still getting same error.. but ok i'l ask there thx

hugoncosta commented 5 years ago

@ApunktOpunkt, can you still run your relay? I also have a DS214Play, but I can't run it. I'm able to install it with the version you posted, but always get a "Failed to run service" error.