Re: BUG #15182: Canceling authentication due to timeout aka Denial of Service Attack

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Robert Haas <robertmhaas(at)gmail(dot)com>, Jeremy Schneider <schnjere(at)amazon(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, "Albin, Lloyd P" <lalbin(at)scharp(dot)org>
Subject: Re: BUG #15182: Canceling authentication due to timeout aka Denial of Service Attack
Date: 2018-07-24 05:25:40
Message-ID: 20180724052540.GC4736@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Tue, Jul 24, 2018 at 02:23:02PM +0900, Michael Paquier wrote:
> Well, letting any users take an exclusive lock on system catalogs at
> will is not acceptable either, so two possible answers would be to fail
> or skip such relations. The first concept applies if a relation list is
> given by the user, and the second if no list is given.

The first sentence is incorrect. That's actually "letting any users
attempt to take an exclusive lock which makes others to be stuck as
well".
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2018-07-24 05:34:13 Re: BUG #15182: Canceling authentication due to timeout aka Denial of Service Attack
Previous Message Michael Paquier 2018-07-24 05:23:02 Re: BUG #15182: Canceling authentication due to timeout aka Denial of Service Attack

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-07-24 05:34:13 Re: BUG #15182: Canceling authentication due to timeout aka Denial of Service Attack
Previous Message Thomas Munro 2018-07-24 05:24:32 Re: Usage of epoch in txid_current