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

2015-10-20 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane
> -Original Message- > From: Styma, Robert E (Robert) [mailto:robert.st...@alcatel-lucent.com] > Sent: Monday, October 19, 2015 5:12 PM > To: CentOS@centos.org > Subject: [CentOS] Can I force yum to only use http. > > Our outsourced IT department has decided to use

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

2015-10-19 Thread Peter
On 10/20/2015 01:53 PM, John R Pierce wrote: > configure your external gateway firewall to REJECT (not DROP) any > outbound ftp, and yum will quickly move onto other protocols. You should be able to accomplish the same thing by configuring your local firewall to REJECT the packets before the reach

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

2015-10-19 Thread Leonard den Ottolander
Hello Robert, On Mon, 2015-10-19 at 21:12 +, Styma, Robert E (Robert) wrote: > Various Google searches and the manual page have not shown me how to > avoid using ftp mirrors. When configuring your repo's using baseurl= instead of mirrorlist= you can pin the server being used. Find a http mirr

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

2015-10-19 Thread John R Pierce
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

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

2015-10-19 Thread Styma, Robert E (Robert)
> > FWIW, my Centos 7 install doesn't have ftp installed and yum has no > apparent issues. > > I also, mainly, use Fedora (22 currently) and it hasn't had ftp > installed for a long time. Of course it uses dnf now, not yum. > If I understand you correctly, if I uninstall the ftp client, yum w

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

2015-10-19 Thread John R Pierce
On 10/19/2015 2:52 PM, Yamaban wrote: Setting up a proxy that gives a "404"/deny on ftp:// is more helpful here. or a simple REJECT on outbound port 21 (FTP). 404 is a http error, not of much use here. -- john r pierce, recycling bits in santa cruz _

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

2015-10-19 Thread Roger Wells
On 10/19/2015 05:12 PM, Styma, Robert E (Robert) wrote: > Our outsourced IT department has decided to use white listing on the > firewalls for outbound ftp. I was given a list of sites our lab had accessed > via ftp and eventually tracked them down to Linux machines running yum. They > are all

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

2015-10-19 Thread Styma, Robert E (Robert)
Our outsourced IT department has decided to use white listing on the firewalls for outbound ftp. I was given a list of sites our lab had accessed via ftp and eventually tracked them down to Linux machines running yum. They are all CentOS 5 or 6 with a smattering of 7. It is impractical to lis