Skip to content

Commit

Permalink
Release v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Deltik committed Aug 12, 2019
1 parent 180ef3c commit eea374f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit eea374f

Please sign in to comment.