Re: SSL renegotiation
От
Alvaro Herrera
Тема
Re: SSL renegotiation
Дата
Msg-id
20131114202733.GB7583@eldon.alvh.no-ip.org
Ответ на
Re: SSL renegotiation (Andres Freund)
Список
Дерево обсуждения
SSL renegotiation Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SSL renegotiation Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SSL renegotiation Troels Nielsen <bn.troels@gmail.com>
Re: SSL renegotiation Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SSL renegotiation Noah Misch <noah@leadboat.com>
Re: SSL renegotiation David Fetter <david@fetter.org>
Re: SSL renegotiation Noah Misch <noah@leadboat.com>
Re: SSL renegotiation Robert Haas <robertmhaas@gmail.com>
Re: SSL renegotiation Sean Chittenden <sean@chittenden.org>
Re: SSL renegotiation Claudio Freire <klaussfreire@gmail.com>
Re: SSL renegotiation Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SSL renegotiation Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SSL renegotiation Vik Fearing <vik.fearing@dalibo.com>
Re: [COMMITTERS] pgsql: Rework SSL renegotiation code Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SSL renegotiation Robert Haas <robertmhaas@gmail.com>
Re: SSL renegotiation Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SSL renegotiation Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SSL renegotiation Robert Haas <robertmhaas@gmail.com>
Re: SSL renegotiation Magnus Hagander <magnus@hagander.net>
Re: SSL renegotiation Robert Haas <robertmhaas@gmail.com>
Re: SSL renegotiation Andres Freund <andres@2ndquadrant.com>
Re: SSL renegotiation Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SSL renegotiation Stephen Frost <sfrost@snowman.net>
Re: SSL renegotiation Tom Lane <tgl@sss.pgh.pa.us>
Re: SSL renegotiation Andres Freund <andres@2ndquadrant.com>
Re: SSL renegotiation Tom Lane <tgl@sss.pgh.pa.us>
Re: SSL renegotiation Andres Freund <andres@2ndquadrant.com>
Re: SSL renegotiation Alvaro Herrera <alvherre@2ndquadrant.com>
Re: SSL renegotiation Noah Misch <noah@leadboat.com>
Re: SSL renegotiation Robert Haas <robertmhaas@gmail.com>
Re: SSL renegotiation Robert Haas <robertmhaas@gmail.com>
Re: [SPAM] SSL renegotiation Sean Chittenden <sean@chittenden.org>
Re: SSL renegotiation Stuart Bishop <stuart@stuartbishop.net>
So I committed this patch without backpatching anything. There was some discussion about the exact strategy for backpatching the behavior change, but no final agreement; the suggestions were 0. Backpatch as an ERROR. If it causes failures, people is supposed to change their apps or something. 1. Don't backpatch the ERROR bit at all, so that if the renegotiation fails we would silently continue just as currently 2. Do spit the message, but only as a WARNING. Thinks this may end up causing log disks to fill up. 3. Add it as an ERROR, but make it possible to disable it, presumably via a new GUC. So people can see their security problems and hopefuly fix them, but if they don't, then they can shut it up via server configuration. This would entail a GUC variable that exists in existing branches but not HEAD (we could avoid an upgradability problem of postgresql.conf files by having a no-op phantom GUC variable in HEAD). I was reminded of this once more because I just saw a spurious renegotiation failure in somebody's production setup. Kind of like a recurring nightmare which I thought I had already erradicated. Opinions? Also, should we wait longer for the new renegotiation code to be more battle-tested? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Alvaro Herrera
Дата: