contrib: auth_delay module - Mailing list pgsql-hackers

From 成之焕
Subject contrib: auth_delay module
Date
Msg-id AHwAxACqIwIVOEhs5YejpqoG.1.1668569845751.Hmail.zhcheng@ceresdata.com
Whole thread Raw
Responses Re: contrib: auth_delay module
List pgsql-hackers
font{ line-height: 1.6; } ul,ol{ padding-left: 20px; list-style-position: inside; }
The attached patch is a contrib module  to set login restrictions on users with 
too many authentication failure. The administrator could manage several GUC 
parameters to control the login restrictions which are listed below.
- set the wait time when password authentication fails.
- allow the wait time grows when users of the same IP consecutively logon failed.
- set the maximum authentication failure number from the same user. The system 
will prevent a user who gets too many authentication failures from entering the
database.

I hope this will be useful to future development.
Thanks.
-----

Attachment

pgsql-hackers by date:

Previous
From: Ted Yu
Date:
Subject: Re: closing file in adjust_data_dir
Next
From: Thomas Munro
Date:
Subject: Re: Suppressing useless wakeups in walreceiver