Opened 5 years ago

Closed 4 years ago

#13909 closed defect (fixed)

Torsocks GitHub and Track failed usage

Reported by: nemysis Owned by: dgoulet
Priority: High Milestone:
Component: Core Tor/Torsocks Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I try to make working openSUSE RPM with newest Versions

I get failed usage with GitHub or Tor Git version

https://github.com/dgoulet/torsocks

and

https://gitweb.torproject.org/torsocks.git/

I have too tried with mine files to install newest Torsocks

cat /home/bin/git-/git-Torsocks 
#!/bin/sh

echo ""
echo "$0"
echo ""

GIT_Torsocks="/paketi/Net/Sigurnost/Tor/Torsocks/Source/GIT/torsocks"

if [ -d "$GIT_Torsocks" ]
    then
        cd "$GIT_Torsocks"
        echo " -=/\=- Updateing Torsocks -=/\=- "
        git pull
    else
        mkdir -p "$GIT_Torsocks"
        cd "$GIT_Torsocks"
        cd ..
        echo " -=/\=- Download new Torsocks -=/\=- "
        git clone https://git.torproject.org/torsocks.git
fi

echo ""
echo "        |||+++++----> Done with Torsocks <----+++++|||  "

And install newest Torsocks with

cat /home/bin/install-Torsocks
#!/bin/sh

echo ""
echo "$0"
echo ""

echo ""
/home/bin/git-/git-Torsocks
echo ""

Torsocks=/paketi/Net/Sigurnost/Tor/Torsocks

if [ ! -d $Torsocks/Torsocks ]
    then
        echo "Copy GIT to $Torsocks/Torsocks"
        cd $Torsocks
        cp -a ./Source/GIT/torsocks ./Torsocks
        echo ""
fi

cd $Torsocks/Torsocks

echo "make uninstall"
make uninstall
echo ""
echo "./autogen.sh"
./autogen.sh
echo ""
echo "./configure"
./configure
echo ""
echo "make"
make
echo "make install"
make install
which torsocks
/usr/local/bin/torsocks

I have too tried with mine files to install newest Tor

cat /home/bin/git-/git-Tor     
#!/bin/sh

echo ""
echo "$0"
echo ""

GIT_Tor="/paketi/Net/Sigurnost/Tor/Tor/Source/GIT/tor"

if [ -d "$GIT_Tor" ]
    then
        cd "$GIT_Tor"
        echo " -=/\=- Updateing Tor -=/\=- "
        git pull
    else
        mkdir -p "$GIT_Tor"
        cd "$GIT_Tor"
        cd ..
        echo " -=/\=- Download new Tor -=/\=- "
        git clone https://git.torproject.org/tor.git
fi

echo ""
echo "        |||+++++----> Done with Tor <----+++++|||  "

And install newest Tor with

Must use with --disable-asciidoc or get 1600 new packages to install :(

cat /home/bin/install-Tor
#!/bin/sh

echo ""
echo "$0"
echo ""

echo ""
/home/bin/git-/git-Tor
echo ""

Tor=/paketi/Net/Sigurnost/Tor/Tor

if [ ! -d $Tor/Tor ]
    then
        echo "Copy GIT to $Tor/Tor"
        cd $Tor
        cp -a ./Source/GIT/tor ./Tor
        echo ""
fi

cd $Tor/Tor

echo "make uninstall"
make uninstall
echo ""
echo "./autogen.sh"
./autogen.sh
echo ""
echo "./configure"
./configure --disable-asciidoc
echo ""
echo "make"
make
echo "make install"
make install
which tor
/usr/local/bin/tor

I try to use my RPM, Source is dowloaded from

https://github.com/dgoulet/torsocks/releases

cd var/tmp/build-root/openSUSE_Factory-x86_64/.build.packages/RPMS/x86_64/
zypper in torsocks-2.0.0-0.x86_64.rpm

torsocks-2.0.0-0

which torsocks
/usr/bin/torsocks

Torsocks newer Versions are not usable at all

slogin-tokyoshells-tunnel
[1]    21728 segmentation fault  torsocks slogin tokyoshells

And all other Applications

torsocks smplayer
[1]    22327 segmentation fault  torsocks smplayer
torsocks psi-plus
[1]    22395 segmentation fault  torsocks psi-plus

...

With older Versions (1.1 and 1.2) from Google Code I not have this failures

https://code.google.com/p/torsocks/

Here are installed working Versions

zypper in tor

tor-0.2.5.10-70.1

which tor
/usr/bin/tor
zypper in torsocks

torsocks-1.1-2.1

which torsocks
/usr/bin/torsocks
zypper in curl

curl-7.38.0-1.2

Please correct usage and release one working Torsocks Version.

Child Tickets

Change History (6)

comment:1 Changed 5 years ago by nemysis

I have made openSUSE RPM for Torsocks and is now in Network repository

https://build.opensuse.org/package/show/network/torsocks

http://software.opensuse.org/package/torsocks

Only to this Version 1.3 works in openSUSE 13.2. In older openSUSE 13.1 have worked all Versions also Git.

comment:2 Changed 5 years ago by dgoulet

Status: newneeds_information

Ok, that was a big post :). Can you enlight me on if torsocks 2.0 is working or not. Seems that you are testing 1.x version which is not officially unmaintained and out of date. (I would also add insecure).

If you are not using 2.x at all, I strongly recommend openSUSE move to it and ditch 1.x asap.

comment:3 Changed 5 years ago by dgoulet

Resolution: user disappeared
Status: needs_informationclosed

Been 3 months. User disappeared, closing this. Please reopen if you relive and use torsocks 2.x :).

comment:4 Changed 5 years ago by nemysis

I have made new RPM for Torsocks 2.1.0

https://build.opensuse.org/package/show/network/torsocks

Download is from

https://github.com/dgoulet/torsocks

And all works now good. Thanks dgoulet.

To Version 2.0.0 was not usable.

comment:5 Changed 5 years ago by nemysis

Resolution: user disappeared
Status: closedreopened

comment:6 Changed 4 years ago by dgoulet

Resolution: fixed
Severity: Normal
Status: reopenedclosed

Success.

Note: See TracTickets for help on using tickets.