From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 697201382C5 for ; Wed, 3 Jun 2020 10:47:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B91E4E084A; Wed, 3 Jun 2020 10:47:39 +0000 (UTC) Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 596A9E0827 for ; Wed, 3 Jun 2020 10:47:38 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2A1082400FC for ; Wed, 3 Jun 2020 12:47:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1591181256; bh=VvVwIjUyiryTJZxcOU5XleEHFs4cKuoJ0NnQ2rSWFRA=; h=Date:From:To:Subject:From; b=pZMugnctTZurkYP4dJG+Wmfc2EFi766rkRrW0WsLJ8GD9QUmssTqlX/+0LebaZ/jw xiV/q5bNQQKJTYswBbZYRwdCP5yVyyMNmVo4cDrv5HBH21xJWO/j8IN45mBi7bpfL/ 9D7tUzmYKrswHfXTz3EilRljWaXUrFUbzitPCfaCxX03OwS0i2kdnNOdz0z6MAA1S1 cHZ1cuyDzkty94RbIVrE6td4gUQX8mydQRT8e3bV12XeUpcWaxlIXefy2MVNMFLJaf 6s/N6Vg0CbiBJ25/L5mir2vhrcVvJhNjR7zsBshDvVCaqcOiIXilojfffOk93TY+Mq uo1Z6VsY7J6QA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49cQbW2nLgz9rxW for ; Wed, 3 Jun 2020 12:47:35 +0200 (CEST) Date: Wed, 3 Jun 2020 12:47:34 +0200 From: tuxic@posteo.de To: Gentoo Subject: [gentoo-user] Problem with socks syscall Message-ID: <20200603104734.tlkomcfzwbus2kjm@solfire> Mail-Followup-To: Gentoo Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Archives-Salt: 4d3c5339-fa09-4c56-bc88-72c97aa833c8 X-Archives-Hash: 12ca77f1d8323d60ea16e0aee2e21474 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