Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Content Translation Redirect Module content_translation_redirect crossed 1,000 active installs.

Bot Blocker

154 sites Security covered
View on drupal.org

This module helps block unwanted automated traffic by identifying bots based on their user agent strings or by blocking requests from older browser versions. It acts as a last line of defense for websites experiencing excessive bot crawling.

This module will allow site admins to block requests based on:

  • Sub strings that occur in the user agent of the request.
  • Older browser versions.

If you have a site that is being excessively crawled on search pages that include facets, see the Facet Bot Blocker module.

Wondering what versions of browsers to block? There is no "one size fits all" answer to that, and should be decided as a matter of your organization's policy, and what your tolerance for false positives is, Vs. need to avoid increased hosting costs from bot traffic. The maintainer of this module has generated an analysis of historic traffic of browser versions. The general conclusion is more nuanced than you may realize. There are legitimate reasons why a request may have an older user agent (Safari versions pinned to OS, the last supported versions for Windows 7, which may still be in use, despite end of support.

As the disclaimer mentions in the Facet Bot Blocker module, this module should be considered a last line of defense, if no other options are available to you. It is generally better to implement bot mitigation tools in a CDN/WAF layer instead.

2.0.x version

There is now a 2.0.0-alpha1 release, which takes a new "threat detection" approach by looking at more data points to identify bots. Feedback is welcome on this branch, and the plan is to tag a release after the community has had to review it.

Activity

Total releases
3
First release
Jul 2025
Latest release
3 weeks ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.0.0-alpha1 Pre-release Jun 26, 2026
1.0.1 Stable Mar 6, 2026
1.0.0 Stable Jul 3, 2025