mirror of https://github.com/fail2ban/fail2ban
Merge branch 'logrotate' of https://github.com/sbraz/fail2ban
* 'logrotate' of https://github.com/sbraz/fail2ban: Remove compression and count from logrotatepull/1321/head^2
commit
3dc57af19c
|
@ -31,6 +31,8 @@ ver. 0.9.4 (2015/XX/XXX) - wanna-be-released
|
||||||
* use `fail2ban_agent` as user-agent in actions badips, blocklist_de, etc (gh-1271)
|
* use `fail2ban_agent` as user-agent in actions badips, blocklist_de, etc (gh-1271)
|
||||||
* Fix ignoring the sender option by action_mw, action_mwl and action_c_mwl
|
* Fix ignoring the sender option by action_mw, action_mwl and action_c_mwl
|
||||||
* Changed filter.d/asterisk regex for "Call from ..." (few vulnerable now)
|
* Changed filter.d/asterisk regex for "Call from ..." (few vulnerable now)
|
||||||
|
* Removed compression and rotation count from logrotate (inherit them from
|
||||||
|
the global logrotate config)
|
||||||
|
|
||||||
- New Features:
|
- New Features:
|
||||||
* New interpolation feature for definition config readers - `<known/parameter>`
|
* New interpolation feature for definition config readers - `<known/parameter>`
|
||||||
|
|
|
@ -6,11 +6,9 @@
|
||||||
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
|
# https://github.com/fail2ban/fail2ban/blob/debian/debian/fail2ban.logrotate
|
||||||
|
|
||||||
/var/log/fail2ban.log {
|
/var/log/fail2ban.log {
|
||||||
rotate 7
|
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
compress
|
|
||||||
postrotate
|
postrotate
|
||||||
/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
|
/usr/bin/fail2ban-client flushlogs >/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue