Re: Recent vendor SSL renegotiation patches break PostgreSQL

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: "Tom Lane *EXTERN*" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, Chris Campbell <chris_campbell(at)mac(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Recent vendor SSL renegotiation patches break PostgreSQL
Date: 2010-02-23 11:04:41
Message-ID: 9837222c1002230304j2cc2a291oe2d97d956072249@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2010/2/23 Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>:
> Tom Lane wrote:
>>>>> One way to deal with it would be to expose the whole renegotiation
>>>>> setting as a user configuratble option. So they can set *when* we
>>>>> renegotiate, which would also let them turn it off completely.
>>>>
>>>> Well, that might be a reasonable thing to do, because it's not just a
>>>> temporary kluge (that we won't know when to remove) but is adding an
>>>> arguably-useful-in-other-ways knob.
>>
>>> You'd still have to turn it off on the server side if you have a
>>> *single* client that has the broken patch, but that's still a lot
>>> better than nothing.
>>
>> Well, if it's a GUC it can be set per-user or per-database, so there's
>> at least some hope of not having to turn it off for everyone.
>>
>> > Think it's worth taking a stab at?
>>
>> If you want to do it, I'd be fine with it.
>
> +1
>
> That would help me with a different problem:
> SSL renegotiation is broken with Npgsql, the cause is Bug 321325
> in the Mono security library
> https://bugzilla.novell.com/show_bug.cgi?id=321325
> which does not look like it is ever going to be fixed.

*ouch*

> Up to now I have crippled SSL renegotiation in our servers with a patch,
> because I figured that bad SSL is better than no SSL.

Given the major security hole in the whole project, SSL without
renegotiation was a *lot* more secure than SSL *with* renegotiation,
until very recently :-) But patching the server is always annoying...

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Csaba Nagy 2010-02-23 12:00:47 Re: A thought on Index Organized Tables
Previous Message Magnus Hagander 2010-02-23 11:03:43 Re: Recent vendor SSL renegotiation patches break PostgreSQL