gamemann / XDP-Firewall

A firewall that utilizes the Linux kernel's XDP hook. The XDP hook allows for very fast network processing on Linux systems. This is great for dropping malicious traffic from a (D)DoS attack. IPv6 is supported with this firewall! I hope this helps network engineers/programmers interested in utilizing XDP!
https://deaconn.net/
MIT License
492 stars 87 forks source link

Cidr/Subnet support & Some small things #36

Closed Gawnz1 closed 1 year ago

Gawnz1 commented 1 year ago

Hello, is it possible to add a Cidr/subnet support? Like: 11.11.11.11/22 or ip/24 A whitelist for certain ips would be also good. Some statistics for dropped packets like a gui or dropped packets per sec while attack is going on would be also good. Awsome project. Keep it up :)

gamemann commented 1 year ago

Hey, I'm sorry for the very long delay! I may add CIDR support in the future, but I'm not sure on an ETA due to how busy my life has been recently.

I've implemented a lot of this functionality into software I made here, but I no longer work on that project. If you're interested in implementing this functionality, code in the repository I linked should definitely help, though.