Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108729

Re: OT: limit number of connections from browser to my server?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From jmp <jeanmichel@sequans.com>
Newsgroups comp.lang.python
Subject Re: OT: limit number of connections from browser to my server?
Date Tue, 17 May 2016 10:58:36 +0200
Lines 28
Message-ID <mailman.48.1463475526.19823.python-list@python.org> (permalink)
References <nhcr5g$o1k$1@ger.gmane.org> <nhcvsc$agl$1@ger.gmane.org> <nhd75n$je7$3@ger.gmane.org> <nhemfs$foq$1@ger.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de XEzs0iZbqK80zGuWCe/fYgTBMeBCIHqK0QRejOO77s3w==
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:number': 0.07; 'https': 0.09; 'lead,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'thread': 0.10; 'python': 0.10; ':o)': 0.16; 'jmp': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'subject:limit': 0.16; 'subject:server': 0.16; 'wrote:': 0.16; 'load': 0.20; "aren't": 0.22; 'seems': 0.23; 'header:In-Reply- To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints- To:1': 0.26; 'figure': 0.27; 'said,': 0.27; 'idea': 0.28; 'device': 0.28; 'cpu': 0.29; 'wasting': 0.29; 'server.': 0.30; 'run': 0.33; 'http': 0.33; 'option.': 0.33; 'server': 0.34; 'newer': 0.35; 'asking': 0.35; 'but': 0.36; 'instead': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'received:org': 0.37; 'drop': 0.38; 'why': 0.39; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'your': 0.60; 'devices': 0.61; 'received:194': 0.61; 'charset:windows-1252': 0.62; 'more': 0.63; 'times': 0.63; 'accessed': 0.66; 'better.': 0.66; 'picture': 0.70; 'upgrading': 0.72; 'connection.': 0.76; 'obvious': 0.76; 'edwards': 0.91; 'refuse': 0.93
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host paris.sequans.com
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
In-Reply-To <nhd75n$je7$3@ger.gmane.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <nhemfs$foq$1@ger.gmane.org>
X-Mailman-Original-References <nhcr5g$o1k$1@ger.gmane.org> <nhcvsc$agl$1@ger.gmane.org> <nhd75n$je7$3@ger.gmane.org>
Xref csiph.com comp.lang.python:108729

Show key headers only | View raw


On 05/16/2016 09:31 PM, Grant Edwards wrote:
> On 2016-05-16, jmp <jeanmichel@sequans.com> wrote:
>
>> Have you considered upgrading the device with a recent CPU ? Or is it
>> completely out of the picture ?
>
> Not an option.  We have to continue to support devices that are in the
> field.  The newer models that are coming out now run at 133MHz instead
> of 44MHz, and page load times for https still aren't much better.
>
>> That being said, your first idea seems also a good lead, have your
>> server refuse more than one connection.
>
> Just got to figure out how to try it out without wasting a lot of time
> reverse-engineering the web server.  Hence a Python prototype. :)
>

I don't have time to read the whole thread but if I got it right, the 
main CPU consuming part is the crypto.
Why not drop the https part an support only http ?

Is is a device that needs to be accessed in untrusted networks ? Sorry 
for asking the obvious :o)

jm


Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: OT: limit number of connections from browser to my server? jmp <jeanmichel@sequans.com> - 2016-05-17 10:58 +0200

csiph-web