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.82k stars 1.08k forks source link

proxychains-ng not working with steam #386

Open tazihad opened 3 years ago

tazihad commented 3 years ago

I have seen previous issue. I understand that steam is 32 bit application. I am using arch. I have build proxychains 32 bit from AUR But I am unable to figure out how to use it. It seems that socks4 proxy isn't connecting through steam. But works in browsers. It would be helpful if you elaborate about how to use proxychains through 32 bit apps

rofl0r commented 3 years ago

well, what kind of output do you get ? i already mentioned a couple tips for debugging this in the other issue report; maybe you should try that and report back. also, is there any info about whether steam uses some sort of container ?

tazihad commented 3 years ago

If I use below command. Steam download of games won't use proxy. I am using socks4 proxy from free proxy site. I can see that proxy is working in normal download manager or firefox custom proxy mode.

$ LD_PRELOAD=/usr/lib/libproxychains4.so proxychains steam

Check output ``` [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 Running Steam on manjarolinux 21.1.0 64-bit [proxychains] DLL init: proxychains-ng 4.14 STEAM_RUNTIME is enabled automatically [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 Steam runtime environment up-to-date! [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 Steam client's requirements are satisfied WARNING: Using default/fallback debugger launch /home/pulsar/.local/share/Steam/ubuntu12_32/steam ERROR: ld.so: object '/usr/lib/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. [2021-07-21 16:10:21] Startup - updater built Jul 16 2021 18:04:56 Installing breakpad exception handler for appid(steam)/version(1626461631) [2021-07-21 16:10:21] Loading cached metrics from disk (/home/pulsar/.local/share/Steam/package/steam_client_metrics.bin) [2021-07-21 16:10:21] Using the following download hosts for Public, Realm steamglobal [2021-07-21 16:10:21] 1. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf' [2021-07-21 16:10:21] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf' [2021-07-21 16:10:21] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' Installing breakpad exception handler for appid(steam)/version(1626461631) [2021-07-21 16:10:21] Verifying installation... [2021-07-21 16:10:21] Verification complete Loaded SDL version 2.0.15-6655637 /usr/share/themes/Breath/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}' (steam:2595): Gtk-WARNING **: 16:10:22.000: Unable to locate theme engine in module_path: "adwaita", /usr/share/themes/Breath/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 Steam: An X Error occurred X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 12 xerror_handler: X failed, continuing Steam: An X Error occurred X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 13 xerror_handler: X failed, continuing Steam: An X Error occurred X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 14 xerror_handler: X failed, continuing [proxychains] DLL init: proxychains-ng 4.14 Installing breakpad exception handler for appid(steam)/version(1626461631) [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy [proxychains] DLL init: proxychains-ng 4.14 [0721/161022.531332:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser [proxychains] DLL init: proxychains-ng 4.14 [0721/161022.582874:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0721/161022.582948:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1626458736 [0721/161022.582957:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0721/161022.582981:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve [proxychains] DLL init: proxychains-ng 4.14 [0721/161023.114887:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0721/161023.114962:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1626458736 [0721/161023.114972:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0721/161023.114980:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve [0721/161023.115690:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) [0721/161023.203972:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process. CAppInfoCacheReadFromDiskThread took 123 milliseconds to initialize [proxychains] DLL init: proxychains-ng 4.14 [0721/161023.328772:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0721/161023.328852:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1626458736 [0721/161023.328862:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0721/161023.328870:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve [0721/161023.330950:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) CApplicationManagerPopulateThread took 77 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Proceed to auto login Opted-in Controller Mask for AppId 0: 0 (steam:2595): Gtk-WARNING **: 16:10:24.892: gtk_disable_setlocale() must be called before gtk_init() local (potentially out of sync) copy of roaming config loaded - 377 bytes. [proxychains] DLL init: proxychains-ng 4.14 ERROR: ld.so: object '/usr/lib/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 MESA-INTEL: warning: Haswell Vulkan support is incomplete [proxychains] DLL init: proxychains-ng 4.14 ERROR: ld.so: object '/usr/lib/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. MESA-INTEL: warning: Haswell Vulkan support is incomplete Installing breakpad exception handler for appid(steam)/version(1626461631) roaming config store loaded successfully - 377 bytes. migrating temporary roaming config store BRefreshApplicationsInLibrary 1: 24ms Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Failed to init SteamVR because it isn't installed [proxychains] DLL init: proxychains-ng 4.14 [proxychains] DLL init: proxychains-ng 4.14 ExecCommandLine: "'/home/pulsar/.local/share/Steam/ubuntu12_32/steam'" System startup time: 7.45 seconds Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) ExecuteSteamURL: "steam://open/downloads" Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) ```

