summaryrefslogtreecommitdiffstats
path: root/network/mod_limitipconn/README
diff options
context:
space:
mode:
author Menno Duursma <druiloor@zonnet.nl>2010-05-12 17:43:50 +0200
committer David Somero <xgizzmo@slackbuilds.org>2010-05-12 17:43:50 +0200
commit540cf354091147f2ce34c5166b71b7568cf4de21 (patch)
tree870d424b8f9f2e4c80ffb3982ec6e44b2ea716df /network/mod_limitipconn/README
parent774db6ecd4c636cd2da4b8c1f92d5af3cb09364c (diff)
downloadslackbuilds-540cf354091147f2ce34c5166b71b7568cf4de21.tar.gz
slackbuilds-540cf354091147f2ce34c5166b71b7568cf4de21.tar.xz
network/mod_limitipconn: Updated for version 0.23
Diffstat (limited to 'network/mod_limitipconn/README')
-rw-r--r--network/mod_limitipconn/README66
1 files changed, 6 insertions, 60 deletions
diff --git a/network/mod_limitipconn/README b/network/mod_limitipconn/README
index 34bf2a7aab..572ce02f33 100644
--- a/network/mod_limitipconn/README
+++ b/network/mod_limitipconn/README
@@ -1,63 +1,6 @@
-From:
-http://www.mail-archive.com/dev@httpd.apache.org/msg37189.html
-
-Hi!
-
-
-Attached is a version of mod_limitipconn.c that works in conjunction with
-mod_cache and httpd-2.2. We've been using this on ftp.acc.umu.se for some
-time now without any unwanted issues.
-
-The main problem with mod_limitipconn-0.22 was that since mod_cache runs as
-a quick handler, mod_limitipconn also must run as a quick handler with all
-those benefits and drawbacks.
-
-Download the tarball from http://dominia.org/djao/limitipconn2.html , extract
-it, and replace mod_limitipconn.c with this version and follow the build
-instructions.
-
-I would really wish that this was made part of httpd, it's really needed when
-running a file-download site due to the scarily large amount of demented
-download manager clients out there.
-
-However, I have not received any response from the original author on the
-matter. From what I have understood of the license it should be OK to merge
-into httpd if you want though, but I think that you guys are way more clued
-in that matter than me.
-
-This is a summary of the changes made:
-* Rewritten to run as a Quick Handler, before mod_cache.
-* Configuration directives are now set per VHost (Directory/Location
- are available after the Quick Handler has been run). This means that
- any <Location> containers has to be deleted in existing configs.
-* Fixed configuration merging, so per-vhost settings use defaults set
- at the server level.
-* By running as a Quick Handler we don't go through the entire lookup
- phase (resolve path, stat file, etc) before we get the possibility
- to block a request. This gives a clear performance enhancement.
-* Made the handler exit as soon as possible, doing the "easy" checks
- first.
-* Don't do subrequest to lookup MIME type if we don't have mime-type
- specific config.
-* Count connections in closing and logging state too, we don't want to
- be DOS'd by clients behind buggy firewalls and so on.
-* Added debug messages for easy debugging.
-* Reduced loglevel from ERR to INFO for reject-logging.
-
-In any case, I hope that this can be of use for others than us.
-
-
-/Nikke
---
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se | [EMAIL PROTECTED]
----------------------------------------------------------------------------
- We are AT&T of Borg, MCI will be assimilated
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-(FWIW: copied without explicit permission)
-
---
+mod_limitipconn is an Apache which allows web server administrators
+to limit the number of simultaneous downloads permitted from a single
+IP address.
The module can be loaded with the following in /etc/httpd/httpd.conf
@@ -66,4 +9,7 @@ ExtendedStatus On
MaxConnPerIP 5
To test the 'test.pl' utility from mod_evasive is included in the doc dir.
+Which when run multiple simultainus sessions of should similate accessive
+connectivity; e.g. with MaxConnPerIP set to ``1''
+while true; do (perl ./test.pl &); perl ./test.pl; done