I would like to implement iptables into my module, now I want to know if I should even try to do this. I know the worker processes don't run as root but the master does. So this most likely means I would need to utilize the system() command using the master process?
Is this the right way to go about this, or do I just need to stop pursuing this and let other stuff as fail2ban.
If it's possible to pursue I just need some quick guidance on how I could achieve this.