And If I use lib32 one that was build from AUR as you have mentioned in previous issued. I get this error:

$ LD_PRELOAD=/usr/lib32/libproxychains4.so proxychains steam

Check output ``` ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Running Steam on manjarolinux 21.1.0 64-bit ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. STEAM_RUNTIME is enabled automatically ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Steam runtime environment up-to-date! ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Steam client's requirements are satisfied WARNING: Using default/fallback debugger launch /home/pulsar/.local/share/Steam/ubuntu12_32/steam [proxychains] DLL init: proxychains-ng 4.14 [2021-07-21 16:15:50] Startup - updater built Jul 16 2021 18:04:56 Installing breakpad exception handler for appid(steam)/version(1626461631) Looks like steam didn't shutdown cleanly, scheduling immediate update check [2021-07-21 16:15:51] Loading cached metrics from disk (/home/pulsar/.local/share/Steam/package/steam_client_metrics.bin) [2021-07-21 16:15:51] Using the following download hosts for Public, Realm steamglobal [2021-07-21 16:15:51] 1. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf' [2021-07-21 16:15:51] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf' [2021-07-21 16:15:51] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' Installing breakpad exception handler for appid(steam)/version(1626461631) [2021-07-21 16:15:51] Checking for update on startup [2021-07-21 16:15:51] Checking for available updates... [2021-07-21 16:15:51] Downloading manifest: https://cdn.akamai.steamstatic.com/client/steam_client_ubuntu12 Installing breakpad exception handler for appid(steam)/version(1626461631) [proxychains] Strict chain ... 160.202.145.161:3629 ... 104.97.76.202:443 ... OK [2021-07-21 16:15:51] Download skipped: /client/steam_client_ubuntu12 version 1626461631, installed version 1626461631, existing pending version 0 [2021-07-21 16:15:51] Nothing to do [2021-07-21 16:15:51] Verifying installation... [2021-07-21 16:15:51] Performing checksum verification of executable files [2021-07-21 16:15:52] Verification complete Loaded SDL version 2.0.15-6655637 /usr/share/themes/Breath/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}' (steam:4389): Gtk-WARNING **: 16:15:53.134: Unable to locate theme engine in module_path: "adwaita", /usr/share/themes/Breath/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Steam: An X Error occurred X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 12 xerror_handler: X failed, continuing Steam: An X Error occurred X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 13 xerror_handler: X failed, continuing Steam: An X Error occurred X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 14 xerror_handler: X failed, continuing ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Installing breakpad exception handler for appid(steam)/version(1626461631) ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [0721/161553.375713:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [0721/161553.414094:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0721/161553.414166:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1626458736 [0721/161553.414177:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0721/161553.414186:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [0721/161553.471726:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0721/161553.471804:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1626458736 [0721/161553.471812:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0721/161553.471819:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve [0721/161553.472538:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process [0721/161553.508834:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [0721/161553.563745:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0721/161553.563826:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1626458736 [0721/161553.563835:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0721/161553.563848:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve [0721/161553.564620:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) CApplicationManagerPopulateThread took 43 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread) CAppInfoCacheReadFromDiskThread took 119 milliseconds to initialize Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Installing breakpad exception handler for appid(steam)/version(1626461631) Proceed to auto login Installing breakpad exception handler for appid(steam)/version(1626461631) [proxychains] Strict chain ... 160.202.145.161:3629 ... 142.250.195.78:443 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 Installing breakpad exception handler for appid(steam)/version(1626461631) Found no supported CDM versions, using last known good version 4.10.1440.19 Installing breakpad exception handler for appid(steam)/version(1626461631) [proxychains] DLL init: proxychains-ng 4.14 crash_20210721161554_20.dmp[4493]: Uploading dump (out-of-process) /tmp/dumps/crash_20210721161554_20.dmp Opted-in Controller Mask for AppId 0: 0 [proxychains] Strict chain ... 160.202.145.161:3629 [proxychains] Strict chain ... 160.202.145.161:3629 ... 208.64.203.140:80 ... OK ... 142.250.195.78:443 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 Installing breakpad exception handler for appid(steam)/version(1626461631) ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [proxychains] DLL init: proxychains-ng 4.14 (steam:4389): Gtk-WARNING **: 16:15:55.800: gtk_disable_setlocale() must be called before gtk_init() local (potentially out of sync) copy of roaming config loaded - 377 bytes. crash_20210721161554_20.dmp[4493]: Finished uploading minidump (out-of-process): success = yes crash_20210721161554_20.dmp[4493]: response: CrashID=bp-cb3541fa-e048-4c79-967a-c02932210721 crash_20210721161554_20.dmp[4493]: file ''/tmp/dumps/crash_20210721161554_20.dmp'', upload yes: ''CrashID=bp-cb3541fa-e048-4c79-967a-c02932210721'' ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. MESA-INTEL: warning: Haswell Vulkan support is incomplete [proxychains] Strict chain ... 160.202.145.161:3629 ... 2a01:bc80:5:112::5:80 [proxychains] error: SOCKS4 doesn't support ipv6 addresses <--socket error or timeout! [proxychains] Strict chain ... 160.202.145.161:3629 ... 153.254.86.181:27022 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 153.254.86.29:27021 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 153.254.86.181:443 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 103.10.124.165:443 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 162.254.196.84:27033 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 162.254.196.68:27032 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ... 103.10.124.163:27026 [proxychains] DLL init: proxychains-ng 4.14 ... OK MESA-INTEL: warning: Haswell Vulkan support is incomplete src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 LogonFailure 3 [proxychains] Strict chain ... 160.202.145.161:3629 ... 103.10.124.164:443 ... OK [proxychains] Strict chain ... 160.202.145.161:3629 ... 162.254.196.67:27032 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 162.254.196.67:27039 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 103.10.124.163:27023 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 LogonFailure 3 Installing breakpad exception handler for appid(steam)/version(1626461631) Exiting workitem thread (steam:4389): GLib-GObject-CRITICAL **: 16:16:14.720: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (steam:4389): GLib-GObject-WARNING **: 16:16:14.720: invalid (NULL) pointer instance (steam:4389): GLib-GObject-CRITICAL **: 16:16:14.720: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (steam:4389): GLib-GObject-CRITICAL **: 16:16:14.721: g_object_unref: assertion 'G_IS_OBJECT (object)' failed [2021-07-21 16:16:14] Shutdown Installing breakpad exception handler for appid(steam)/version(1626461631) Installing breakpad exception handler for appid(steam)/version(1626461631) ```

I hope I am giving enought information. And I am giving exact steps of what I did.

tazihad commented 3 years ago

I have also tried to put LD_PRELOAD in .zshrc but it looks like both of them give same above errors.

.zshrc

LD_PRELOAD=/usr/lib/libproxychains4.so
LD_PRELOAD=/usr/lib32/libproxychains4.so

Either the error is ERROR: ld.so: object '/usr/lib/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. or ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

I tried building the 32-bit version from AUR I also tried manually. make clean ; CC="gcc -m32" ./configure ; make ; sudo make install

rofl0r commented 3 years ago

according to your own log (when you used 32 bit version) it worked:

[2021-07-21 16:15:51] Downloading manifest: https://cdn.akamai.steamstatic.com/client/steam_client_ubuntu12 Installing breakpad exception handler for appid(steam)/version(1626461631) [proxychains] Strict chain ... 160.202.145.161:3629 ... 104.97.76.202:443 ... OK [2021-07-21 16:15:51] Download skipped: /client/steam_client_ubuntu12 version 1626461631, installed v

what happens here is that steam uses a mix of 64bit and 32bit binaries, however only the 32bit ones are used to download. that means you get one error message per 64bit process started, which is annoying, but doesnt prevent it from working with the 32bit executable responsible for downloading stuff.

