mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
91b46433a9
Limit the number of simultaneous connections from a single client IP address PR: 51095 Submitted by: Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
17 lines
814 B
Plaintext
17 lines
814 B
Plaintext
This is the distribution page for the Apache module mod_limitipconn.c, which
|
|
allows web server administrators to limit the number of simultaneous downloads
|
|
permitted from a single IP address.
|
|
|
|
Why did I write this module? Well, I run an mp3 server which since its
|
|
inception was being constantly hosed by people who were trying to download
|
|
dozens of files at once. For months I scoured the Internet looking for a code
|
|
snippet that would solve this problem. The closest thing I found was this patch
|
|
against an old version of Apache, and it didn't run properly on my Linux box
|
|
(that was back then; nowadays, the patch doesn't even apply cleanly to the
|
|
Apache source tree).
|
|
|
|
Finally I gave up and decided to write something to do the job myself, and
|
|
here's the result.
|
|
|
|
WWW: http://dominia.org/djao/limitipconn.html
|