Reading/following

        "Handy time variable aliases"
        
http://www.fail2ban.org/wiki/index.php/Fail2ban:Community_Portal#Handy_time_variable_aliases

I created

        cat /etc/fail2ban/jail.d/aliases.conf 
                one_hour = 3600
                one_day = 86400
                one_hour = 3600
                six_hours = 21600
                one_day = 86400
                two_days = 172800
                one_week = 604800
                permanent = -1

But when I exec

        fail2ban-client -x start

I get an error

        ERROR  Failed during configuration: File contains no section headers.
        file: '/etc/fail2ban/jail.d/aliases.conf', line: 1
        'one_hour = 3600\n'

What 'section header' is needed here?

Jason

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to