2013-10-30 13:02:59 +00:00
|
|
|
# Fail2Ban filter for xinetd failures
|
2008-03-05 22:35:09 +00:00
|
|
|
#
|
2013-10-30 13:02:59 +00:00
|
|
|
# Cfr.: /var/log/(daemon\.|sys)log
|
2008-03-05 22:35:09 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2013-07-21 14:44:09 +00:00
|
|
|
[INCLUDES]
|
|
|
|
|
|
|
|
# Read common prefixes. If any customizations available -- read them from
|
|
|
|
# common.local
|
|
|
|
before = common.conf
|
|
|
|
|
2008-03-05 22:35:09 +00:00
|
|
|
[Definition]
|
|
|
|
|
2013-07-21 14:44:09 +00:00
|
|
|
_daemon = xinetd
|
|
|
|
|
2017-02-21 14:54:59 +00:00
|
|
|
prefregex = ^%(__prefix_line)sFAIL: <F-CONTENT>.+</F-CONTENT>$
|
|
|
|
|
|
|
|
failregex = ^\S+ address from=<HOST>$
|
|
|
|
^\S+ libwrap from=<HOST>$
|
2008-03-05 22:35:09 +00:00
|
|
|
|
|
|
|
ignoreregex =
|
2013-10-30 13:02:59 +00:00
|
|
|
|
|
|
|
# DEV Notes:
|
|
|
|
#
|
|
|
|
# libwrap => tcp wrappers: hosts.(allow|deny)
|
|
|
|
# address => xinetd: deny_from|only_from
|
|
|
|
#
|
|
|
|
# Author: Guido Bozzetto
|