M
M
Maxim Grishin2018-04-06 14:54:36
CentOS
Maxim Grishin, 2018-04-06 14:54:36

How to install fail2ban without installing firewalld?

The problem is that I want to put fail2ban on the machine, but I removed firewalld from it a long time ago, I use manual settings in iptables. Now it was required to put fail2ban in order to protect the local service from enumeration, and the package drags in firewalld dependencies. I don't want to reinstall it. How to install only the fail2ban package, satisfying the rest of its dependencies (he still wants python, judging by the yum logs), but not install firewalld?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Grishin, 2018-04-09
@vesper-bot

It turned out that it was enough to install not fail2ban itself, but the fail2ban-server package, which contains the fail2ban core and does not require firewalld dependencies.

C
CityCat4, 2018-04-06
@CityCat4

Download the package manually and install via rpm, which, unlike yum, allows you to install it, ignoring dependencies. True, in this case, the dependency check falls on you. Well, there is another option - download srpm and build it manually, correcting the spec :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question