X-Original-To: pgsql-hackers@postgreSQL.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 06083475C15; Thu, 10 Apr 2003 23:22:57 -0400 (EDT) Received: from perrin.int.nxad.com (internal.ext.nxad.com [69.1.70.251]) by postgresql.org (Postfix) with ESMTP id 6AC70474E42; Thu, 10 Apr 2003 23:22:56 -0400 (EDT) Received: by perrin.int.nxad.com (Postfix, from userid 1001) id DF9782106B; Thu, 10 Apr 2003 20:22:42 -0700 (PDT) Date: Thu, 10 Apr 2003 20:22:42 -0700 From: Sean Chittenden To: Tom Lane Cc: pgsql-hackers@postgreSQL.org, pgsql-interfaces@postgreSQL.org Subject: Re: Speed of SSL connections; cost of renegotiation Message-ID: <20030411032242.GL79923@perrin.int.nxad.com> References: <7334.1050015002@sss.pgh.pa.us> <20030411011557.GJ79923@perrin.int.nxad.com> <8486.1050028983@sss.pgh.pa.us> <20030411025825.GK79923@perrin.int.nxad.com> <8640.1050030353@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8640.1050030353@sss.pgh.pa.us> User-Agent: Mutt/1.4i X-PGP-Key: finger seanc@FreeBSD.org X-PGP-Fingerprint: 3849 3760 1AFE 7B17 11A0 83A6 DD99 E31F BC84 B341 X-Web-Homepage: http://sean.chittenden.org/ X-Spam-Status: No, hits=-31.5 required=5.0 tests=BAYES_10,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/349 X-Sequence-Number: 37839 > >> From sshd(8): > > > -k key_gen_time > > Specifies how often the ephemeral protocol version 1 server key > > is regenerated (default 3600 seconds, or one hour). > > Hmmm. But a server key isn't the same as a session key, is it? Is this > an argument for renegotiating session keys at all? The server and client can kick off a key renegotiation. Generally it's left up to the client from what I can tell. The key specified above is the public key used before the session is encrypted so that makes sense to rekey... once encrypted though, I don't think it's necessary to rekey that often. 10MB would likely be a nice and conservative level that should be outside of the scope of most PostgreSQL transactions. -sc -- Sean Chittenden