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

proxychains4 error #560

Closed tease5713 closed 7 months ago

tease5713 commented 7 months ago

I can't open brave browser with proxychains

$proxychains4 brave-browser [proxychains] config file found: /etc/proxychains.conf [proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [0407/085557.699809:WARNING:close_multiple.cc(67)] close: Bad file descriptor (9) [0407/085557.699934:WARNING:close_multiple.cc(67)] close: Bad file descriptor (9) [0407/085557.699939:WARNING:close_multiple.cc(67)] close: Bad file descriptor (9) [0407/085557.699942:WARNING:close_multiple.cc(67)] close: Bad file descriptor (9) [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [1778:1778:0407/085557.996188:FATAL:zygote_host_impl_linux.cc(217)] Check failed: . : No such file or directory (2) [0407/085558.002622:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2) [0407/085558.002683:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2) /usr/bin/brave-browser: line 48: 1778 Trace/breakpoint trap (core dumped) "$HERE/brave" "$@"

rofl0r commented 7 months ago

try proxydns daemon method or turn off proxy_dns

tease5713 commented 7 months ago

It is my first time using it how to try proxydns daemon or turn off proxy_dns?

rofl0r commented 7 months ago

read the config file. it's full of comments explaining the options.

tease5713 commented 7 months ago

Tried lots of different proxies with proxy_dns turned off but I can't browse

$proxychains4 brave-browser [proxychains] config file found: /etc/proxychains.conf [proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [proxychains] DLL init: proxychains-ng 4.16 [1640:1640:0408/001736.998364:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(161) Cloud management controller initialization aborted as CBCM is not enabled. Please use the --enable-chrome-browser-cloud-management command line flag to enable it if you are not using the official Google Chrome build. [proxychains] DLL init: proxychains-ng 4.16 libva error: /usr/lib/x86_64-linux-gnu/dri/virtio_gpu_drv_video.so init failed [1694:1694:0408/001737.236297:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization [proxychains] Strict chain ... 68.71.249.153:48606 ... 18.239.50.62:443 libva error: /usr/lib/x86_64-linux-gnu/dri/virtio_gpu_drv_video.so init failed [1846:1846:0408/001737.682946:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization libva error: /usr/lib/x86_64-linux-gnu/dri/virtio_gpu_drv_video.so init failed [1886:1886:0408/001737.939100:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization libva error: /usr/lib/x86_64-linux-gnu/dri/virtio_gpu_drv_video.so init failed [1816:7:0408/001738.068129:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 [1640:1657:0408/001741.501793:ERROR:cert_verify_proc_builtin.cc(878)] CertVerifyProcBuiltin for variations.brave.com failed: ----- Certificate i=1 (emailAddress=none,CN=None,OU=NA,O=None\, LLC,L=Dallas,ST=Texas,C=US) ----- ERROR: No matching issuer found

... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 18.239.50.62:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 18.239.50.62:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 44.231.4.201:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 44.231.4.201:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 [1640:1657:0408/001756.424693:ERROR:cert_verify_proc_builtin.cc(878)] CertVerifyProcBuiltin for go-updater.brave.com failed: ----- Certificate i=1 (emailAddress=none,CN=None,OU=NA,O=None\, LLC,L=Dallas,ST=Texas,C=US) ----- ERROR: No matching issuer found

... 151.101.37.32:443 ... OK [1697:1708:0408/001757.242774:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [1697:1708:0408/001757.243243:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [1697:1708:0408/001757.243340:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [proxychains] Strict chain ... 68.71.249.153:48606 ... 18.239.36.14:443 ... OK [1697:1708:0408/001757.962085:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [1697:1708:0408/001758.781133:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [1697:1708:0408/001759.599020:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [proxychains] Strict chain ... 68.71.249.153:48606 [1640:1657:0408/001759.600297:ERROR:cert_verify_proc_builtin.cc(878)] CertVerifyProcBuiltin for star-randsrv.bsg.brave.com failed: ----- Certificate i=1 (emailAddress=none,CN=None,OU=NA,O=None\, LLC,L=Dallas,ST=Texas,C=US) ----- ERROR: No matching issuer found

... 54.218.52.75:443 ... OK [1697:1708:0408/001800.354304:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [proxychains] Strict chain ... 68.71.249.153:48606 [1640:1657:0408/001800.355578:ERROR:cert_verify_proc_builtin.cc(878)] CertVerifyProcBuiltin for variations.brave.com failed: ----- Certificate i=1 (emailAddress=none,CN=None,OU=NA,O=None\, LLC,L=Dallas,ST=Texas,C=US) ----- ERROR: No matching issuer found

... 54.218.52.75:443 ... OK [1697:1708:0408/001801.188542:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [1697:1708:0408/001801.188701:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 54.218.52.75:443 ... OK [1640:1657:0408/001802.775267:ERROR:cert_verify_proc_builtin.cc(878)] CertVerifyProcBuiltin for laptop-updates.brave.com failed: ----- Certificate i=1 (emailAddress=none,CN=None,OU=NA,O=None\, LLC,L=Dallas,ST=Texas,C=US) ----- ERROR: No matching issuer found

[1697:1708:0408/001802.775582:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [1697:1708:0408/001803.879798:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [1697:1708:0408/001803.941523:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [1697:1708:0408/001804.494057:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [1640:1657:0408/001804.703923:ERROR:cert_verify_proc_builtin.cc(878)] CertVerifyProcBuiltin for search.brave.com failed: ----- Certificate i=1 (emailAddress=none,CN=None,OU=NA,O=None\, LLC,L=Dallas,ST=Texas,C=US) ----- ERROR: No matching issuer found

[1697:1708:0408/001804.704249:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [proxychains] Strict chain ... 68.71.249.153:48606 ... 52.43.67.83:80 ... OK [1697:1708:0408/001805.639959:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [1697:1708:0408/001806.166102:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [1697:1708:0408/001807.156580:ERROR:ssl_client_socket_impl.cc(970)] handshake failed; returned -1, SSL error code 1, net_error -202 [proxychains] Strict chain ... 68.71.249.153:48606 ... 44.231.4.201:443 ... OK [proxychains] Strict chain ... 68.71.249.153:48606 ... 44.231.4.201:443 ... OK

rofl0r commented 7 months ago

lines like [proxychains] Strict chain ... 68.71.249.153:48606 ... 44.231.4.201:443 ... OK show you that proxychains works as expected. your issue lies elsewhere - maybe the proxies you use inject faulty certificates to MITM your connection.

tease5713 commented 7 months ago

I found them here https://proxyscrape.com/free-proxy-list. And all of their proxies show the same issue are they malicious?

rofl0r commented 7 months ago

you cant trust proxies from "free" lists. if you want to find out whether proxychains-ng works with your app of choice, use a proxy that you control. for example tor, microsocks, or tinyproxy running on localhost or some cloud server you control.