Executing iptables command from module

arosolino nginx-forum at nginx.us
Mon Jul 9 02:56:33 UTC 2012


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.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,228416,228416#msg-228416



More information about the nginx mailing list