> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/zen-firewall/zen-features/blocking-bot-traffic-with-zen-firewall.md).

# Zen Firewall でボットトラフィックをブロックする

Aikido の Zen Firewall は、アプリケーションにアクセスするさまざまな種類の自動化トラフィックを特定し、ブロックするのに役立ちます。この機能は、不要なボットの活動を制御できるようにして、セキュリティ対策を強化します。

> **重要**: ボットブロックは、グローバルな「[ブロッキング/検出モード](/docs/docs-ja/zen-firewall/zen-features/blocking-vs-detection-mode-in-zen-firewall.md)」設定とは独立して動作します。ボットブロックを有効にすると、Zen が検出モードであっても常に適用されます。

## ユースケース <a href="#use-cases" id="use-cases"></a>

* 🛡️ **サーバーリソースを保護**: 過剰なリクエストでボットがインフラを圧迫するのを防ぎます
* 💰 **コストを削減**: 不要なボットトラフィックをブロックして、帯域幅と計算コストを抑えます
* 🔒 **コンテンツを保護**: 自動スクレイピングやコピーから知的財産を守ります
* ⚡ **パフォーマンスを向上**: ボット関連のサーバー負荷を減らしてサイト速度を向上させます

## 検出するボットのカテゴリ <a href="#bot-categories-we-detect" id="bot-categories-we-detect"></a>

Aikido では、自動化トラフィックをわかりやすいカテゴリに分類しているため、ブロック、許可、監視する対象を判断できます。特定のユーザーエージェントの完全な一覧は、 [専用のボット一覧ページ](/docs/docs-ja/zen-firewall/miscellaneous/bot-protection-details.md).

利用可能なカテゴリの例:

* **検索・発見ボット**\
  従来の検索エンジン、広告クローラー、SEO ツール、ソーシャルメディアボット、メッセンジャーのプレビュークローラーが含まれます。これらのボットは、検索、広告、共有のためにコンテンツをインデックス化、分析、またはプレビューします。
* **AI クローラーとアシスタント**\
  生成 AI システムを支えたり、ユーザーの問い合わせに応答したりするために、コンテンツを閲覧・抽出する AI 検索クローラー、AI データスクレイパー、AI アシスタントを含みます。
* **アーカイブおよび監視サービス**\
  ウェブアーカイバーや、定期的にページへアクセスする稼働監視・パフォーマンス監視ツールが含まれます。
* **セキュリティおよび悪用ツール**\
  脆弱性スキャナー、データ収集ツール、ヘッドレスブラウザ、その他、調査・スクレイピング・悪用によく使われる自動化ツール。

{% hint style="info" %}
**ヒント**: ブロックするボットカテゴリは慎重に選んでください。Google の検索クローラーのような正当なサービスの中には、サイトの機能に必要なものもあります。
{% endhint %}

## ボットトラフィックをブロックする方法 <a href="#how-to-block-bot-traffic" id="how-to-block-bot-traffic"></a>

特定のアプリを選択し、 **ファイアウォール** タブをクリックし、「**ボットを管理**」の横の「**ボットを管理**」でボットブロックを設定します。

![デモアプリ向けに、攻撃、Tor トラフィック、ボットブロックのオプションを表示するファイアウォール設定インターフェース。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-e048244d8a777b2b34f07f1839760edf95889c3c%2FScreenshot%202025-08-13%20at%2017.20.40.png?alt=media)

次を使用してください **ボット** 表示から、無視、監視、またはブロックしたいボットの種類を選択し、「**ボットを更新**」をクリックして完了します。

![アプリへのアクセスを特定のボットから選択してブロックするためのインターフェース。](https://715870456-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyKbzcQGrx7UtrG0nPZZ7%2Fuploads%2Fgit-blob-5a15e5dd76775c819992cb03905a5fe893fce840%2FScreenshot%202025-08-13%20at%2017.21.22.png?alt=media)

{% hint style="info" %}
ボットブロックは即時ではない点に注意してください。ブロックが有効になるまで最大 1 分かかります。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/zen-firewall/zen-features/blocking-bot-traffic-with-zen-firewall.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
