MinePro120 2025-07-07 07:13:55 +02:00 committed by GitHub
commit 336015bbe9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# fail2ban filter for minecraft
# 1.16.3 vanilla server
# Author : MinePro120
[Definition]
failregex = \[\/<HOST>:
\(\/<HOST>:

View File

@ -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

View File

@ -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