API to detect firewall status in Linux
I need an API (using C) such that it gives the current status of the firewall installed in linux box.The API should be generic such that it can detect any type of firewall.
Returrns 1 - For Enabled
0 - Disabled
You really ought to do your own homework if you expect to learn anything.
|All times are GMT -5. The time now is 10:09 PM.|