From 293913568e6a7a86fd1479e1cff8e2ecb58d6568 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 15:44:03 +0200 Subject: Adding upstream version 16.2. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/auth-delay.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/src/sgml/html/auth-delay.html (limited to 'doc/src/sgml/html/auth-delay.html') diff --git a/doc/src/sgml/html/auth-delay.html b/doc/src/sgml/html/auth-delay.html new file mode 100644 index 0000000..e0b8779 --- /dev/null +++ b/doc/src/sgml/html/auth-delay.html @@ -0,0 +1,28 @@ + +F.3. auth_delay — pause on authentication failure

F.3. auth_delay — pause on authentication failure #

+ auth_delay causes the server to pause briefly before + reporting authentication failure, to make brute-force attacks on database + passwords more difficult. Note that it does nothing to prevent + denial-of-service attacks, and may even exacerbate them, since processes + that are waiting before reporting authentication failure will still consume + connection slots. +

+ In order to function, this module must be loaded via + shared_preload_libraries in postgresql.conf. +

F.3.1. Configuration Parameters #

+ auth_delay.milliseconds (integer) + +

+ The number of milliseconds to wait before reporting an authentication + failure. The default is 0. +

+ These parameters must be set in postgresql.conf. + Typical usage might be: +

+# postgresql.conf
+shared_preload_libraries = 'auth_delay'
+
+auth_delay.milliseconds = '500'
+

F.3.2. Author #

+ KaiGai Kohei +

\ No newline at end of file -- cgit v1.2.3