<div dir="ltr"><div style>Hello,</div><div><br></div>I was teaching a coworker about SSH tunneling and wanted to demonstrate using a SOCKS proxy with command-line utilities that are not SOCKS-aware. I tried to demonstrate tsocks but it did not work properly out-of-the-box on Slackware64.<div>
<br></div><div style>After a little bit of troubleshooting I figured out that the problem was an incorrect library path being added to LD_PRELOAD.</div><div style><br></div><div style>The 'tsocks' command is adding the path '/usr/lib/libtsocks.so' when the library is actually located at '/usr/lib64/libtsocks.so'.</div>
<div style>It works fine if you specify it manually, eg:</div><div style>$ LD_PRELOAD="/usr/lib64/libtsocks.so" ssh target_host</div><div style><br></div><div style>proxychains works correctly out of the box.</div>
<div style><br></div><div style>Also, it would be helpful if the tsocks.conf examples from the source directory (let alone the 'inspectsocks' and 'validateconf' utilities which are referenced in the tsocks man page) were included in the package.</div>
<div style><br></div><div style>Thank you,</div><div style>Ben the Pyrate</div></div>