mirror of https://github.com/fail2ban/fail2ban
Merge 778b09404f
into dc899e438f
commit
336015bbe9
|
@ -0,0 +1,8 @@
|
|||
# fail2ban filter for minecraft
|
||||
# 1.16.3 vanilla server
|
||||
# Author : MinePro120
|
||||
|
||||
[Definition]
|
||||
|
||||
failregex = \[\/<HOST>:
|
||||
\(\/<HOST>:
|
|
@ -922,6 +922,14 @@ bantime = 1h
|
|||
maxretry = 1
|
||||
findtime = 1
|
||||
|
||||
[minecraft]
|
||||
# Vanilla server, 1.16.3
|
||||
# Change port and logpath as needed
|
||||
# Consider using low findtime (20 recommended)
|
||||
# and high maxretry (10 recommended) to block
|
||||
# bots, not regular players
|
||||
port = 25565
|
||||
logpath = /home/user/ServerName/logs/latest.log
|
||||
|
||||
[murmur]
|
||||
# AKA mumble-server
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
# failJSON: { "time": "2005-08-13T21:30:40", "match": true, "host": "123.45.67.89" }
|
||||
[21:30:40] [Server thread/INFO]: Player[/123.45.67.89:12345] logged in with entity id 551 at (825.302579326729, 65.0, -886.9107800126116)
|
||||
# failJSON: { "time": "2005-08-13T21:30:40", "match": true, "host": "123.45.67.89" }
|
||||
[21:30:40] [Server thread/INFO]: Disconnecting com.mojang.authlib.GameProfile@12345678[id=7de34b7e-069d-48a5-92c5-f583ae7c7a8b,name=Player,properties={textures=[com.mojang.authlib.properties.Property@12345678]},legacy=false] (/123.45.67.89:12345): You are not white-listed on this server!
|
||||
# failJSON: { "time": "2005-08-13T21:30:40", "match": true, "host": "123.45.67.89" }
|
||||
[21:30:40] [Server thread/INFO]: com.mojang.authlib.GameProfile@12345678[id=<null>,name=Player,properties={},legacy=false] (/123.45.67.89:12345) lost connection: Disconnected
|
Loading…
Reference in New Issue