How to use the Python UFW (Uncomplicated Firewall) API in Ubuntu? -
I use UFW on Ubuntu 12.04 to allow and reject IP addresses from the command line.
How do I use the API to do the following functions in Python?
$ sudo ufw status $ sudo ufw from 207.46.232.182 Allow
Currently I just make system calls from Python.
Is there a web page or blog that describes the use of APIs?
Comments
Post a Comment