the optimal solution to this problem is to find out which one of the processes launched during steam startup does the internet connection and inject proxychains only into that process. if the process is started by a shell script, it should be easy to modify it. in order to find out which process is doing the connections, run strace -f -o log -s 512 steam and then look in the result for socket(PF_INET, SOCK_STREAM - the line is prefixed with a process id number, and using it you can find out which process was doing it by looking at the exec syscalls with that pid.

for example if the line doing the socket syscalls looks like

26240 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3

the process id was 26240, so do grep '26240 execve' < log; the last of those lines is probably the culprit.

the result from that command should look like

26240 execve("/bin/sh", ["sh", "-c", "curl google.com"], [/* 22 vars */]) = 0
26240 execve("/bin/curl", ["curl", "google.com"], [/* 22 vars */]) = 0
tazihad commented 3 years ago

This is the output. I can't find socket. $ strace -f -o log -s 512 steam

Check output ``` Running Steam on manjarolinux 21.1.0 64-bit STEAM_RUNTIME is enabled automatically Steam runtime environment up-to-date! strace: WARNING: Proper structure decoding for this personality is not supported, please consider building strace with mpers support enabled. Steam client's requirements are satisfied WARNING: Using default/fallback debugger launch /home/pulsar/.local/share/Steam/ubuntu12_32/steam [2021-07-21 22:16:13] Startup - updater built Jul 16 2021 18:04:56 Installing breakpad exception handler for appid(steam)/version(1626461631) Looks like steam didn't shutdown cleanly, scheduling immediate update check [2021-07-21 22:16:14] Loading cached metrics from disk (/home/pulsar/.local/share/Steam/package/steam_client_metrics.bin) [2021-07-21 22:16:14] Using the following download hosts for Public, Realm steamglobal [2021-07-21 22:16:14] 1. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf' [2021-07-21 22:16:14] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf' [2021-07-21 22:16:14] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' Installing breakpad exception handler for appid(steam)/version(1626461631) [2021-07-21 22:16:14] Checking for update on startup [2021-07-21 22:16:14] Checking for available updates... [2021-07-21 22:16:14] Downloading manifest: https://cdn.akamai.steamstatic.com/client/steam_client_ubuntu12 Installing breakpad exception handler for appid(steam)/version(1626461631) [2021-07-21 22:16:14] Download skipped: /client/steam_client_ubuntu12 version 1626461631, installed version 1626461631, existing pending version 0 [2021-07-21 22:16:14] Nothing to do [2021-07-21 22:16:14] Verifying installation... [2021-07-21 22:16:14] Performing checksum verification of executable files [2021-07-21 22:16:29] Verification complete Loaded SDL version 2.0.15-6655637 (steam:7315): Gtk-WARNING **: 22:16:31.385: Unable to locate theme engine in module_path: "adwaita", Steam: An X Error occurred X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 12 /home/pulsar/.local/share/Steam/steam.sh: line 772: 7315 Trace/breakpoint trap (core dumped) $STEAM_DEBUGGER $DEBUGGER_ARGS "$STEAMROOT/$STEAMEXEPATH" "$@" ```

Also I think that strict chain ok line was because steam load its front page store. which is html.

rofl0r commented 3 years ago

the output is in the file called "log".

tazihad commented 3 years ago

this is the output I get. $ grep '28543 execve' < log
28543 execve("/home/pulsar/.local/share/Steam/ubuntu12_32/steam", ["/home/pulsar/.local/share/Steam/ubuntu12_32/steam"], 0x5578bf5ce870 /* 89 vars */) = 0

rofl0r commented 3 years ago

28543 is the (only) one doing a/the socket call ? if so check whether /home/pulsar/.local/share/Steam/ubuntu12_32/steam is a shell script, and if so add LD_PRELOAD=/path/to/32bit/libproxychains4.so somewhere close to the top

tazihad commented 3 years ago

LD_PRELOAD=/usr/lib32/libproxychains4.so /home/pulsar/.local/share/Steam/ubuntu12_32/steam gives me same error There are other socket calls like this

grep '28621 execve' < log                                           ✔  5s  
28621 execve("/bin/sh", ["sh", "-c", "LD_LIBRARY_PATH=\"$SYSTEM_LD_LIBRARY_PATH\" PATH=\"$SYSTEM_PATH\" lspci -mm -n"], 0xffc9c86c /* 89 vars */ <unfinished ...>
28621 execve("/usr/bin/lspci", ["lspci", "-mm", "-n"], 0x562d96441370 /* 89 vars */) = 0
tazihad commented 3 years ago

I have tried again after restarting pc. I guess proxy connects with 32bit proxychains but fails because Failed to load steamui.so

$ LD_PRELOAD=/usr/lib32/libproxychains4.so ~/.local/share/Steam/ubuntu12_32/steam

[proxychains] DLL init: proxychains-ng 4.14
[2021-07-22 00:41:49] Startup - updater built Jul 20 2021 22:25:51
Installing breakpad exception handler for appid(steam)/version(1626824053)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2021-07-22 00:41:50] Loading cached metrics from disk (/home/pulsar/.local/share/Steam/package/steam_client_metrics.bin)
[2021-07-22 00:41:50] Using the following download hosts for Public, Realm steamglobal
[2021-07-22 00:41:50] 1. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-07-22 00:41:50] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-07-22 00:41:50] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1626824053)
[2021-07-22 00:41:50] Checking for update on startup
[2021-07-22 00:41:50] Checking for available updates...
[2021-07-22 00:41:50] Downloading manifest: https://cdn.akamai.steamstatic.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1626824053)
[proxychains] Strict chain  ...  160.202.145.161:3629  ...  104.97.76.184:443  ...  OK
[2021-07-22 00:41:50] Download skipped: /client/steam_client_ubuntu12 version 1626824053, installed version 1626824053, existing pending version 0
[2021-07-22 00:41:50] Nothing to do
[2021-07-22 00:41:50] Verifying installation...
[2021-07-22 00:41:50] Performing checksum verification of executable files
[2021-07-22 00:41:51] Verification complete
Failed to load steamui.so - dlerror(): steamui.so: cannot open shared object file: No such file or directory
[2021-07-22 00:42:45] Shutdown
Installing breakpad exception handler for appid(steam)/version(1626824053)
Installing breakpad exception handler for appid(steam)/version(1626824053)
rofl0r commented 3 years ago

