Description of problem: > $ curl -k -vvv --proxy socks5://192.168.122.1:8081 https://py.com.cn/ > /dev/null > * About to connect() to proxy 192.168.122.1 port 8081 (#0) > * Trying 192.168.122.1... > * Adding handle: conn: 0x10cbcf0 > * Adding handle: send: 0 > * Adding handle: recv: 0 > * Curl_addHandleToPipeline: length: 1 > * - Conn 0 (0x10cbcf0) send_pipe: 1, recv_pipe: 0 > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* > No route to host > * Failed connect to py.com.cn:8081; No route to host > * Closing connection 0 > curl: (7) Failed connect to py.com.cn:8081; No route to host Notice how curl tries to connect to py.com.cn:8081 although user didn't specify that port. This is the port specified for use as a socks5 server.
btw curl from fedora 18 seems to work fine so this is a regression.
Seems to work fine with curl-7.32.0-4.fc20.x86_64. It just prints a misleading error message. It should write "Failed connect to 192.168.122.1:8081" instead. The following upstream commit will fix it: https://github.com/bagder/curl/commit/1cf71bd7
curl-7.32.0-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/curl-7.32.0-5.fc20
curl-7.29.0-14.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/curl-7.29.0-14.fc19
curl-7.32.0-5.fc20 works
(In reply to lnie from comment #5) > curl-7.32.0-5.fc20 works Thanks for confirmation!
Package curl-7.29.0-14.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing curl-7.29.0-14.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3142/curl-7.29.0-14.fc19 then log in and leave karma (feedback).
curl-7.32.0-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
curl-7.29.0-15.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/curl-7.29.0-15.fc19
curl-7.32.0-6.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/curl-7.32.0-6.fc20
curl-7.32.0-6.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
curl-7.29.0-15.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.