On Thu, May 19, 2011 at 4:31 AM, Dotan Cohen <dotanco...@gmail.com> wrote: > The python code should not be concerned with DDoS, that is what > iptables is for. Remember, never do in code what Linux will do for > you.
In general, yes. Denial of service is a fairly broad term, though, and if there's a computationally-expensive request that a client can send, then it may be worth rate-limiting it. Or if there's a request that causes your server to send out inordinate amounts of data, and you're running it on a typical home internet connection, then that's a DOS vector too. So it's not only an iptables issue. But yes. The "system" is the entire system, not just the Python code you're writing. ChrisA -- http://mail.python.org/mailman/listinfo/python-list