On 28-11-16 23:40, Matthew Demaree wrote:
> It's great the log tells me what bans and what is unbanned or what
> IPs were found to violate a jail, but I am really interested in
> knowing which domain the offense was triggered against.
> 
> Example:
> 
> Currently 2016-11-28 16:52:44,838 filter   [jail-example] Found
> 123.45.67.89
> 
> What I want to see: 2016-11-28 16:54:52,886 filter   [jail-example]
> Found 123.45.67.89 - example.com <http://example.com>
> 

Hi Matthew,

I guess you mean 'domain' in the context of a webserver? Your webserver
should then generate separate log files per domain, and you should
create a jail for each logfile. The jailname can refer to the domain you
are monitoring.

Regards,
        Tom

------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to