On Tue, Feb 5, 2013 at 9:37 PM, Zdenek Pavlas <zpavlas@xxxxxxxxxx> wrote:
> Can yum be configured to download packages via socks proxy directly?No, it can't, ATM. yum/config.py:
> Can yum.conf handle this?
: proxy = UrlOption(default=False, schemes=('http', 'ftp', 'https'), allow_none=True)
Only these proxy schemes are supported.
Yum runs on top of urlgrabber, pycurl, and libcurl. Since curl 7.21.7
socks{4,4a,5,5h}:// proxy protocol prefixes are supported, so adding
support in urlgrabber and yum should be quite easy, but there's some
glue code involved. Does the following work?
$ curl http://some-url --proxy socks4://your-proxy
$curl http:://www.google.co.in --proxy socks5://mysocks5proxy
This works. socks4 does not work in my case. I need to use socks5 proxy and the above command works. Can yum use above command to download package using socks5 proxy ?
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum
--
Rohit S Damkondwar
B.Tech Computer Engineering
CoEP
MyBlog
_______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum