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


Groups > comp.lang.python > #108700

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

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Grant Edwards <grant.b.edwards@gmail.com>
Newsgroups comp.lang.python
Subject Re: OT: limit number of connections from browser to my server?
Date Mon, 16 May 2016 21:32:40 +0000 (UTC)
Lines 47
Message-ID <mailman.35.1463434369.19823.python-list@python.org> (permalink)
References <nhcr5g$o1k$1@ger.gmane.org> <CAPTjJmrTf5iCe8sN8WrouhBV867UZF4DgFOC9OFkhHSxZoajNw@mail.gmail.com> <mailman.18.1463415352.19823.python-list@python.org> <nhcsps$94g$1@dont-email.me> <nhd6g5$je7$1@ger.gmane.org> <mailman.29.1463426391.19823.python-list@python.org> <87a8jpohvh.fsf@jester.gateway.pace.com> <nhde9o$l3k$1@ger.gmane.org>
X-Trace news.uni-berlin.de XWqyPRWy95V13TW0CRIA7wTKU1hdRv2Gs4HQJBiEo1gg==
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.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'configure': 0.04; 'heavily': 0.04; 'open-source': 0.04; 'modified': 0.05; 'plenty': 0.07; 'subject:number': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:qwest.net': 0.09; 'stack': 0.13; '1.3.': 0.16; 'chrome,': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'say.': 0.16; 'subject:limit': 0.16; 'subject:server': 0.16; 'tls': 0.16; 'wrote:': 0.16; 'processor': 0.18; 'settings.': 0.18; 'ssl': 0.18; 'tells': 0.18; 'typical': 0.18; 'saying': 0.22; 'arm': 0.22; 'browsers': 0.22; 'proprietary': 0.23; 'thanks,': 0.24; 'paul': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'cpu': 0.29; 'once,': 0.29; 'starts': 0.29; 'connection': 0.30; 'meeting': 0.30; 'probably': 0.31; "can't": 0.32; 'up.': 0.32; 'generally': 0.32; 'point,': 0.33; "i'll": 0.33; 'running': 0.34; 'server': 0.34; 'that,': 0.34; 'list': 0.34; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'client': 0.37; 'received:org': 0.37; 'beyond': 0.37; 'version': 0.38; 'stuff': 0.38; 'application': 0.39; 'subject:from': 0.39; 'takes': 0.39; 'to:addr:python.org': 0.40; 'called': 0.40; 'some': 0.40; 'term': 0.60; 'clients': 0.61; 'more': 0.63; 'limit': 0.65; 'night': 0.67; 'experts': 0.70; 'afford': 0.91; 'edwards': 0.91; 'outgoing': 0.91
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host 67-130-15-94.dia.static.qwest.net
User-Agent slrn/1.0.2 (Linux)
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 <nhde9o$l3k$1@ger.gmane.org>
X-Mailman-Original-References <nhcr5g$o1k$1@ger.gmane.org> <CAPTjJmrTf5iCe8sN8WrouhBV867UZF4DgFOC9OFkhHSxZoajNw@mail.gmail.com> <mailman.18.1463415352.19823.python-list@python.org> <nhcsps$94g$1@dont-email.me> <nhd6g5$je7$1@ger.gmane.org> <mailman.29.1463426391.19823.python-list@python.org> <87a8jpohvh.fsf@jester.gateway.pace.com>
Xref csiph.com comp.lang.python:108700

Show key headers only | View raw


On 2016-05-16, Paul Rubin <no.email@nospam.invalid> wrote:

> Grant Edwards <grant.b.edwards@gmail.com> writes:

>> I've actually got plenty of RAM.  I just can't afford the CPU time
>> it takes to do the public-key crypto stuff that happens each time
>> an SSL connection starts up.
>
> I think you should only have to do that once, then use TLS session
> resumption for additional connections.

Thanks, I'll look into that -- I've seen the term before, but that's
about it.

Is it something the server tells the client to do?

And more to the point, will all popular browsers do it?

> There is also something called TLS-PSK in TLS 1.3.  Do you mind
> saying the application, and what clients you have to support?

The application is something proprietary running on proprietary
hardware (32-bit ARM processor running a typical RTOS and a
BSD-derived network stack).  The web server is a heavily modified
version of GoAhead 2.something.

I have to support the usual suspect list of browsers: IE, Firefox,
Chrome, Safari.

> What TLS stack are you using?

It's not an open-source one.  Beyond that, I can't really say.

> There is generally also a way to configure browsers to limit the
> number of outgoing connections.

I can't ask the browser user to change settings.

> I'll probably be meeting with some TLS experts tomorrow night for
> unrelated reasons, so I can ask them about this if you want.

-- 
Grant Edwards               grant.b.edwards        Yow! I want you to MEMORIZE
                                  at               the collected poems of
                              gmail.com            EDNA ST VINCENT MILLAY
                                                   ... BACKWARDS!!

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


Thread

Re: OT: limit number of connections from browser to my server? Chris Angelico <rosuav@gmail.com> - 2016-05-17 02:15 +1000
  Re: OT: limit number of connections from browser to my server? Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-05-16 16:34 +0000
    Re: OT: limit number of connections from browser to my server? Chris Angelico <rosuav@gmail.com> - 2016-05-17 02:52 +1000
      Re: OT: limit number of connections from browser to my server? Steven D'Aprano <steve@pearwood.info> - 2016-05-17 12:50 +1000
        Re: OT: limit number of connections from browser to my server? Chris Angelico <rosuav@gmail.com> - 2016-05-17 13:02 +1000
          Re: OT: limit number of connections from browser to my server? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-05-17 15:22 +1000
        Re: OT: limit number of connections from browser to my server? Gene Heskett <gheskett@wdtv.com> - 2016-05-17 01:26 -0400
        Re: OT: limit number of connections from browser to my server? Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-05-17 16:59 +0000
          Re: OT: limit number of connections from browser to my server? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-17 18:42 +0000
            Re: OT: limit number of connections from browser to my server? Paul Rubin <no.email@nospam.invalid> - 2016-05-29 22:03 -0700
              Re: OT: limit number of connections from browser to my server? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-31 15:31 +0000
          Re: OT: limit number of connections from browser to my server? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-17 18:28 -0400
          Re: OT: limit number of connections from browser to my server? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-18 13:58 +0000
    Re: OT: limit number of connections from browser to my server? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-16 19:19 +0000
      Re: OT: limit number of connections from browser to my server? Rob Gaddi <rgaddi@highlandtechnology.invalid> - 2016-05-16 20:09 +0000
      Re: OT: limit number of connections from browser to my server? Paul Rubin <no.email@nospam.invalid> - 2016-05-16 13:41 -0700
        Re: OT: limit number of connections from browser to my server? Grant Edwards <grant.b.edwards@gmail.com> - 2016-05-16 21:32 +0000
          Re: OT: limit number of connections from browser to my server? Paul Rubin <no.email@nospam.invalid> - 2016-05-29 22:00 -0700

csiph-web