April 21st, 2013, 12:29 AM
Help needed: build web API using flask python
I have a task to be done. If you could guide me, it will be great as I need to complete this task to land on a job. Here is the task.
1. Read about iptables
2. Use django/flask application to create an API to accept POST requests and run it as a daemon.
3. This daemon must be able to modify the iptable rules based on the HTTP request parameters.
Note - The django/flask app runs on a separate server and the API must support basic auth. Also decide if you'll need more than 1 API depending on your understanding of iptables to modify/add rules.
arjun_e at rocketmail dot com