You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
521 B
30 lines
521 B
2 years ago
|
# Fail2Ban filter for xinetd failures
|
||
|
#
|
||
|
# Cfr.: /var/log/(daemon\.|sys)log
|
||
|
#
|
||
|
#
|
||
|
|
||
|
[INCLUDES]
|
||
|
|
||
|
# Read common prefixes. If any customizations available -- read them from
|
||
|
# common.local
|
||
|
before = common.conf
|
||
|
|
||
|
[Definition]
|
||
|
|
||
|
_daemon = xinetd
|
||
|
|
||
|
prefregex = ^%(__prefix_line)sFAIL: <F-CONTENT>.+</F-CONTENT>$
|
||
|
|
||
|
failregex = ^\S+ address from=<HOST>$
|
||
|
^\S+ libwrap from=<HOST>$
|
||
|
|
||
|
ignoreregex =
|
||
|
|
||
|
# DEV Notes:
|
||
|
#
|
||
|
# libwrap => tcp wrappers: hosts.(allow|deny)
|
||
|
# address => xinetd: deny_from|only_from
|
||
|
#
|
||
|
# Author: Guido Bozzetto
|