LD_PRELOAD=/usr/lib32/libproxychains4.so /home/pulsar/.local/share/Steam/ubuntu12_32/steam

that's not what i said. i said:

check whether /home/pulsar/.local/share/Steam/ubuntu12_32/steam is a shell script, and if so add LD_PRELOAD=/path/to/32bit/libproxychains4.so somewhere close to the top

that means you should open the file in your editor and modify it if its a script, and then launch the main app in the usual way

you can also check in your strace log which was the original process that executed that steam program and modify that, if possible.

tazihad commented 3 years ago

okay. this is an executable file. doesn't open in any editor.

rofl0r commented 3 years ago

so which process is starting it (it's the process that owned or created that pid, just find previous execve for that pid, or if there's none a fork or clone syscall that returned the pid)

rofl0r commented 3 years ago

okay. this is an executable file. doesn't open in any editor.

so which process is starting it (it's the process that owned or created that pid, just find previous execve for that pid, or if there's none a fork or clone syscall that returned the pid)

actuallcy we can fix this easier: just mv /home/pulsar/.local/share/Steam/ubuntu12_32/steam /home/pulsar/.local/share/Steam/ubuntu12_32/real_steam and then put a shell script to /home/pulsar/.local/share/Steam/ubuntu12_32/steam that contains

#!/bin/sh
export LD_PRELOAD=.....32...so
exec ./real_steam

and chmod +x it

tazihad commented 3 years ago

I did that, But I get the same error.

