> 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 は自動化トラフィックを明確なカテゴリに分類しているため、何をブロック、許可、監視するかを判断できます。特定の user agent の完全な一覧は、 [専用ボット一覧ページ](/docs/docs-ja/zen-firewall/miscellaneous/bot-protection-details.md).

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

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

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

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

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

![デモアプリ向けに、攻撃、Tor トラフィック、ボットブロックのオプションを表示するファイアウォール設定画面。](/files/105851788fca1d111f684124487fa6e241171c26)

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

![特定のボットがアプリへのアクセスを行うのを選択・ブロックするためのインターフェース。](/files/26ff8aaae8144fef2303d8542570414de07d248d)

{% 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.
