Привет!
делаю yum install fail2ban
Показать
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
^C
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os: (28, 'connect() timed out!')
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras: (28, 'connect() timed out!')
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates error was
12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates: (28, 'connect() timed out!')
Could not retrieve mirrorlist http://vzdownload.swsoft.com/download/mirrors/centos-6 error was
12: Timeout on http://vzdownload.swsoft.com/download/mirrors/centos-6: (28, 'connect() timed out!')
Could not retrieve mirrorlist http://vzdownload.swsoft.com/download/mirrors/updates-released-ce6 error was
12: Timeout on http://vzdownload.swsoft.com/download/mirrors/updates-released-ce6: (28, 'connect() timed out!')
* base: centos.mirror.connexeon.net
* extras: centos.mirror.connexeon.net
* updates: centos.mirror.connexeon.net
http://centos.mirror.connexeon.net/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.mirror.connexeon.net/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
http://ftp.belnet.be/ftp.centos.org/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://ftp.belnet.be/ftp.centos.org/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
http://centos.weepeetelecom.be/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.weepeetelecom.be/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
http://centos.mirror.nucleus.be/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.mirror.nucleus.be/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
http://centos.cu.be/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.cu.be/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
http://mirror.myip.be/pub/centos/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.myip.be/pub/centos/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
http://mirror.bbln.org/centos/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.bbln.org/centos/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
http://ftp.rezopole.net/centos/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://ftp.rezopole.net/centos/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
^C
^C
^C
^[
Current download cancelled, interrupt (ctrl-c) again within two seconds
to exit.
http://fr2.rpmfind.net/linux/centos/6.5/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://fr2.rpmfind.net/linux/centos/6.5/os/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
http://centos.mirror.connexeon.net/6.5/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.mirror.connexeon.net/6.5/extras/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
^C
^C
^C
^C
^C
^C
^[
^[
^[
^[
^[
^[http://centos.weepeetelecom.be/6.5/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.weepeetelecom.be/6.5/extras/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
http://centos.mirror.nucleus.be/6.5/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.mirror.nucleus.be/6.5/extras/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
http://centos.cu.be/6.5/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.cu.be/6.5/extras/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
+
+
+^^^[^^
as
sad
asd
dsa
exit
quit
http://mirror.myip.be/pub/centos/6.5/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.myip.be/pub/centos/6.5/extras/x86_64/repodata/repomd.xml: (28, 'connect() timed out!')
Trying other mirror.
при активном правиле iptables
[console]$IPTABLES -P INPUT ACCEPT
$IPTABLES -P FORWARD DROP
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -A INPUT -s мой_ип -p tcp -m multiport --dport 80,443 -j ACCEPT
$IPTABLES -P INPUT DROP
[/console]
Вопрос №1
Как остановить этот процесс установки yum install?
Вопрос №2
Какое правило добавить, чтобы yum install работал?