On Tue, 12 Aug 2014, luc wrote:

> Hi,

> Adding the journalmatch statement in an [Init] section indeed did work.
> Some hosts were properly banned during the night as per jail
> configuration.

> One remaining issue concerns the mail notyfying about the ban.
> My jail.d/jail.local is configured with:

>   action = %(action_mwl)s

> so I get a mail when some IP is banned.

> With the systemd configuration, the journal is properly used to detect
> the errors and trigger the ban, but the mail contains a final empty
> section
> with :

> Lines containing IP:130.0.174.58 in /var/log/mail.warn

yeah -- those mail actions have no clue about systemd -- we would need a
new/custom one for that purpose I guess... may be  we could just use
'<matches>' (e.g. as used in config/action.d/blocklist_de.conf)

Someone would need to look into this... please file a new issue on
fail2ban issues describing a situation, ok?

-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist,            Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to