Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: michaelkintzios@×××××.com
Subject: Re: [gentoo-user] Socks-ifying an application
Date: Tue, 15 May 2012 21:13:12
Message-Id: 20120515230817.6dba8526@khamul.example.com
In Reply to: Re: [gentoo-user] Socks-ifying an application by Mick
1 On Tue, 15 May 2012 16:57:26 +0100
2 Mick <michaelkintzios@×××××.com> wrote:
3
4 > On 15 May 2012 15:45, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
5 > > On Tue, 15 May 2012 10:50:43 +0100
6 > > Mick <michaelkintzios@×××××.com> wrote:
7 >
8 > >> $ ssh -D localhost:12465 root@10.10.10.12
9 > >
10 > > This part is fine.
11 > >
12 > > I tried the next part. It didn't work nicely for me.
13 >
14 > Ah, thanks for this! It's reassuring to know that it's not just my
15 > system. :-)
16 >
17 >
18 > > So what I do now is:
19 > >
20 > > Firefox + FoxyProxy
21 >
22 > Firefox is less of a problem for me because I can set it up to
23 > socksify everything. It is Kmail that I am mostly interested in.
24 >
25 >
26 > > I see recent KDE now also supports socks. This is a nice new
27 > > addition so konqueror can also use it.
28 >
29 > Yes, but it does not work with the current stable kmail. The new
30 > KDEPIM is such a nightmare I do not plan moving to it anytime soon.
31 > It screwed up one box that I tried it on and that's enough for me.
32 > :-(
33 >
34 > Did you have any success with proxychains?
35 >
36 > I am not sure if the problem is related to the tsocks LD_PRELOAD
37 > error.
38
39 It almost certainly is, tsocks uses LD_PRELOAD to mangle it's magic so
40 that stuff works. I believe chromium has severe issues with tsocks
41 because of how it does it's sandboxing, but I honestly don't know how
42 to get around that.
43
44 On a properly setup Gentoo amd64 system, /lib is a link to /lib64, so
45 the error you get is not a path error, the chromium binary really
46 cannot (or will not) deal with tsocks.so
47
48 I don't see anything wrong with the rest of your config. I honestly
49 think you are dealing with a chromium feature not a chromium bug.
50
51 Have you searched chromium-specific sites to see what others have to
52 say?
53
54
55
56 >
57 >
58 > I also noticed that when I try to set up a proxy server in Chromium
59 > using the 'under the bonnet' tab, I get this:
60 >
61 > "When running Chromium under a supported desktop environment, the
62 > system proxy settings will be used. However, either your system is not
63 > supported or there was a problem while launching your system
64 > configuration.
65 >
66 > But you can still configure via the command line. Please see man
67 > chromium-browser for more information on flags and environment
68 > variables."
69 >
70 > Trying the command line did not fix it:
71 >
72 > [4742:4753:1575546819:ERROR:object_proxy.cc(239)] Failed to call
73 > method: org.freedesktop.DBus.Error.ServiceUnknown: The name
74 > org.freedesktop.NetworkManager was not provided by any .service files
75 >
76 > That's what made me think that something on my system is not set up
77 > properly. :-/
78 >
79 >
80 > These are the libtsocks.so files in my system:
81 >
82 > # ls -la /lib*/libtsocks.so
83 > lrwxrwxrwx 1 root root 14 May 13 15:34 /lib/libtsocks.so ->
84 > libtsocks.so.1 lrwxrwxrwx 1 root root 14 May 13
85 > 15:34 /lib64/libtsocks.so -> libtsocks.so.1
86 >
87 > # ls -la /lib/libtsocks.so*
88 > lrwxrwxrwx 1 root root 14 May 13 15:34 /lib/libtsocks.so ->
89 > libtsocks.so.1 lrwxrwxrwx 1 root root 16 May 13
90 > 15:34 /lib/libtsocks.so.1 -> libtsocks.so.1.8
91 > -rwxr-xr-x 1 root root 42912 May 13 15:34 /lib/libtsocks.so.1.8
92 >
93 > # ls -la /lib64/libtsocks.so*
94 > lrwxrwxrwx 1 root root 14 May 13 15:34 /lib64/libtsocks.so ->
95 > libtsocks.so.1 lrwxrwxrwx 1 root root 16 May 13
96 > 15:34 /lib64/libtsocks.so.1 -> libtsocks.so.1.8
97 > -rwxr-xr-x 1 root root 42912 May 13 15:34 /lib64/libtsocks.so.1.8
98 >
99 > I can't see why it would not load it, unless it should be trying to
100 > load the '/lib64/libtsocks.so' instead of the '/lib/libtsocks.so' on
101 > an amd64 system? Shall I file a bug?
102
103
104
105 --
106 Alan McKinnnon
107 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Socks-ifying an application Mick <michaelkintzios@×××××.com>