From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SUP3Q-0006OV-Hm for garchives@archives.gentoo.org; Tue, 15 May 2012 21:13:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED2EDE09CA; Tue, 15 May 2012 21:12:55 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 4B7ECE08A5 for ; Tue, 15 May 2012 21:11:13 +0000 (UTC) Received: by werj55 with SMTP id j55so20355wer.40 for ; Tue, 15 May 2012 14:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=ZRZBGyCCvrO2p+IcLKOTuW28VF+lWlRf6Dg7wnsMxLQ=; b=vXlxPCaBNzTZ+CWllbozV37CMTkIk7m6BrDCPFMCSrRFZOU12W+Kr12ymrsRsxq2qO RXOgAU4hN8KA9w0Lf49nKkGn0r2PfIwqs/k81rFjkX1QuOjDK7aPdAu3mt0miWSn/J2s T2wCr0dPDymTAmBybHu2C77w8mP84RuyErJSRxaM9UmSsuDT+RWPGhg2SlFp/Ax4DlwW myMxD2/lH+pX43YBD4NJYKsaKYOpYCeufJBgnLyxCxEGX68YcSm4PlkDNxUmeczth8vl C/RcmdpMmqjGQm/TrqGsYMKWCelOIYkhVjcscyPGnZ9teR5RQa3mZ5WN7ZvAb9qmxb/K kfow== Received: by 10.180.79.72 with SMTP id h8mr34037051wix.1.1337116272464; Tue, 15 May 2012 14:11:12 -0700 (PDT) Received: from khamul.example.com (196-209-227-85.dynamic.isadsl.co.za. [196.209.227.85]) by mx.google.com with ESMTPS id ga8sm1227778wib.5.2012.05.15.14.11.09 (version=SSLv3 cipher=OTHER); Tue, 15 May 2012 14:11:11 -0700 (PDT) Date: Tue, 15 May 2012 23:08:17 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Cc: michaelkintzios@gmail.com Subject: Re: [gentoo-user] Socks-ifying an application Message-ID: <20120515230817.6dba8526@khamul.example.com> In-Reply-To: References: <20120515164557.5b18a56c@khamul.example.com> Organization: Internet Solutions X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) 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 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: e3365540-6ed2-4f4c-b3ff-3e91e913544f X-Archives-Hash: c11849876b9e46b63084eec2b303fad1 On Tue, 15 May 2012 16:57:26 +0100 Mick wrote: > On 15 May 2012 15:45, Alan McKinnon wrote: > > On Tue, 15 May 2012 10:50:43 +0100 > > Mick wrote: > > >> $ ssh -D localhost:12465 root@10.10.10.12 > > > > This part is fine. > > > > I tried the next part. It didn't work nicely for me. > > Ah, thanks for this! It's reassuring to know that it's not just my > system. :-) > > > > So what I do now is: > > > > Firefox + FoxyProxy > > Firefox is less of a problem for me because I can set it up to > socksify everything. It is Kmail that I am mostly interested in. > > > > I see recent KDE now also supports socks. This is a nice new > > addition so konqueror can also use it. > > Yes, but it does not work with the current stable kmail. The new > KDEPIM is such a nightmare I do not plan moving to it anytime soon. > It screwed up one box that I tried it on and that's enough for me. > :-( > > Did you have any success with proxychains? > > I am not sure if the problem is related to the tsocks LD_PRELOAD > error. It almost certainly is, tsocks uses LD_PRELOAD to mangle it's magic so that stuff works. I believe chromium has severe issues with tsocks because of how it does it's sandboxing, but I honestly don't know how to get around that. On a properly setup Gentoo amd64 system, /lib is a link to /lib64, so the error you get is not a path error, the chromium binary really cannot (or will not) deal with tsocks.so I don't see anything wrong with the rest of your config. I honestly think you are dealing with a chromium feature not a chromium bug. Have you searched chromium-specific sites to see what others have to say? > > > I also noticed that when I try to set up a proxy server in Chromium > using the 'under the bonnet' tab, I get this: > > "When running Chromium under a supported desktop environment, the > system proxy settings will be used. However, either your system is not > supported or there was a problem while launching your system > configuration. > > But you can still configure via the command line. Please see man > chromium-browser for more information on flags and environment > variables." > > Trying the command line did not fix it: > > [4742:4753:1575546819:ERROR:object_proxy.cc(239)] Failed to call > method: org.freedesktop.DBus.Error.ServiceUnknown: The name > org.freedesktop.NetworkManager was not provided by any .service files > > That's what made me think that something on my system is not set up > properly. :-/ > > > These are the libtsocks.so files in my system: > > # ls -la /lib*/libtsocks.so > lrwxrwxrwx 1 root root 14 May 13 15:34 /lib/libtsocks.so -> > libtsocks.so.1 lrwxrwxrwx 1 root root 14 May 13 > 15:34 /lib64/libtsocks.so -> libtsocks.so.1 > > # ls -la /lib/libtsocks.so* > lrwxrwxrwx 1 root root 14 May 13 15:34 /lib/libtsocks.so -> > libtsocks.so.1 lrwxrwxrwx 1 root root 16 May 13 > 15:34 /lib/libtsocks.so.1 -> libtsocks.so.1.8 > -rwxr-xr-x 1 root root 42912 May 13 15:34 /lib/libtsocks.so.1.8 > > # ls -la /lib64/libtsocks.so* > lrwxrwxrwx 1 root root 14 May 13 15:34 /lib64/libtsocks.so -> > libtsocks.so.1 lrwxrwxrwx 1 root root 16 May 13 > 15:34 /lib64/libtsocks.so.1 -> libtsocks.so.1.8 > -rwxr-xr-x 1 root root 42912 May 13 15:34 /lib64/libtsocks.so.1.8 > > I can't see why it would not load it, unless it should be trying to > load the '/lib64/libtsocks.so' instead of the '/lib/libtsocks.so' on > an amd64 system? Shall I file a bug? -- Alan McKinnnon alan.mckinnon@gmail.com