バージョンごとのドキュメント一覧

F.3. auth_delay — 認証エラー時に一時停止 #

<title>auth_delay &mdash; pause on authentication failure</title>

<filename>auth_delay</filename> 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. auth_delayはパスワードの総当たり攻撃をより難しくするために認証エラーの報告を行う前にわずかにサーバを停止させます。 これはDoS攻撃を防ぐためのものでは無いことに注意してください。認証エラーを待たせ、コネクションスロットを消費させるため、DoS攻撃の影響を増長させるかもしれません。

In order to function, this module must be loaded via <xref linkend="guc-shared-preload-libraries"/> in <filename>postgresql.conf</filename>. この機能を有効にするためにはpostgresql.confshared_preload_librariesよりモジュールをロードする必要があります。

F.3.1. 設定パラメータ #

<title>Configuration Parameters</title>
auth_delay.milliseconds (integer)

The number of milliseconds to wait before reporting an authentication failure. The default is 0. 指定されたミリ秒数認証エラーを返す前に待機します。デフォルトは0です。

These parameters must be set in <filename>postgresql.conf</filename>. Typical usage might be: これらのパラメータをpostgresql.confファイルに設定する必要があります。典型的な使用方法は以下のようになります。

# postgresql.conf
shared_preload_libraries = 'auth_delay'

auth_delay.milliseconds = '500'

F.3.2. 作者 #

<title>Author</title>

KaiGai Kohei