* [gentoo-user] Problem with socks syscall
@ 2020-06-03 10:47 tuxic
2020-06-03 15:09 ` Ashley Dixon
0 siblings, 1 reply; 2+ messages in thread
From: tuxic @ 2020-06-03 10:47 UTC (permalink / raw
To: Gentoo
Hi,
I experimented with torify of the TOR project today and failed
host:/tmp>sudo torify aria2c --async-dns false http:aria2c http://example.com
1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:604)
1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:604)
Exception caught
Exception: [download_helper.cc:451] errorCode=1 Unrecognized URI or unsupported protocol: false
[1] 20363 exit 1 sudo torify aria2c --async-dns false http:aria2c http://example.com
Aria2, torsocks and torify are freshly compiled/installed:
[I] net-misc/aria2
Available versions: 1.34.0-r2^t {adns bittorrent +gnutls jemalloc libuv +libxml2 metalink +nettle nls scripts sqlite ssh ssl tcmalloc test xmlrpc}
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)
Homepage: https://aria2.github.io/
Description: A download utility with segmented downloading with BitTorrent support
[I] acct-group/tor
Available versions: 0
Installed versions: 0(07:00:43 PM 06/02/2020)
Description: group for tor daemon
[I] acct-user/tor
Available versions: 0
Installed versions: 0(07:00:50 PM 06/02/2020)
Description: user for tor daemon
[I] net-proxy/torsocks
Available versions: 2.2.0 2.3.0 {static-libs}
Installed versions: 2.3.0(07:23:00 PM 06/02/2020)(-static-libs)
Homepage: https://github.com/dgoulet/torsocks
Description: Use most socks-friendly applications with Tor
[I] net-vpn/tor
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}
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)
Homepage: http://www.torproject.org/
Description: Anonymizing overlay network for TCP
The TOR webbrowser works without any problems.
This is my first contact with tor/torsocks/...
I briefly checked the kernel for a SOCK-related configuration
item and found nothing. On the other hand, if this configuration
item is named completly different, then I would be out of business.
How can I use torify/torsocks successfully?
Cheers!
Meino
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] Problem with socks syscall
2020-06-03 10:47 [gentoo-user] Problem with socks syscall tuxic
@ 2020-06-03 15:09 ` Ashley Dixon
0 siblings, 0 replies; 2+ messages in thread
From: Ashley Dixon @ 2020-06-03 15:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
On Wed, Jun 03, 2020 at 12:47:34PM +0200, tuxic@posteo.de wrote:
> host:/tmp>sudo torify aria2c --async-dns false http:aria2c http://example.com
> 1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:604)
> 1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:604)
> Exception caught
> Exception: [download_helper.cc:451] errorCode=1 Unrecognized URI or unsupported protocol: false
aria2c is quitting not because of the unsupported syscall warnings, but the fact
that the syntax of your command is incorrect; it is interpreting `--async-dns
false` not as a key-value pair, but as a U.R.L.\ specification. Hence the
`unrecognized URI: false` error.
Try fixing the command as such:
$ torify aria2c --async-dns=false http://example.com
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-03 15:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-03 10:47 [gentoo-user] Problem with socks syscall tuxic
2020-06-03 15:09 ` Ashley Dixon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox