Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558984 - net-proxy/torsocks-2.1.0 version bump request
Summary: net-proxy/torsocks-2.1.0 version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 03:53 UTC by sexybunns2003
Modified: 2015-10-09 00:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sexybunns2003 2015-08-28 03:53:54 UTC
The version of torsocks in Gentoo is very outdated.
In the version included, there is a bug affecting the setuid/setgid error
message.

Expected result:
$ torsocks ping google.com
ERROR: ping is setuid. torsocks will not work on a setuid executable.
Observed result:
$ torsocks ping google.com
ERROR: ping setgoogle.comid. torsocks will not work on a setgoogle.comid executable.

This is because of line 109 in /usr/bin/torsocks:
echo "ERROR: $1 is set${2}id. torsocks will not work on a set${2}id executable." >&2
${2} is set to the second argument of torsocks.

This is fixed in the newest version of torsocks, v2.1.0.
Comment 1 Anthony Basile gentoo-dev 2015-10-09 00:20:31 UTC
please test torsocks-2.1.0 which i just added to the tree.