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
556 stars 91 forks source link

strdup() mem leak fix #33

Closed Nasty07 closed 1 year ago

Nasty07 commented 1 year ago

After testing the code with this fix, it appears that the memory leak stops increasing with each update loop.

gamemann commented 1 year ago

Good catch! This looks good and thank you :smile: