Fail2ban: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Wulf (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Wulf (Diskussion | Beiträge) |
||
| Zeile 1: | Zeile 1: | ||
__FORCETOC__ | __FORCETOC__ | ||
==Fail2Ban Installation from GitHub (EN)== | ==Fail2Ban Installation from GitHub (EN)== | ||
In case an existing Fail2Ban server is running: | |||
<source>sudo service fail2ban stop</source> | |||
Download version 0.10 from GitHub: | |||
<source>wget https://github.com/fail2ban/fail2ban/archive/0.10.0.tar.gz -O fail2ban-0.10.0.tar.gz | |||
Unpack and install: | |||
<source>sudo tar -zxpvf fail2ban-0.10.0.tar.gz</source> | |||
<source>cd fail2ban-0.10.0</source> | |||
<source>sudo python setup.py install</source> | |||
This will install Fail2Ban into the python library directory. The executable scripts are placed into /usr/local/bin and configuration under /etc/fail2ban. | |||
Enable fail2ban as an automatic service: | |||
<source>sudo cp files/debian-initd /etc/init.d/fail2ban</source> | |||
<source>sudo update-rc.d fail2ban defaults</source> | |||
<source>sudo service fail2ban start</source> | |||
==Using IP sets instead of Iptables chains == | ==Using IP sets instead of Iptables chains == | ||
Version vom 2. Oktober 2017, 17:47 Uhr
Fail2Ban Installation from GitHub (EN)
In case an existing Fail2Ban server is running:
sudo service fail2ban stopDownload version 0.10 from GitHub:
wget https://github.com/fail2ban/fail2ban/archive/0.10.0.tar.gz -O fail2ban-0.10.0.tar.gz
Unpack and install:
<source>sudo tar -zxpvf fail2ban-0.10.0.tar.gzcd fail2ban-0.10.0sudo python setup.py installThis will install Fail2Ban into the python library directory. The executable scripts are placed into /usr/local/bin and configuration under /etc/fail2ban.
Enable fail2ban as an automatic service:
sudo cp files/debian-initd /etc/init.d/fail2bansudo update-rc.d fail2ban defaultssudo service fail2ban start