Re: contrib: auth_delay module
Fujii Masao <masao.fujii@gmail.com>
From: Fujii Masao <masao.fujii@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: KaiGai Kohei <kaigai@ak.jp.nec.com>, "Ross J. Reedstrom" <reedstrm@rice.edu>, Stephen Frost <sfrost@snowman.net>, Jan Urbański <wulczer@wulczer.org>, Itagaki Takahiro <itagaki.takahiro@gmail.com>, KaiGai Kohei <kaigai@kaigai.gr.jp>, PostgreSQL-Hackers <pgsql-hackers@postgresql.org>
Date: 2010-11-29T00:45:49Z
Lists: pgsql-hackers
On Sat, Nov 27, 2010 at 9:25 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Thu, Nov 25, 2010 at 1:18 AM, KaiGai Kohei <kaigai@ak.jp.nec.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@ak.jp.nec.com>
auto_explain -
-----------------------------
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center