rofl0r / proxychains-ng

proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project. the sf.net page is currently not updated, use releases from github release page instead.
http://sourceforge.net/projects/proxychains-ng/files
GNU General Public License v2.0
9.72k stars 1.07k forks source link

Proxychains does not work with steam. #153

Open urdarinda opened 7 years ago

urdarinda commented 7 years ago

I am not able to make it work with steam cmd. I know that steamcmd is 32bit and I compiled a 32bit proxychains for it to work but I am getting this error

proxyc ./steamcmd.sh [proxychains] config file found: /usr/local/etc/proxychains.conf [proxychains] preloading /usr/local/lib/libproxychains4.so ERROR: ld.so: object '/usr/local/lib/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/local/lib/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [proxychains] DLL init: proxychains-ng 4.11 Redirecting stderr to '/home/faltu/steamcmd/logs/stderr.txt' ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". [ 0%] Checking for available update... SteamUpdater: Error: Download failed: http error 407 [ 0%] Download Complete. [----] Verifying installation... [ 0%] Downloading Update... [ 0%] Checking for available update... SteamUpdater: Error: Download failed: http error 407 [ 0%] Download Complete. SteamUpdater: Error: Steam needs to be online to update. Please confirm your network connection and try again. [ 0%] !!! Fatal Error: Steam needs to be online to update. Please confirm your network connection and try again. Also, I have compiled 64 bit proxychains and tried all posiible combinations using LD_PRELOAD=library.so but all refuse to work. How can I make it work?

rofl0r commented 7 years ago

maybe you need a 32bit ld.so ? try to look into/edit steamcmd.sh and put

export LD_PRELOAD=/usr/local/lib/libproxychains4.so

just prior to where it starts the real steam binary, and do not use the proxychains4 wrapper. probably the shell script is running some native (64bit) tools like awk, sed, etc before it starts (the real) steam.

urdarinda commented 7 years ago

I tried putting export LD_PRELOAD=/usr/local/lib/libproxychains4.so into the steamcmd.sh just before the actual call , it does solve the preload issue but still throws out 407 error. Also , I tried directly running the steam binary without the steamcmd wrapper, still the same error. I get the same error whether I use the proxychains4 wrapper or not .

rofl0r commented 7 years ago

it does solve the preload issue but still throws out 407 error

your proxychains.conf is correct and working ? can you paste the proxychains output when steam binary is started just with LD_PRELOAD ?