I don’t know about an “easy way” I just do this

# grep sshd_log `find /etc/fail2ban -type f`
/etc/fail2ban/paths-common.conf:sshd_log = %(syslog_authpriv)s
/etc/fail2ban/jail.conf:logpath = %(sshd_log)s
/etc/fail2ban/jail.conf:logpath = %(sshd_log)s

and follow the path until I find the answer

> On 11 Aug 2018, at 20:00, Wayne Sallee <wa...@waynesallee.com> wrote:
> 
> No. Like this:
> [sshd]
> 
> port    = ssh
> logpath = %(sshd_log)s
> backend = %(sshd_backend)s
> 
> 
> 
> Wayne Sallee
> wa...@waynesallee.com
> http://www.WayneSallee.com
> 
> On 08/11/2018 02:53 PM, Philip James Clarke via Fail2ban-users wrote:
>> do you mean this?
>> 
>> # "filter" defines the filter to use by the jail.
>> #  By default jails have names matching their filter name
>> #
>> filter = %(__name__)s
>> 
>> or the big action section or log paths?
>> 
>> 
>> 
>>> On 11 Aug 2018, at 19:33, Wayne Sallee <wa...@waynesallee.com> wrote:
>>> 
>>> The "%(jail_something)s" I'm referring to is in the settings found in 
>>> /etc/fail2ban/jail.conf
>>> 
>>> Wayne Sallee
>>> wa...@waynesallee.com
>>> http://www.WayneSallee.com
>>> 
>>> 
>>> On 08/11/2018 12:55 PM, Philip James Clarke via Fail2ban-users wrote:
>>>> I’m a little confused about your later comment (below)
>>>> 
>>>> 
>>>>> And is there an easy way to know what the "%(jail_something)s" points to?
>>>>> 
>>>> where are you looking?
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! 
>>> http://sdm.link/slashdot_______________________________________________
>>> Fail2ban-users mailing list
>>> Fail2ban-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Fail2ban-users mailing list
>> Fail2ban-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Fail2ban-users mailing list
> Fail2ban-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to