Gentoo Archives: gentoo-user

From: Ashley Dixon <ash@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem with socks syscall
Date: Wed, 03 Jun 2020 15:09:54
Message-Id: 20200603150916.jty626uwdunowf7y@ad-gentoo-main
In Reply to: [gentoo-user] Problem with socks syscall by tuxic@posteo.de
1 On Wed, Jun 03, 2020 at 12:47:34PM +0200, tuxic@××××××.de wrote:
2 > host:/tmp>sudo torify aria2c --async-dns false http:aria2c http://example.com
3 > 1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:604)
4 > 1591180702 WARNING torsocks[20364]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:604)
5 > Exception caught
6 > Exception: [download_helper.cc:451] errorCode=1 Unrecognized URI or unsupported protocol: false
7
8 aria2c is quitting not because of the unsupported syscall warnings, but the fact
9 that the syntax of your command is incorrect; it is interpreting `--async-dns
10 false` not as a key-value pair, but as a U.R.L.\ specification. Hence the
11 `unrecognized URI: false` error.
12
13 Try fixing the command as such:
14 $ torify aria2c --async-dns=false http://example.com
15
16 --
17
18 Ashley Dixon
19 suugaku.co.uk
20
21 2A9A 4117
22 DA96 D18A
23 8A7B B0D2
24 A30E BF25
25 F290 A8AA

Attachments

File name MIME type
signature.asc application/pgp-signature