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
545 stars 92 forks source link

Update xdpfw.service #16

Closed omicronn88 closed 2 years ago

omicronn88 commented 2 years ago

Added ExecStopPost to unload xdp program from an interface after the service is stopped.

I tested it on Ubuntu 18.04 but I think it should work on other distrs too since those tools are common and I didn't use absolute paths (exept /bin/bash but it's should be present everywhere)

gamemann commented 2 years ago

Thank you!