From eea374f72768ee3592d218659a63a1a139abe817 Mon Sep 17 00:00:00 2001 From: Deltik Date: Mon, 12 Aug 2019 06:22:04 -0500 Subject: [PATCH] Release v0.7.0 --- CHANGELOG.md | 21 +++++++++++++++++++++ README.md | 8 ++++---- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf91697..5b101c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,27 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## v0.7.0 (2019-08-12) + +### Added + +- `IPTotalLimit` directive: Maximum simultaneous connections in any state per IP address +- `WhitelistIPs` directive: Space-delimited list of IPv4 and IPv6 addresses, ranges, or CIDRs which should not be subjected to any limits by mod_antiloris + +### Changed + +- `LocalIPs` is now an alias of `WhitelistIPs`, but `WhitelistIPs` overrides `LocalIPs`. The implementations of both directives are now the same. + +### Fixed + +- Various connections slot states considered "other" were not being counted. They were: + - `SERVER_BUSY_LOG` + - `SERVER_BUSY_DNS` + - `SERVER_CLOSING` + - `SERVER_GRACEFUL` +- Off-by-one bug allowed one more connection than defined in the limits directives +- Invalid return code could be returned by the `ap_hook_process_connection` hook + ## v0.6.0 (2014-09-09) ### Added diff --git a/README.md b/README.md index 139d0aa..60b73d7 100644 --- a/README.md +++ b/README.md @@ -180,9 +180,9 @@ LoadModule antiloris_module modules/mod_antiloris.so ### IP Addresses For directives that accept IP addresses, this module matches IPv4 and IPv6 addresses in the form of: -* Individual addresses (e.g. `127.0.0.1` matches only `127.0.0.1`), -* Hyphenated ranges (e.g. `127.0.1.1-127.0.1.3` matches `127.0.1.1`, `127.0.1.2`, and `127.0.1.3`), or -* CIDR notation (e.g. `127.0.2.0/30` matches `127.0.2.0`, `127.0.2.1`, `127.0.2.2`, and `127.0.2.3`). +* (`>= 0.6`) Individual addresses (e.g. `127.0.0.1` matches only `127.0.0.1`), +* (`>= 0.7`) Hyphenated ranges (e.g. `127.0.1.1-127.0.1.3` matches `127.0.1.1`, `127.0.1.2`, and `127.0.1.3`), or +* (`>= 0.7`) CIDR notation (e.g. `127.0.2.0/30` matches `127.0.2.0`, `127.0.2.1`, `127.0.2.2`, and `127.0.2.3`). #### Examples @@ -228,7 +228,7 @@ In the documentation, version constraints are used to indicate to which versions This module is a fork of [NewEraCracker's mod_antiloris](https://gist.github.com/NewEraCracker/e545f0dcf64ba816d49b), which itself is a fork of [mind04's mod_antiloris](https://mod-antiloris.sourceforge.io/). -mod_antiloris versions `< 1` are intended to be fully backwards-compatible with both upstream projects. +mod_antiloris versions `< 1` are intended to be backwards-compatible with both upstream projects, but the default directive values may have changed. ## Testing