Re: contrib: auth_delay module

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>, "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>, Stephen Frost <sfrost(at)snowman(dot)net>, Jan Urbański <wulczer(at)wulczer(dot)org>, Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>, KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>, PostgreSQL-Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: contrib: auth_delay module
Date: 2010-11-29 00:45:49
Message-ID: AANLkTinnRi-+taVfs0gG_DRxLPcsF8MtH2mx6aB-gU9b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Nov 27, 2010 at 9:25 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Thu, Nov 25, 2010 at 1:18 AM, KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com> wrote:
>> The attached patch is revised version.
>>
>> - Logging part within auth_delay was removed. This module now focuses on
>>  injection of a few seconds delay on authentication failed.
>> - Documentation parts were added like any other contrib modules.
>
> Committed, with a few adjustments.  Per Fujii Masao's suggestion, I
> changed sleep() to pg_usleep(); I also changed the GUC to be reckoned
> in milliseconds rather than seconds.

Thanks. I found the typo:

-----------------------------
diff --git a/contrib/README b/contrib/README
index 9e223ef..8a12cc1 100644
--- a/contrib/README
+++ b/contrib/README
@@ -30,7 +30,7 @@ adminpack -

auth_delay
Add a short delay after a failed authentication attempt, to make
- make brute-force attacks on database passwords a bit harder.
+ brute-force attacks on database passwords a bit harder.
by KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>

auto_explain -
-----------------------------

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-11-29 00:47:52 Re: Report: Linux huge pages with Postgres
Previous Message Yourfriend 2010-11-29 00:44:37 Feature request: INSERT .... ON DUPLICATE UPDATE ....