Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Apache module to protect against DoS using the Range header
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css Added HTML style documentation for the module
images Added HTML style documentation for the module
Makefile Makefile: Added support for building the module with both Apache 1.3 …
README README: A basic documentation for the module
mod_rangelimit.c mod_rangelimit.c: ap_strch_c was used in apache 1.3 code - surrounded
mod_rangelimit.h mod_rangelimit.h: Fixed a premature testing for APACHE_RELEASE
mod_rangelimit.html mod_rangelimit.html: Updated image locations in the documentation


This module aims to provide protection from the DoS attacks using the Range header in Apache.

It does so by analyzing the ranges supplied in the Range header.

It is checking the headers before mod_setenvif and if there is even one invalid range in the request the whole request is declined.

The module also checks the number of supplied ranges and the number of overlapping ranges.

The module provides two options:

By default the module is configured with the following values:
  MaxRanges - 20
  MaxOverlappingRanges - 5

For more information and comments <>
Something went wrong with that request. Please try again.