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

[Pretty Minor] Issue with electron apps when running with proxychains4 #586

Open 0XC7R opened 1 day ago

0XC7R commented 1 day ago

Config and other information has not changed since my last issue post which is here: https://github.com/rofl0r/proxychains-ng/issues/585

I will add new config and other edits if needed in the future.

Not sure if it is either electrum or proxychains related issue. When running an app that uses electrum like discord, signal etc you will be required to add --no-sandbox --in-process-gpu at the end of the target if you want to route its traffic through proxychains and have it boot successfully. If you do not parse the workaround above then the process will just throw an error and exit which is supplied at the bottom and in the screenshot below

Although this work around does not always work with some applications like discord as I had to flatpak install it for it to work compared to the debian install.

I will provide a screenshot below to help show the issue: image The second time I had run signal with proxychains and also parsing the workaround mentioned above is a successful start and run. The above is pretty obvious.

Console output in event of error:

┌─╼[~]
 └╼ ❯❯❯ proxychains4 signal-desktop                              
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
[12627:1113/182953.017777:FATAL:zygote_host_impl_linux.cc(221)] Check failed: . : Invalid argument (22)
[1]    12627 trace trap  proxychains4 signal-desktop
0XC7R commented 1 day ago

I don't think it really has much to do with proxychains however I thought I would mention it just in case including anyone who may encounter this in the future.

rofl0r commented 1 day ago

that's a known issue - search for sandbox in the issues. though it's nice that you document a workaround, which may be useful for some.

0XC7R commented 1 day ago

that's a known issue - search for sandbox in the issues. though it's nice that you document a workaround, which may be useful for some.

Interesting. Kind of a flaw but is nothing really.

The work around doesn't always work for some apps like I said which means you would need to find an additional work around if you cannot use flatpak to install the same application. Theyre the only two workarounds I have really found. I have no clue why the deb install of apps like discord works differently compared to flatpak installation.

0XC7R commented 1 day ago

Up to you but you could add this issue to the read me or I can make a pull request to add it.