-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauth-delay.html
More file actions
49 lines (48 loc) · 6.7 KB
/
auth-delay.html
File metadata and controls
49 lines (48 loc) · 6.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>F.2. auth_delay — 認証エラー時に一時停止</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="amcheck.html" title="F.1. amcheck — テーブルとインデックスの一貫性を検査するツール" /><link rel="next" href="auto-explain.html" title="F.3. auto_explain — 低速な問い合わせ実行計画のログ" /><meta name="viewport" content="width=device-width,initial-scale=1.0" /></head><body id="docContent" class="container-fluid col-10"><div class="other_version"><a href="https://www.postgresql.jp/document/">バージョンごとのドキュメント一覧</a></div><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="4" align="center"><a accesskey="h" href="index.html">PostgreSQL 18.3文書</a></th></tr><tr><td width="10%" align="left"></td><td width="10%" align="left"></td><td width="60%" align="center"><a href="contrib.html" title="付録F 追加で提供されるモジュールと拡張">付録F 追加で提供されるモジュールと拡張</a></td><td width="20%" align="right"><div class="actions"><a class="issue" title="github" href="https://github.com/pgsql-jp/jpug-doc/issues/new?template=bug_report.yml&what-happened=version 18.3 : auth-delay.html">誤訳等の報告
</a></div></td></tr><tr><td width="10%" align="left"><a accesskey="p" href="amcheck.html" title="F.1. amcheck — テーブルとインデックスの一貫性を検査するツール">前へ</a> </td><td width="10%" align="left"><a accesskey="u" href="contrib.html" title="付録F 追加で提供されるモジュールと拡張">上へ</a></td><td width="60%" align="center">F.2. auth_delay — 認証エラー時に一時停止</td><td width="20%" align="right"> <a accesskey="n" href="auto-explain.html" title="F.3. auto_explain — 低速な問い合わせ実行計画のログ">次へ</a></td></tr></table><hr /></div><div class="sect1" id="AUTH-DELAY"><div class="titlepage"><div><div><h2 class="title" style="clear: both">F.2. auth_delay — 認証エラー時に一時停止 <a href="#AUTH-DELAY" class="id_link">#</a></h2></div></div></div><span class="original">
<title>auth_delay &mdash; pause on authentication failure</title>
</span><a id="id-1.11.7.12.2" class="indexterm"></a><p>
<span class="original">
<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.
</span>
<code class="filename">auth_delay</code>はパスワードの総当たり攻撃をより難しくするために認証エラーの報告を行う前にわずかにサーバを停止させます。
これはDoS攻撃を防ぐためのものでは無いことに注意してください。認証エラーを待たせ、コネクションスロットを消費させるため、DoS攻撃の影響を増長させるかもしれません。
</p><p>
<span class="original">
In order to function, this module must be loaded via
<xref linkend="guc-shared-preload-libraries"/> in <filename>postgresql.conf</filename>.
</span>
この機能を有効にするためには<code class="filename">postgresql.conf</code>の <a class="xref" href="runtime-config-client.html#GUC-SHARED-PRELOAD-LIBRARIES">shared_preload_libraries</a>よりモジュールをロードする必要があります。
</p><div class="sect2" id="AUTH-DELAY-CONFIGURATION-PARAMETERS"><div class="titlepage"><div><div><h3 class="title">F.2.1. 設定パラメータ <a href="#AUTH-DELAY-CONFIGURATION-PARAMETERS" class="id_link">#</a></h3></div></div></div><span class="original">
<title>Configuration Parameters</title>
</span><div class="variablelist"><dl class="variablelist"><dt><span class="term">
<code class="varname">auth_delay.milliseconds</code> (<code class="type">integer</code>)
<a id="id-1.11.7.12.5.2.1.1.3" class="indexterm"></a>
<a id="id-1.11.7.12.5.2.1.1.4" class="indexterm"></a>
</span></dt><dd><p>
<span class="original">
The number of milliseconds to wait before reporting an authentication
failure. The default is 0.
</span>
指定されたミリ秒数認証エラーを返す前に待機します。デフォルトは0です。
</p></dd></dl></div><p>
<span class="original">
These parameters must be set in <filename>postgresql.conf</filename>.
Typical usage might be:
</span>
これらのパラメータを<code class="filename">postgresql.conf</code>ファイルに設定する必要があります。典型的な使用方法は以下のようになります。
</p><pre class="programlisting">
# postgresql.conf
shared_preload_libraries = 'auth_delay'
auth_delay.milliseconds = '500'
</pre></div><div class="sect2" id="AUTH-DELAY-AUTHOR"><div class="titlepage"><div><div><h3 class="title">F.2.2. 作者 <a href="#AUTH-DELAY-AUTHOR" class="id_link">#</a></h3></div></div></div><span class="original">
<title>Author</title>
</span><p>
KaiGai Kohei <code class="email"><<a class="email" href="mailto:kaigai@ak.jp.nec.com">kaigai@ak.jp.nec.com</a>></code>
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="amcheck.html" title="F.1. amcheck — テーブルとインデックスの一貫性を検査するツール">前へ</a> </td><td width="20%" align="center"><a accesskey="u" href="contrib.html" title="付録F 追加で提供されるモジュールと拡張">上へ</a></td><td width="40%" align="right"> <a accesskey="n" href="auto-explain.html" title="F.3. auto_explain — 低速な問い合わせ実行計画のログ">次へ</a></td></tr><tr><td width="40%" align="left" valign="top">F.1. amcheck — テーブルとインデックスの一貫性を検査するツール </td><td width="20%" align="center"><a accesskey="h" href="index.html" title="PostgreSQL 18.3文書">ホーム</a></td><td width="40%" align="right" valign="top"> F.3. auto_explain — 低速な問い合わせ実行計画のログ</td></tr></table></div></body></html>