console output ``` LD_PRELOAD=/usr/lib32/libproxychains4.so steam ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Running Steam on manjarolinux 21.1.0 64-bit ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. STEAM_RUNTIME is enabled automatically ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Steam runtime environment up-to-date! ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Steam client's requirements are satisfied WARNING: Using default/fallback debugger launch /home/pulsar/.local/share/Steam/ubuntu12_32/steam [proxychains] DLL init: proxychains-ng 4.14 [2021-07-23 01:31:24] Startup - updater built Jul 20 2021 22:25:51 Installing breakpad exception handler for appid(steam)/version(1626824053) [2021-07-23 01:31:24] Loading cached metrics from disk (/home/pulsar/.local/share/Steam/package/steam_client_metrics.bin) [2021-07-23 01:31:24] Using the following download hosts for Public, Realm steamglobal [2021-07-23 01:31:24] 1. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf' [2021-07-23 01:31:24] 2. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf' [2021-07-23 01:31:24] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in' Installing breakpad exception handler for appid(steam)/version(1626824053) [2021-07-23 01:31:24] Verifying installation... [2021-07-23 01:31:24] Verification complete Loaded SDL version 2.0.15-6655637 (steam:14075): Gtk-WARNING **: 01:31:24.876: Unable to locate theme engine in module_path: "adwaita", /home/pulsar/.themes/ChromeOS/gtk-2.0/main.rc:790: error: unexpected identifier 'direction', expected character '}' (steam:14075): Gtk-WARNING **: 01:31:24.880: Unable to locate theme engine in module_path: "adwaita", /home/pulsar/.themes/ChromeOS/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Steam: An X Error occurred X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 12 xerror_handler: X failed, continuing Steam: An X Error occurred X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 13 xerror_handler: X failed, continuing Steam: An X Error occurred X Error of failed request: BadAtom (invalid Atom parameter) Major opcode of failed request: 20 (X_GetProperty) Atom id in failed request: 0x0 Serial number of failed request: 14 xerror_handler: X failed, continuing ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Installing breakpad exception handler for appid(steam)/version(1626824053) ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [0723/013125.106351:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [0723/013125.160594:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0723/013125.160805:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1626819969 [0723/013125.160820:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0723/013125.160868:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [0723/013125.233192:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0723/013125.233359:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1626819969 [0723/013125.233371:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0723/013125.233379:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve [0723/013125.234592:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process [0723/013125.297533:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [0723/013125.376956:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0 [0723/013125.377123:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1626819969 [0723/013125.377131:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public [0723/013125.377140:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve [0723/013125.378501:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) CApplicationManagerPopulateThread took 36 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread) Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) CAppInfoCacheReadFromDiskThread took 117 milliseconds to initialize Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) [proxychains] Strict chain ... 160.202.145.161:3629 ... 2a01:bc80:4:101::36:80 [proxychains] error: SOCKS4 doesn't support ipv6 addresses <--socket error or timeout! Installing breakpad exception handler for appid(steam)/version(1626824053) Proceed to auto login [proxychains] Strict chain ... 160.202.145.161:3629 ... 142.250.195.142:443 (steam:14075): GLib-CRITICAL **: 01:31:26.064: g_main_context_push_thread_default: assertion 'acquired_context' failed (steam:14075): GLib-CRITICAL **: 01:31:26.065: g_main_context_pop_thread_default: assertion 'g_queue_peek_head (stack) == context' failed ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 Found no supported CDM versions, using last known good version 4.10.1440.19 Installing breakpad exception handler for appid(steam)/version(1626824053) [proxychains] DLL init: proxychains-ng 4.14 assert_20210723013126_21.dmp[14174]: Uploading dump (out-of-process) /tmp/dumps/assert_20210723013126_21.dmp [proxychains] Strict chain ... 160.202.145.161:3629 ... 142.250.195.142:443 [proxychains] Strict chain ... 160.202.145.161:3629 ... 208.64.203.140:80 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 Opted-in Controller Mask for AppId 0: 0 ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [proxychains] DLL init: proxychains-ng 4.14 ... OK (steam:14075): Gtk-WARNING **: 01:31:26.744: gtk_disable_setlocale() must be called before gtk_init() local (potentially out of sync) copy of roaming config loaded - 229 bytes. [proxychains] Strict chain ... 160.202.145.161:3629 ... 162.254.196.68:27035 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 162.254.196.68:27039 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 162.254.196.84:27036 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [proxychains] Strict chain ... 160.202.145.161:3629 ... 103.10.124.162:27024 ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 LogonFailure 3 MESA-INTEL: warning: Haswell Vulkan support is incomplete assert_20210723013126_21.dmp[14174]: Finished uploading minidump (out-of-process): success = yes assert_20210723013126_21.dmp[14174]: response: CrashID=bp-3f1eedf7-fe65-49cf-b2cd-e6d912210722 assert_20210723013126_21.dmp[14174]: file ''/tmp/dumps/assert_20210723013126_21.dmp'', upload yes: ''CrashID=bp-3f1eedf7-fe65-49cf-b2cd-e6d912210722'' ERROR: ld.so: object '/usr/lib32/libproxychains4.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [proxychains] DLL init: proxychains-ng 4.14 MESA-INTEL: warning: Haswell Vulkan support is incomplete [proxychains] Strict chain ... 160.202.145.161:3629 ... 162.254.196.83:27036 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 103.10.124.162:27023 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 103.10.124.164:443 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 LogonFailure 3 [proxychains] Strict chain ... 160.202.145.161:3629 ... 2a01:bc80:4:101::36:80 [proxychains] error: SOCKS4 doesn't support ipv6 addresses <--socket error or timeout! Installing breakpad exception handler for appid(steam)/version(1626824053) Installing breakpad exception handler for appid(steam)/version(1626824053) [proxychains] Strict chain ... 160.202.145.161:3629 ... 103.10.124.165:27023 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 162.254.196.67:27034 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 162.254.196.84:27030 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 [proxychains] Strict chain ... 160.202.145.161:3629 ... 103.10.124.164:27022 ... OK src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 src/common/completionportmanager_posix.cpp (551) : Assertion Failed: epoll_ctl finalize MOD failed with error 2 LogonFailure 3 Exiting workitem thread (steam:14075): GLib-GObject-CRITICAL **: 01:32:15.427: g_object_unref: assertion 'G_IS_OBJECT (object)' failed (steam:14075): GLib-GObject-WARNING **: 01:32:15.427: invalid (NULL) pointer instance (steam:14075): GLib-GObject-CRITICAL **: 01:32:15.427: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (steam:14075): GLib-GObject-CRITICAL **: 01:32:15.428: g_object_unref: assertion 'G_IS_OBJECT (object)' failed [2021-07-23 01:32:15] Shutdown ```

