Minecraft XDP Filter using eBPF – L7 DDoS Protection
This project offers a high-performance XDP-based firewall utilizing eBPF, specifically designed for Minecraft Java Edition servers.
It effectively mitigates L7 DDoS attacks by filtering malicious packets before they reach the server.
Currently the filter is only available for ipv4 and supports 1.8 - 1.21.5 and 1.7 motd.
The default port for filtering is 25565.
What does the filter do
The filter analyzes Minecraft handshakes, status, ping, and login requests, and drops invalid connections.
If a connection is dropped, the IP is blacklisted for 60 seconds — all new connections from that IP will be dropped.
The filter also has an integrated connection throttle: max 10 SYNs per 3 seconds.
Install
This Software is only useable on linux.
Just download the zip file and extract it.
You need to install libbpf-dev.
Just run "apt install libbpf-dev -y"
Then run the xdp_loader file with "./xdp_loader <network interface>"
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta