contrib: auth_delay module - Mailing list pgsql-hackers

From KaiGai Kohei
Subject contrib: auth_delay module
Date
Msg-id 4CD2ABC3.4020103@kaigai.gr.jp
Whole thread Raw
Responses Re: contrib: auth_delay module
List pgsql-hackers
The attached patch is a contrib module to inject a few seconds
delay on authentication failed. It is also a proof of the concept
using the new ClientAuthentication_hook.

This module provides a similar feature to pam_faildelay on
operating systems. Injection of a few seconds delay on
authentication fails prevents (or makes hard at least) brute-force
attacks, because it limits number of candidates that attacker can
verify within a unit of time.

Thanks,
--
KaiGai Kohei <kaigai@kaigai.gr.jp>

Attachment

pgsql-hackers by date:

Previous
From: Kenneth Marshall
Date:
Subject: Re: Hash support for arrays
Next
From: Itagaki Takahiro
Date:
Subject: Re: contrib: auth_delay module