mirror of https://github.com/fail2ban/fail2ban
commit
1c740636e3
@ -0,0 +1,17 @@
|
|||||||
|
# Fail2Ban filter for Nagios Remote Plugin Executor (nrpe2)
|
||||||
|
# Detecting unauthorized access to the nrpe2 daemon
|
||||||
|
# typically logged in /var/log/messages syslog
|
||||||
|
#
|
||||||
|
|
||||||
|
[INCLUDES]
|
||||||
|
# Read syslog common prefixes
|
||||||
|
before = common.conf
|
||||||
|
|
||||||
|
[Definition]
|
||||||
|
_daemon = nrpe
|
||||||
|
failregex = ^%(__prefix_line)sHost <HOST> is not allowed to talk to us!\s*$
|
||||||
|
ignoreregex =
|
||||||
|
|
||||||
|
# DEV Notes:
|
||||||
|
#
|
||||||
|
# Author: Ivo Truxa - 2014/02/03
|
@ -0,0 +1,4 @@
|
|||||||
|
# Access of unauthorized host in /var/log/messages
|
||||||
|
# failJSON: { "time": "2005-02-03T11:22:44", "match": true , "host": "50.97.225.132" }
|
||||||
|
Feb 3 11:22:44 valhalla nrpe[63284]: Host 50.97.225.132 is not allowed to talk to us!
|
||||||
|
|
Loading…
Reference in new issue