Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.052 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'wed,': 0.03; 'nasty': 0.07; 'python': 0.08; 'linux': 0.11; 'wrote:': 0.14; 'subject:python': 0.14; 'angelico': 0.16; 'hardest': 0.16; 'subject:distribution': 0.16; 'cc:addr:python-list': 0.17; 'received:74.125.82.44': 0.19; 'received:mail-ww0-f44.google.com': 0.19; 'header:In-Reply-To:1': 0.21; 'ignore': 0.21; 'cc:2**0': 0.22; 'cc:no real name:2**0': 0.23; 'subject:code': 0.23; 'code': 0.24; 'message-id:@mail.gmail.com': 0.28; 'temporary': 0.29; 'code,': 0.29; 'cc:addr:python.org': 0.30; 'fairly': 0.30; 'seem': 0.32; "i'll": 0.34; 'chris': 0.34; 'thinking': 0.34; 'probably': 0.36; 'received:google.com': 0.37; 'put': 0.37; 'think': 0.38; 'received:74.125.82': 0.38; 'received:74.125': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'should': 0.39; 'getting': 0.40; 'really': 0.40; 'worth': 0.60; 'your': 0.60; 'url:co': 0.62; 'you.': 0.62; 'human': 0.62; 'enough,': 0.65; 'business': 0.70; 'traffic': 0.70; 'easily,': 0.73; 'low': 0.73; 'against,': 0.84; 'defend': 0.91; 'attacks': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=P8IlY1UzqCTARtrWpH9tVwarqPsdszoYu+ULLZLS2U0=; b=LOMG/tt+EHSXN+fPdnGqNSUvol3b65Of7rdt+OAy9Rd0U6R5INEgAK2WLV5n+2/6pz gcwiAvU9+XD2vnVmezLvIrvi9JDUtkMdRkcfByN7kN2Mdv8t//3GhguKS5TDgf1wM4O5 CFWvNsLLOgWA4dLSs5ZAa02UyJpxJfkVCTTc4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mqAPFzw3+LwnZhlaCtZ5Msoea+K1p6dP3BfQZSGbKVy4dfkIgAHXEpA4A8oYrbGTAn VlEyc9yAEwVQR8ST/8cluGzMyZPBlsJe1Vwirn/oucFdCJuFKQM7QiI/mhrdZJrfry5F bXh815vUEbgz+mANn5kfJvAUfOSzB0Ianxjxo= MIME-Version: 1.0 In-Reply-To: References: <4DD08620.4030507@tysdomain.com> <5h9ca8-ekq.ln1@svn.schaathun.net> Date: Wed, 18 May 2011 21:31:48 +0300 Subject: Re: obviscating python code for distribution From: Dotan Cohen To: Chris Angelico Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305743510 news.xs4all.nl 49042 [::ffff:82.94.164.166]:58691 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5722 On Wed, May 18, 2011 at 20:24, Chris Angelico wrote: > Denial of service attacks are the hardest to truly defend against, and > if your level of business is low enough, you can probably ignore them > in your code, and deal with them by human ("Hmm, we seem to be getting > ridiculous amounts of traffic from XX.YY.ZZ.*, I think I'll put a > temporary ban on that /24"). Although some really nasty DOSes can be > blocked fairly easily, so it's worth thinking about them. > 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. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com