Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Problem with socks syscall
Date: Wed, 03 Jun 2020 10:47:47
Message-Id: 20200603104734.tlkomcfzwbus2kjm@solfire
1 Hi,
2
3 I experimented with torify of the TOR project today and failed
4
5 host:/tmp>sudo torify aria2c --async-dns false http:aria2c http://example.com
6 1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:604)
7 1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:604)
8 Exception caught
9 Exception: [download_helper.cc:451] errorCode=1 Unrecognized URI or unsupported protocol: false
10
11 [1] 20363 exit 1 sudo torify aria2c --async-dns false http:aria2c http://example.com
12
13 Aria2, torsocks and torify are freshly compiled/installed:
14
15 [I] net-misc/aria2
16 Available versions: 1.34.0-r2^t {adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls scripts sqlite ssh ssl tcmalloc test xmlrpc}
17 Installed versions: 1.34.0-r2^t(12:37:52 PM 06/03/2020)(adns bittorrent gnutls jemalloc libuv libxml2 metalink nettle nls scripts sqlite ssh ssl xmlrpc -tcmalloc -test)
18 Homepage: https://aria2.github.io/
19 Description: A download utility with segmented downloading with BitTorrent support
20
21 [I] acct-group/tor
22 Available versions: 0
23 Installed versions: 0(07:00:43 PM 06/02/2020)
24 Description: group for tor daemon
25
26 [I] acct-user/tor
27 Available versions: 0
28 Installed versions: 0(07:00:50 PM 06/02/2020)
29 Description: user for tor daemon
30
31 [I] net-proxy/torsocks
32 Available versions: 2.2.0 2.3.0 {static-libs}
33 Installed versions: 2.3.0(07:23:00 PM 06/02/2020)(-static-libs)
34 Homepage: https://github.com/dgoulet/torsocks
35 Description: Use most socks-friendly applications with Tor
36
37 [I] net-vpn/tor
38 Available versions: 0.4.2.7^t (~)0.4.3.5^t {caps doc libressl lzma +man scrypt seccomp selinux +server systemd test tor-hardening zstd}
39 Installed versions: 0.4.3.5^t(07:11:51 PM 06/02/2020)(caps doc lzma man scrypt seccomp server tor-hardening zstd -libressl -selinux -systemd -test)
40 Homepage: http://www.torproject.org/
41 Description: Anonymizing overlay network for TCP
42
43 The TOR webbrowser works without any problems.
44
45 This is my first contact with tor/torsocks/...
46
47 I briefly checked the kernel for a SOCK-related configuration
48 item and found nothing. On the other hand, if this configuration
49 item is named completly different, then I would be out of business.
50
51 How can I use torify/torsocks successfully?
52
53 Cheers!
54 Meino

Replies

Subject Author
Re: [gentoo-user] Problem with socks syscall Ashley Dixon <ash@××××××××××.uk>