[CentOS] Can I force yum to only use http.

John R Pierce pierce at hogranch.com
Tue Oct 20 00:53:36 UTC 2015


On 10/19/2015 2:46 PM, Styma, Robert E (Robert) wrote:
> If I understand you correctly, if I uninstall the ftp client, yum will not use it as it cannot.  Is this the case?  I had assumed that the code underlying yum had its own stack for dealing withftp://... urls.

no, thats quite wrong.    yum uses libcurl, which is the guts of the 
curl command, and curl accesses ftp:// url's without using the ftp command

configure your external gateway firewall to REJECT (not DROP) any 
outbound ftp, and yum will quickly move onto other protocols.

-- 
john r pierce, recycling bits in santa cruz




More information about the CentOS mailing list