Minecraft XDP BPF Filter icon

Minecraft XDP BPF Filter -----

A bpf program that filters layer 7 ddos attacks in the kernel



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>"
Resource Information
Author:
----------
Total Downloads: 12
First Release: May 16, 2025
Last Update: May 17, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings