Skip to content
X

XDP Firewall

A firewall that utilizes the Linux kernel's XDP hook

by gamemannFree

#2566in Developer Tools
0In stores

Description

xdp-firewall is a stateless firewall that attaches to the XDP hook in the Linux kernel and uses eBPF to process packets early and quickly. T…

Highlights

  • Stateless XDP and eBPF filtering early in the network stack
  • Source IP blocking and CIDR range dropping with BPF maps
  • Rule-based filters with temporary bans
  • Real-time packet counters and IPv6 support
  • Managed with the xdpfw-add and xdpfw-del CLI tools

Ratings & Reviews

No ratings yet

Be the first to rate XDP Firewall.

People also visit

A

Auto XDP

Lightweight eBPF/XDP stateful firewall

Social
Launch
N

NetDeflect

Open-source DDoS mitigation for Linux: nftables and XDP drops

Education
Launch
M

Minecraft-XDP-eBPF

The first and only publicly available Minecraft XDP Filter

Social
Launch
F

Firewalld

Stateful zone based firewall daemon with D-Bus interface

Utilities
Launch
D

dnxfirewall

DNXFIREWALL and DAD'S NEXT-GEN FIREWALL

Utilities
Launch
I

IPFire

IPFire is a server distribution with intended to use as a firewall

Developer Tools
Launch

XDP Firewall FAQ

What is xdp-firewall?

A stateless firewall for Linux that uses the kernel's XDP hook and eBPF to drop or allow packets quickly.

What is it useful for?

Dropping traffic from bad source IPs or ranges, such as during a DDoS attack, and filtering by protocol, port and address.

How do I manage blocked addresses?

With the xdpfw-add and xdpfw-del command line tools, which change the BPF map used for blocking.

Does it support IPv6?

Yes. The project says IPv6 is supported.

How do I reduce overhead?

Disable the features you do not use, either in config.h before compiling or in the runtime config file, because the README says this gives the best performance.

What are the best XDP Firewall alternatives?

Popular alternatives to XDP Firewall include IPFire, Whalewall and Oryx. See all XDP Firewall alternatives

Developer Stuff

Badges