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

Unable to establish SSL connection upon proxychains4 wget on Ubuntu 14.04 LTS #137

Closed jk2K closed 5 years ago

jk2K commented 8 years ago

I run below command on Ubuntu 14.04 LTS

proxychains4 wget https://downloads.gradle.org/distributions/gradle-2.14.1-all.zip

result

[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.11-git-5-ge527b9e
--2016-08-26 14:30:13--  https://downloads.gradle.org/distributions/gradle-2.14.1-all.zip
Resolving downloads.gradle.org (downloads.gradle.org)... 224.0.0.1
Connecting to downloads.gradle.org (downloads.gradle.org)|224.0.0.1|:443... [proxychains] Strict chain  ...  127.0.0.1:1080  ...  downloads.gradle.org:443  ...  OK
connected.
Unable to establish SSL connection.

but work on Mac OS X 10.11.6

it was weird

rofl0r commented 8 years ago

does it work now ?

jk2K commented 8 years ago

no

[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.11-git-5-ge527b9e
--2016-10-17 09:12:51--  https://downloads.gradle.org/distributions/gradle-2.14.1-all.zip
Resolving downloads.gradle.org (downloads.gradle.org)... 224.0.0.1
Connecting to downloads.gradle.org (downloads.gradle.org)|224.0.0.1|:443... [proxychains] Strict chain  ...  127.0.0.1:1080  ...  downloads.gradle.org:443  ...  OK
connected.
Unable to establish SSL connection
rofl0r commented 8 years ago

can anyone else here who has ubuntu 14.04 (or any other ubuntu) show up & report if this command works for him ?

proxychains4 wget https://downloads.gradle.org/distributions/gradle-2.14.1-all.zip
hippyk commented 5 years ago

can anyone else here who has ubuntu 14.04 (or any other ubuntu) show up & report if this command works for him ?

proxychains4 wget https://downloads.gradle.org/distributions/gradle-2.14.1-all.zip

proxychains4 wget https://downloads.gradle.org/distributions/gradle-2.14.1-all.zip [proxychains] config file found: /home/lyn/.proxychains/proxychains.conf [proxychains] preloading /usr/lib/libproxychains4.so [proxychains] DLL init: proxychains-ng 4.14 --2019-09-05 16:46:12-- https://downloads.gradle.org/distributions/gradle-2.14.1-all.zip Resolving downloads.gradle.org (downloads.gradle.org)... 224.0.0.1 Connecting to downloads.gradle.org (downloads.gradle.org)|224.0.0.1|:443... [proxychains] Strict chain ... 127.0.0.1:10808 ... 127.0.0.1:10808 <--socket error or timeout! failed: Connection refused.

rofl0r commented 5 years ago

terminal1:

~ # cd microsocks/
~/microsocks[master]# ./microsocks -i 127.0.0.1

terminal2

~ # git clone git://github.com/rofl0r/proxychains-ng
~ # cd proxychains-ng/
~/proxychains-ng[master]# ./configure 
...
~/proxychains-ng[master]# make
~/proxychains-ng[master]# cp src/proxychains.conf .
~/proxychains-ng[master]# nano proxychains.conf 
[ put socks5 127.0.0.1 1080 instead of tor default proxy ]
~/proxychains-ng[master]# ./proxychains4 wget https://downloads.gradle.org/distributions/gradle-2.14.1-all.zip
[proxychains] config file found: /home/rofl/proxychains-ng/proxychains.conf
[proxychains] preloading ./libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.14-git-4-g962373e
--2019-09-05 15:10:46--  https://downloads.gradle.org/distributions/gradle-2.14.1-all.zip
Resolving downloads.gradle.org (downloads.gradle.org)... 224.0.0.1
Connecting to downloads.gradle.org (downloads.gradle.org)|224.0.0.1|:443... [proxychains] Strict chain  ...  127.0.0.1:1080  ...  downloads.gradle.org:443  ...  OK
connected.
HTTP request sent, awaiting response... 200 OK
Length: 69028536 (66M) [application/zip]
Saving to: 'gradle-2.14.1-all.zip'

gradle-2.14.1-all.z 100%[===================>]  65.83M  57.3MB/s    in 1.1s    

2019-09-05 15:10:47 (57.3 MB/s) - 'gradle-2.14.1-all.zip' saved [69028536/69028536]

~/proxychains-ng[master]# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial
hippyk commented 5 years ago

@rofl0r Mine is OK too now. My previous problem was because I was upgraded from 3. I didn't regenerate the conf file.

rofl0r commented 5 years ago

great. so it looks like this can be closed.

khalequzzaman17 commented 2 years ago

Works like a charm. Thanks!