mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Add configuration parameter ssl_renegotiation_limit to control
how often we do SSL session key renegotiation. Can be set to 0 to disable renegotiation completely, which is required if a broken SSL library is used (broken patches to CVE-2009-3555 a known cause) or when using a client library that can't do renegotiation.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.98.2.6 2007/05/15 15:35:58 neilc Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.98.2.7 2010/02/25 13:26:19 mha Exp $ -->
|
||||
|
||||
<chapter Id="runtime-config">
|
||||
<title>Server Configuration</title>
|
||||
@ -569,6 +569,32 @@ SET ENABLE_SEQSCAN TO OFF;
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="guc-ssl-renegotiation-limit" xreflabel="ssl_renegotiation_limit">
|
||||
<term><varname>ssl_renegotiation_limit</varname> (<type>int</type>)</term>
|
||||
<indexterm>
|
||||
<primary><varname>ssl_renegotiation_limit</> configuration parameter</primary>
|
||||
</indexterm>
|
||||
<listitem>
|
||||
<para>
|
||||
Specifies how much data can flow over an <acronym>SSL</> encrypted connection
|
||||
before renegotiation of the session will take place. Renegotiation of the
|
||||
session decreases the chance of doing cryptanalysis when large amounts of data
|
||||
are sent, but it also carries a large performance penalty. The sum of
|
||||
sent and received traffic is used to check the limit. If the parameter is
|
||||
set to 0, renegotiation is disabled. The default is <literal>512MB</>.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
SSL libraries from before November 2009 are insecure when using SSL
|
||||
renegotiation, due to a vulnerability in the SSL protocol. As a stop-gap fix
|
||||
for this vulnerability, some vendors also shipped SSL libraries incapable
|
||||
of doing renegotiation. If any of these libraries are in use on the client
|
||||
or server, SSL renegotiation should be disabled.
|
||||
</para>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="guc-password-encryption" xreflabel="password_encryption">
|
||||
<term><varname>password_encryption</varname> (<type>boolean</type>)</term>
|
||||
<indexterm>
|
||||
|
Reference in New Issue
Block a user