Screenshot_20210723_013156

rofl0r commented 3 years ago

I did that

you did what ? if you move the real 32bit steam binary i mentioned in https://github.com/rofl0r/proxychains-ng/issues/386#issuecomment-884955833 to another location and replace it with a shell script running ONLY that renamed binary with LD_PRELOAD and nothing else you don't need to use LD_PRELOAD=/usr/lib32/libproxychains4.so steam anymore because the script runs the right executable with it set already.

tazihad commented 3 years ago

I ran without LD_PRELOAD. I always get same result. This error screen.

tazihad commented 3 years ago

I couldn't run steam through proxychains-ng and use socks4 proxy. But thank you for helping me debugging things. However I am able to use socks4 proxy in steam using redsocks. I followed this easy guide.

freemin7 commented 3 years ago

@tazihad Were you able to just put steam through the socks proxy or did you end up having to put all traffic through the socks proxy?

tazihad commented 3 years ago

@freemin7 I made a script using redsocks. Which put all traffic through socks proxy. Steam doesn't work well with proxychains. Since, steam uses 32bit packages. Here's my script

freemin7 commented 2 years ago

So a WONTFIX ? That is fine.

rofl0r commented 2 years ago

So a WONTFIX ?

OP closed the issue himself. there's nothing proxychains-ng can do to fix the situation, apart from having some kind of "how-to" for this specific scenarion. unfortunately OP didn't follow all the way through with figuring out how this could be made to work, and i don't have steam so can't try it myself.

since i spent considerable effort to help OP with debugging tips, i'll reopen this so i won't have to repeat myself when someone else comes along with the same question.

krsfrodaslz commented 2 years ago

I did that

you did what ? if you move the real 32bit steam binary i mentioned in #386 (comment) to another location and replace it with a shell script running ONLY that renamed binary with LD_PRELOAD and nothing else you don't need to use LD_PRELOAD=/usr/lib32/libproxychains4.so steam anymore because the script runs the right executable with it set already.

