Hi all, to get connected to remote server from my LAN I need to use SOCKS. I installed the dante (not the server nor the develompment rpm) package on my SUSE 7.0. I need to force all application client to use socks. In the configuration file /etc/socks.conf I wrote: route { from: 0.0.0.0/0 to: 10.18.0.0/24 via: direct } route { from: 0.0.0.0/0 to: 0.0.0.0/0 via: 10.18.100.1 port= 1080 proxyprotocol: socks_v4 } The IP of my machine is: 10.18.120.153. If I insert into my .bashrc file the lines: LD_PRELOAD="libdl.so libdsocks.so" export LD_PRELOAD then the KDE desktop won't start. If I execute the command socksify telnet or socksify ftp I can happily establish a connection with remote server but if I do a (for instance) socksify kmail then the connection is not socksified. The problem is I can I socksify graphical programs (I even tried with non KDE graphical programs with no success). Should I use a different socks library? Is the configuration file (socks.conf) wrong? Any help would be very appreciated. TIA Maurizio Firmani
Hi all, I solved my problem with socks clients removing the dante package and installing the tsocks library (http://www.progsoc.uts.edu.au/~delius/). This library is exactly what I needed. It wraps the normal connect() function when a connection is attempted, it consult the configuration file and, accordingly to the configuration setup, redirects the connection to the specified SOCKS server or estabilish a direct connection. There isn't an rpm package in the SuSE 7.0 professional edition so one has to compile the source but is not difficult. The configuration is also very simple and clean. After installing the tsocks library I had to set the LD_PRELOAD variable. I then added export LD_PRELOAD=/usr/lib/libtsocks.so to my .bashrc file. Now I can happily use konqueror, kbear, gnapster, etc. Maurizio Il 11:28, giovedì 08 febbraio 2001, scrivesti:
Hi all, to get connected to remote server from my LAN I need to use SOCKS. I installed the dante (not the server nor the develompment rpm) package on my SUSE 7.0. I need to force all application client to use socks. In the configuration file /etc/socks.conf I wrote:
route { from: 0.0.0.0/0 to: 10.18.0.0/24 via: direct }
route { from: 0.0.0.0/0 to: 0.0.0.0/0 via: 10.18.100.1 port= 1080 proxyprotocol: socks_v4 }
The IP of my machine is: 10.18.120.153.
If I insert into my .bashrc file the lines:
LD_PRELOAD="libdl.so libdsocks.so" export LD_PRELOAD
then the KDE desktop won't start. If I execute the command socksify telnet or socksify ftp I can happily establish a connection with remote server but if I do a (for instance) socksify kmail then the connection is not socksified. The problem is I can I socksify graphical programs (I even tried with non KDE graphical programs with no success). Should I use a different socks library? Is the configuration file (socks.conf) wrong?
Any help would be very appreciated.
TIA
Maurizio Firmani
participants (1)
-
Maurizio Firmani