0xzeruel
0xzeruel
AAdmincraft
Created by 0xzeruel on 6/26/2023 in #questions
setting up fail2ban to limit scan bots
I manage a minecraft server on my VPS which uses offline mode, and I'm struggling with the persistent scan bots. The log looks like this:
[13:39:35] [Server thread/INFO]: com.mojang.authlib.GameProfile@704891c0[id=<null>,name=cuute,properties={},legacy=false] (/162.33.178.237:56832) lost connection: Disconnected
[13:44:05] [Server thread/INFO]: com.mojang.authlib.GameProfile@1b40c3b8[id=<null>,name=cuute,properties={},legacy=false] (/162.33.178.237:51468) lost connection: Disconnected
[13:47:15] [Server thread/INFO]: com.mojang.authlib.GameProfile@1b5066ca[id=<null>,name=u_cuutemc,properties={},legacy=false] (/193.35.18.142:40100) lost connection: Disconnected
[13:39:35] [Server thread/INFO]: com.mojang.authlib.GameProfile@704891c0[id=<null>,name=cuute,properties={},legacy=false] (/162.33.178.237:56832) lost connection: Disconnected
[13:44:05] [Server thread/INFO]: com.mojang.authlib.GameProfile@1b40c3b8[id=<null>,name=cuute,properties={},legacy=false] (/162.33.178.237:51468) lost connection: Disconnected
[13:47:15] [Server thread/INFO]: com.mojang.authlib.GameProfile@1b5066ca[id=<null>,name=u_cuutemc,properties={},legacy=false] (/193.35.18.142:40100) lost connection: Disconnected
Do you have experience setting up fail2ban filters for these? I've never set up a custom filter myself.
24 replies