@rofl0r This does not work because steam restores all its startup scripts and executables when it launches. But I can't tell if it's really an issue with proxychains. All I observed is steam login fails. There were messages like "strict chain ... OK" in the output. However, my socks proxy (configured in proxychains.conf) didn't receive any requests.

krsfrodaslz commented 2 years ago

I just built a 32-bit proxychains and tested it again. I can confirm that proxychains works. But since steam uses both 32-bit and 64-bit binaries, programs like steamwebhelper are not handled. Maybe proxychains is not the right option for such scenarios.

rofl0r commented 2 years ago

This does not work because steam restores all its startup scripts and executables when it launches.

from where ?

krsfrodaslz commented 2 years ago

This does not work because steam restores all its startup scripts and executables when it launches.

from where ?

From online. It does integrity check when launches. Here's the log.

[2022-05-07 11:19:58] Verifying installation...
[2022-05-07 11:19:58] BVerifyInstalledFiles: steam.sh is 22813 bytes, expected 22814
[2022-05-07 11:19:58] Verification complete
[2022-05-07 11:19:58] Downloading update...
[2022-05-07 11:19:58] Checking for available updates...
[2022-05-07 11:19:58] Downloading manifest: https://media.st.dl.pinyuncloud.com/client/steam_client_publicbeta_ubuntu12
[2022-05-07 11:19:58] Manifest download: send request
[2022-05-07 11:19:58] Manifest download: waiting for download to finish
[2022-05-07 11:19:59] Manifest download: finished
[2022-05-07 11:19:59] Downloaded new manifest: /client/steam_client_publicbeta_ubuntu12 version 1651527325, installed version 1651527325, existing pending version 0
[2022-05-07 11:19:59] Download complete.
[2022-05-07 11:19:59] uninstalled manifest found in /home/mljli/.local/share/Steam/package/steam_client_publicbeta_ubuntu12 (1).
[2022-05-07 11:20:00] Extracting package...
[2022-05-07 11:20:18] Installing update...
[2022-05-07 11:20:27] Cleaning up...
[2022-05-07 11:20:27] Update complete, launching Steam...
rofl0r commented 2 years ago

that's a pity. so it looks the only option left is to ask steam upstream to either

q64ceo commented 2 years ago

I had it working with Proxychains4 i386 for a few days. Now it refuses to login throwing me the same "finalize MOD failed with error 2" error.

Can someone with a working proxychains steam install post their proxychains.conf file here so I may copy it? Thank you.

solarfl4re commented 2 years ago

With 64-bit Proxychains, I can log into Steam, but none of the web-pages load; I can't download any games, either. With the 32-bit lib, I can't log-in. With steamcmd, using 32-bit lib the initial client update/download went through my proxy but I couldn't log in. With the 64-bit lib, I can log in fine.

I tried LD_PRELOAD="/usr/lib/libproxychains4.so:/usr/lib32/libproxychains4.so" steam (loading both 32- and 64-bit libs), but get "Could not connect to the Steam network".

rofl0r commented 2 years ago

anyone tried to get a pure 32bit version of steam and run it with 32 bit proxychains-ng ? for the former there are 2 possible solutions, either use a 32 bit x86 distro like debian in a rootfs/container/vm, or run linux32 steam-installer, which pretends to steam-installer to run on a 32 bit host.

solarfl4re commented 2 years ago

anyone tried to get a pure 32bit version of steam and run it with 32 bit proxychains-ng ? for the former there are 2 possible solutions, either use a 32 bit x86 distro like debian in a rootfs/container/vm, or run linux32 steam-installer, which pretends to steam-installer to run on a 32 bit host.

I set up a 32-bit Debian VM today. Steam no longer supports 32-bit Linux - well, the web browser at least. I couldn’t see any of the normal interface when I started it (e.g Store and Library), just a window saying the web browser wouldn’t work.

People on forums said that links from a regular web browser will open in Steam, will try tomorrow to see if I can download one of my games.

rofl0r commented 2 years ago

i wasn't aware that the steam app uses a built-in webbrowser, but in this case it's probably necessary to use the proxy_dns_daemon method in proxychains.conf

esistgut commented 1 year ago

any update on this? Would be quite useful for people doing mptcp bonding with shadowsocks