On 05/07/2015 11:50 AM, Armin Tüting wrote:
> Hello,
>
> I've set dbpurgeage in fail2ban.local[1], but fail2ban-client[2] shows a
> different value.  Which value is the "right" one?
>
> Regards,
> Armin.
>
> [1]$sudo cat fail2ban.local
> # Fail2Ban main configuration file
> #
> # Comments: use '#' for comment lines and ';' (following a space) for inline 
> comments
> #
> # Changes:  in most of the cases you should not modify this
> #           file, but provide customizations in fail2ban.local file, e.g.:

It looks like you copied fail2ban.conf to fail2ban.local and then edited it?

I wouldn't suggest that, as any changes to fail2ban.conf will forever be 
overridden by your fail2ban.local.

> #
> # [Definition]
> # loglevel = DEBUG
> #
>
> [Definition]
>
> # Options: dbpurgeage
> # Notes.: Sets age at which bans should be purged from the database
> # Values: [ SECONDS ] Default: 86400 (24hours)
> # https://github.com/fail2ban/fail2ban/issues/964
> #dbpurgeage = 86400
> dbpurgeage = 691200
>
> [2]$sudo fail2ban-client get dbpurgeage
> Current database purge age is:
> `- 86400seconds

I just confirmed this behavior with the latest version - after both a reload 
and full restart.

>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Fail2ban-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to