mirror of https://github.com/fail2ban/fail2ban
added filter for PortSentry with jail and samples
parent
37acc6b832
commit
ce4f2d1c88
|
@ -0,0 +1,10 @@
|
|||
# Fail2Ban filter for failure attempts in Counter Strike-1.6
|
||||
#
|
||||
#
|
||||
|
||||
[Definition]
|
||||
|
||||
failregex = \/<HOST> Port\: [0-9]+ (TCP|UDP) Blocked$
|
||||
|
||||
# Author: Pacop <pacoparu@gmail.com>
|
||||
|
|
@ -709,3 +709,8 @@ enabled = false
|
|||
logpath = /opt/sun/comms/messaging64/log/mail.log_current
|
||||
maxretry = 6
|
||||
banaction = iptables-allports
|
||||
|
||||
[portsentry]
|
||||
enabled = false
|
||||
logpath = /var/lib/portsentry/portsentry.history
|
||||
maxretry = 1
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
# failJSON: { "time": "2014-06-27T17:51:19", "match": true , "host": "192.168.56.1" }
|
||||
1403884279 - 06/27/2014 17:51:19 Host: 192.168.56.1/192.168.56.1 Port: 1 TCP Blocked
|
||||
# failJSON: { "time": "2014-06-27T17:51:19", "match": true , "host": "192.168.56.1" }
|
||||
1403884279 - 06/27/2014 17:51:19 Host: 192.168.56.1/192.168.56.1 Port: 1 UDP Blocked
|
Loading…
Reference in New Issue