Difference between revisions of "Configuration logrotate for fail2ban"
(Created page with "<br /> This article has been created by an automatic translation software. You can view the article source here.<br /><span data...") |
|||
(14 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | <span data-link_translate_en_title="Configuration logrotate for fail2ban" data-link_translate_en_url="Configuration logrotate for fail2ban"></span>[[:en:Configuration logrotate for fail2ban]][[en:Configuration logrotate for fail2ban]] | ||
+ | <span data-link_translate_es_title=""Logrotate" en la configuración de fail2ban" data-link_translate_es_url="%22Logrotate%22+en+la+configuraci%C3%B3n+de+fail2ban"></span>[[:es:"Logrotate" en la configuración de fail2ban]][[es:"Logrotate" en la configuración de fail2ban]] | ||
+ | <span data-link_translate_he_title="Logrotate תצורה עבור fail2ban" data-link_translate_he_url="Logrotate+%D7%AA%D7%A6%D7%95%D7%A8%D7%94+%D7%A2%D7%91%D7%95%D7%A8+fail2ban"></span>[[:he:Logrotate תצורה עבור fail2ban]][[he:Logrotate תצורה עבור fail2ban]] | ||
+ | <span data-link_translate_ro_title="Configurare logrotate pentru fail2ban" data-link_translate_ro_url="Configurare+logrotate+pentru+fail2ban"></span>[[:ro:Configurare logrotate pentru fail2ban]][[ro:Configurare logrotate pentru fail2ban]] | ||
+ | <span data-link_translate_ru_title="Конфигурация logrotate для fail2ban" data-link_translate_ru_url="%D0%9A%D0%BE%D0%BD%D1%84%D0%B8%D0%B3%D1%83%D1%80%D0%B0%D1%86%D0%B8%D1%8F+logrotate+%D0%B4%D0%BB%D1%8F+fail2ban"></span>[[:ru:Конфигурация logrotate для fail2ban]][[ru:Конфигурация logrotate для fail2ban]] | ||
+ | <span data-link_translate_pl_title="Logrotate konfiguracji dla fail2ban" data-link_translate_pl_url="Logrotate+konfiguracji+dla+fail2ban"></span>[[:pl:Logrotate konfiguracji dla fail2ban]][[pl:Logrotate konfiguracji dla fail2ban]] | ||
+ | <span data-link_translate_ja_title="Fail2ban の構成 logrotate" data-link_translate_ja_url="Fail2ban+%E3%81%AE%E6%A7%8B%E6%88%90+logrotate"></span>[[:ja:Fail2ban の構成 logrotate]][[ja:Fail2ban の構成 logrotate]] | ||
+ | <span data-link_translate_ar_title="لوجروتاتي التكوين ل fail2ban" data-link_translate_ar_url="%D9%84%D9%88%D8%AC%D8%B1%D9%88%D8%AA%D8%A7%D8%AA%D9%8A+%D8%A7%D9%84%D8%AA%D9%83%D9%88%D9%8A%D9%86+%D9%84+fail2ban"></span>[[:ar:لوجروتاتي التكوين ل fail2ban]][[ar:لوجروتاتي التكوين ل fail2ban]] | ||
+ | <span data-link_translate_zh_title="Fail2ban 的配置翻转" data-link_translate_zh_url="Fail2ban+%E7%9A%84%E9%85%8D%E7%BD%AE%E7%BF%BB%E8%BD%AC"></span>[[:zh:Fail2ban 的配置翻转]][[zh:Fail2ban 的配置翻转]] | ||
+ | <span data-link_translate_de_title="Konfiguration Logrotate für fail2ban" data-link_translate_de_url="Konfiguration+Logrotate+f%C3%BCr+fail2ban"></span>[[:de:Konfiguration Logrotate für fail2ban]][[de:Konfiguration Logrotate für fail2ban]] | ||
+ | <span data-link_translate_nl_title="Configuratie logrotate voor fail2ban" data-link_translate_nl_url="Configuratie+logrotate+voor+fail2ban"></span>[[:nl:Configuratie logrotate voor fail2ban]][[nl:Configuratie logrotate voor fail2ban]] | ||
+ | <span data-link_translate_it_title="Configurazione logrotate per fail2ban" data-link_translate_it_url="Configurazione+logrotate+per+fail2ban"></span>[[:it:Configurazione logrotate per fail2ban]][[it:Configurazione logrotate per fail2ban]] | ||
+ | <span data-link_translate_pt_title="Logrotate configuração para fail2ban" data-link_translate_pt_url="Logrotate+configura%C3%A7%C3%A3o+para+fail2ban"></span>[[:pt:Logrotate configuração para fail2ban]][[pt:Logrotate configuração para fail2ban]] | ||
+ | <span data-link_translate_fr_title="Configuration logrotate pour fail2ban" data-link_translate_fr_url="Configuration_logrotate_pour_fail2ban"></span>[[:fr:Configuration logrotate pour fail2ban]][[fr:Configuration logrotate pour fail2ban]] | ||
<br /> | <br /> | ||
This article has been created by an automatic translation software. You can view the article source [[:fr:Configuration logrotate pour fail2ban|here]].<br /><span data-translate="fr"></span> | This article has been created by an automatic translation software. You can view the article source [[:fr:Configuration logrotate pour fail2ban|here]].<br /><span data-translate="fr"></span> | ||
+ | |||
+ | {{#seo: | ||
+ | |title=Configuration logrotate for fail2ban | ||
+ | |title_mode=append | ||
+ | |keywords=these,are,your,keywords | ||
+ | |description=Configuration logrotate for fail2ban | ||
+ | |image=Uploaded_file.png | ||
+ | |image_alt=Wiki Logo | ||
+ | }} | ||
In order to limit the use of the file space | _. _. We will configure logrotate to limit this consumption. '''/var/log/fail1ban''' For that we will create the file | _. _. with the content below: _! _ | We can use the following command to force the rotation without waiting for the scheduled task execution | In order to limit the use of the file space | _. _. We will configure logrotate to limit this consumption. '''/var/log/fail1ban''' For that we will create the file | _. _. with the content below: _! _ | We can use the following command to force the rotation without waiting for the scheduled task execution |
Latest revision as of 15:29, 1 October 2021
en:Configuration logrotate for fail2ban
es:"Logrotate" en la configuración de fail2ban
he:Logrotate תצורה עבור fail2ban
ro:Configurare logrotate pentru fail2ban
ru:Конфигурация logrotate для fail2ban
pl:Logrotate konfiguracji dla fail2ban
ja:Fail2ban の構成 logrotate
ar:لوجروتاتي التكوين ل fail2ban
zh:Fail2ban 的配置翻转
de:Konfiguration Logrotate für fail2ban
nl:Configuratie logrotate voor fail2ban
it:Configurazione logrotate per fail2ban
pt:Logrotate configuração para fail2ban
fr:Configuration logrotate pour fail2ban
This article has been created by an automatic translation software. You can view the article source here.
In order to limit the use of the file space | _. _. We will configure logrotate to limit this consumption. /var/log/fail1ban For that we will create the file | _. _. with the content below: _! _ | We can use the following command to force the rotation without waiting for the scheduled task execution
/etc/logrotate.d/fail2ban :
/var/log/fail2ban.log { rotate 7 missingok compress postrotate /usr/bin/fail2ban-client flushlogs 1>/dev/null || true endscript }
:
logrotate -vf /etc/logrotate.conf
Enable comment auto-refresher