doc:appunti:linux:sa:fail2ban
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:fail2ban [2023/10/30 10:22] – [fail2ban] niccolo | doc:appunti:linux:sa:fail2ban [2023/10/30 10:32] (current) – [Integrazione con shorewall] niccolo | ||
---|---|---|---|
Line 9: | Line 9: | ||
< | < | ||
systemctl start fail2ban.service | systemctl start fail2ban.service | ||
- | < | + | </code> |
+ | |||
+ | ===== Integrazione con shorewall ===== | ||
+ | |||
+ | La configurazione predefinita del pacchetto Debian prevede che l' | ||
+ | |||
+ | Le impostazioni predefinite sono generalmente in ''/ | ||
+ | |||
+ | < | ||
+ | [DEFAULT] | ||
+ | ignoreip = 185.211.173.7 127.0.0.1/8 ::1 | ||
+ | bantime | ||
+ | findtime | ||
+ | maxretry = 10 | ||
+ | destemail = sysadmin@rigacci.org | ||
+ | sender = sysadmin@rigacci.org | ||
+ | banaction = shorewall | ||
+ | banaction_allports = shorewall | ||
+ | </file> | ||
====== fail2ban-client 0.11 ====== | ====== fail2ban-client 0.11 ====== | ||
Line 195: | Line 213: | ||
^ actionunban | ^ actionunban | ||
- | ===== Integrazione con Shorewall ===== | ||
- | |||
- | Per modificare la configurazione predefinita si può aggiungere un file nella directory **/ | ||
- | |||
- | < | ||
- | [DEFAULT] | ||
- | banaction = shorewall | ||
- | banaction_allports = shorewall | ||
- | </ | ||
===== Esempio per WordPress wp-login.php ===== | ===== Esempio per WordPress wp-login.php ===== |
doc/appunti/linux/sa/fail2ban.1698657756.txt.gz · Last modified: 2023/10/30 10:22 by niccolo